servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From foco...@apache.org
Subject svn commit: r366061 - in /incubator/servicemix/trunk/tooling/maven-jbi-archetype: ./ src/ src/main/ src/main/resources/ src/main/resources/META-INF/ src/main/resources/archetype-resources/ src/main/resources/archetype-resources/src/ src/main/resources/...
Date Thu, 05 Jan 2006 02:41:32 GMT
Author: foconer
Date: Wed Jan  4 18:40:54 2006
New Revision: 366061

URL: http://svn.apache.org/viewcvs?rev=366061&view=rev
Log:
Archetype support for jbi developed by Nap Ramirez.

Added:
    incubator/servicemix/trunk/tooling/maven-jbi-archetype/
    incubator/servicemix/trunk/tooling/maven-jbi-archetype/pom.xml
    incubator/servicemix/trunk/tooling/maven-jbi-archetype/src/
    incubator/servicemix/trunk/tooling/maven-jbi-archetype/src/main/
    incubator/servicemix/trunk/tooling/maven-jbi-archetype/src/main/resources/
    incubator/servicemix/trunk/tooling/maven-jbi-archetype/src/main/resources/META-INF/
    incubator/servicemix/trunk/tooling/maven-jbi-archetype/src/main/resources/META-INF/archetype.xml
    incubator/servicemix/trunk/tooling/maven-jbi-archetype/src/main/resources/archetype-resources/
    incubator/servicemix/trunk/tooling/maven-jbi-archetype/src/main/resources/archetype-resources/pom.xml
    incubator/servicemix/trunk/tooling/maven-jbi-archetype/src/main/resources/archetype-resources/src/
    incubator/servicemix/trunk/tooling/maven-jbi-archetype/src/main/resources/archetype-resources/src/main/
    incubator/servicemix/trunk/tooling/maven-jbi-archetype/src/main/resources/archetype-resources/src/main/java/
    incubator/servicemix/trunk/tooling/maven-jbi-archetype/src/main/resources/archetype-resources/src/main/java/App.java
    incubator/servicemix/trunk/tooling/maven-jbi-archetype/src/main/resources/archetype-resources/src/main/jbi/
    incubator/servicemix/trunk/tooling/maven-jbi-archetype/src/main/resources/archetype-resources/src/main/jbi/META-INF/
    incubator/servicemix/trunk/tooling/maven-jbi-archetype/src/main/resources/archetype-resources/src/main/jbi/META-INF/jbi-spring.xml
    incubator/servicemix/trunk/tooling/maven-jbi-archetype/src/main/resources/archetype-resources/src/main/merge/
    incubator/servicemix/trunk/tooling/maven-jbi-archetype/src/main/resources/archetype-resources/src/main/merge/services.xml
    incubator/servicemix/trunk/tooling/maven-jbi-archetype/src/main/resources/archetype-resources/src/test/
    incubator/servicemix/trunk/tooling/maven-jbi-archetype/src/main/resources/archetype-resources/src/test/java/
    incubator/servicemix/trunk/tooling/maven-jbi-archetype/src/main/resources/archetype-resources/src/test/java/AppTest.java

Added: incubator/servicemix/trunk/tooling/maven-jbi-archetype/pom.xml
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/tooling/maven-jbi-archetype/pom.xml?rev=366061&view=auto
==============================================================================
--- incubator/servicemix/trunk/tooling/maven-jbi-archetype/pom.xml (added)
+++ incubator/servicemix/trunk/tooling/maven-jbi-archetype/pom.xml Wed Jan  4 18:40:54 2006
@@ -0,0 +1,17 @@
+<project
+  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xmlns="http://maven.apache.org/POM/4.0.0">
+  
+  <parent>
+    <artifactId>maven-archetypes</artifactId>
+    <groupId>org.apache.maven.archetypes</groupId>
+    <version>1.0-alpha-3</version>
+  </parent>
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.apache.servicemix.archetypes</groupId>
+  <artifactId>maven-jbi-archetype</artifactId>
+  <version>1.0</version>
+  <name>Maven2 JBI Archetype</name>
+  <description>Servicemix JBI Archetype for Maven2</description>
+</project>
\ No newline at end of file

Added: incubator/servicemix/trunk/tooling/maven-jbi-archetype/src/main/resources/META-INF/archetype.xml
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/tooling/maven-jbi-archetype/src/main/resources/META-INF/archetype.xml?rev=366061&view=auto
==============================================================================
--- incubator/servicemix/trunk/tooling/maven-jbi-archetype/src/main/resources/META-INF/archetype.xml
(added)
+++ incubator/servicemix/trunk/tooling/maven-jbi-archetype/src/main/resources/META-INF/archetype.xml
Wed Jan  4 18:40:54 2006
@@ -0,0 +1,9 @@
+<archetype>
+  <id>maven-archetype-jbi</id>
+  <resources>
+    <resource>src/main/java/App.java</resource>
+    <resource>src/test/java/AppTest.java</resource>
+    <resource>src/main/merge/services.xml</resource>
+    <resource>src/main/jbi/META-INF/jbi-spring.xml</resource>
+  </resources>
+</archetype>

Added: incubator/servicemix/trunk/tooling/maven-jbi-archetype/src/main/resources/archetype-resources/pom.xml
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/tooling/maven-jbi-archetype/src/main/resources/archetype-resources/pom.xml?rev=366061&view=auto
==============================================================================
--- incubator/servicemix/trunk/tooling/maven-jbi-archetype/src/main/resources/archetype-resources/pom.xml
(added)
+++ incubator/servicemix/trunk/tooling/maven-jbi-archetype/src/main/resources/archetype-resources/pom.xml
Wed Jan  4 18:40:54 2006
@@ -0,0 +1,48 @@
+<project
+  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xmlns="http://maven.apache.org/POM/4.0.0">
+  
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>${groupId}</groupId>
+  <artifactId>${artifactId}</artifactId>
+  <version>${version}</version>
+  <name>Servicemix JBI Component</name>
+  <dependencies>
+    <dependency>
+      <groupId>servicemix</groupId>
+      <artifactId>servicemix</artifactId>
+      <version>1.0</version>
+    </dependency>
+    <dependency>
+      <groupId>servicemix</groupId>
+      <artifactId>jaxp</artifactId>
+      <version>1.3</version>
+    </dependency>
+    <dependency>
+      <groupId>mx4j</groupId>
+      <artifactId>mx4j-jmx</artifactId>
+      <version>2.1.1</version>
+    </dependency>
+    <dependency>
+      <groupId>commons-logging</groupId>
+      <artifactId>commons-logging</artifactId>
+      <version>1.0.3</version>
+    </dependency>
+    <dependency>
+      <groupId>servicemix</groupId>
+      <artifactId>servicemix-client</artifactId>
+      <version>1.0</version>
+      <!--properties>
+        <jbi.bundle>true</jbi.bundle>
+      </properties-->
+    </dependency>
+    
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <version>3.8.1</version>
+      <scope>test</scope>
+    </dependency>
+  </dependencies>
+</project>

Added: incubator/servicemix/trunk/tooling/maven-jbi-archetype/src/main/resources/archetype-resources/src/main/java/App.java
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/tooling/maven-jbi-archetype/src/main/resources/archetype-resources/src/main/java/App.java?rev=366061&view=auto
==============================================================================
--- incubator/servicemix/trunk/tooling/maven-jbi-archetype/src/main/resources/archetype-resources/src/main/java/App.java
(added)
+++ incubator/servicemix/trunk/tooling/maven-jbi-archetype/src/main/resources/archetype-resources/src/main/java/App.java
Wed Jan  4 18:40:54 2006
@@ -0,0 +1,13 @@
+package $package;
+
+/**
+ * Hello world!
+ *
+ */
+public class App 
+{
+    public static void main( String[] args )
+    {
+        System.out.println( "Hello World!" );
+    }
+}

Added: incubator/servicemix/trunk/tooling/maven-jbi-archetype/src/main/resources/archetype-resources/src/main/jbi/META-INF/jbi-spring.xml
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/tooling/maven-jbi-archetype/src/main/resources/archetype-resources/src/main/jbi/META-INF/jbi-spring.xml?rev=366061&view=auto
==============================================================================
--- incubator/servicemix/trunk/tooling/maven-jbi-archetype/src/main/resources/archetype-resources/src/main/jbi/META-INF/jbi-spring.xml
(added)
+++ incubator/servicemix/trunk/tooling/maven-jbi-archetype/src/main/resources/archetype-resources/src/main/jbi/META-INF/jbi-spring.xml
Wed Jan  4 18:40:54 2006
@@ -0,0 +1,8 @@
+<beans>
+	<!--  This is going to be where we declare the beans that we want the
+		   SpringComponent container to build -->
+
+	<!-- <bean id="myLoggerExample"
+		class="org.servicemix.demo.LoggerInterface">		
+	</bean> -->
+</beans>
\ No newline at end of file

Added: incubator/servicemix/trunk/tooling/maven-jbi-archetype/src/main/resources/archetype-resources/src/main/merge/services.xml
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/tooling/maven-jbi-archetype/src/main/resources/archetype-resources/src/main/merge/services.xml?rev=366061&view=auto
==============================================================================
--- incubator/servicemix/trunk/tooling/maven-jbi-archetype/src/main/resources/archetype-resources/src/main/merge/services.xml
(added)
+++ incubator/servicemix/trunk/tooling/maven-jbi-archetype/src/main/resources/archetype-resources/src/main/merge/services.xml
Wed Jan  4 18:40:54 2006
@@ -0,0 +1,12 @@
+<!-- This is where we are able to declare the ins and outs of the Service
+ 	  as consumes and provides elements,  the service-names and endpoints
+ 	  will be used to activate the JBI endpoints,  and we can use the 
+ 	  interface-name to determine which one we want to call and also which
+ 	  bean is going to receive the actual JBI exchange -->
+<!-- 
+<services binding-component="false"
+	xmlns:logger="http://tempuri.org/logger.wsdl">
+	<provides interface-name="logger:log"
+		service-name="logger:example"/>
+</services>
+->
\ No newline at end of file

Added: incubator/servicemix/trunk/tooling/maven-jbi-archetype/src/main/resources/archetype-resources/src/test/java/AppTest.java
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/tooling/maven-jbi-archetype/src/main/resources/archetype-resources/src/test/java/AppTest.java?rev=366061&view=auto
==============================================================================
--- incubator/servicemix/trunk/tooling/maven-jbi-archetype/src/main/resources/archetype-resources/src/test/java/AppTest.java
(added)
+++ incubator/servicemix/trunk/tooling/maven-jbi-archetype/src/main/resources/archetype-resources/src/test/java/AppTest.java
Wed Jan  4 18:40:54 2006
@@ -0,0 +1,38 @@
+package $package;
+
+import junit.framework.Test;
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
+
+/**
+ * Unit test for simple App.
+ */
+public class AppTest 
+    extends TestCase
+{
+    /**
+     * Create the test case
+     *
+     * @param testName name of the test case
+     */
+    public AppTest( String testName )
+    {
+        super( testName );
+    }
+
+    /**
+     * @return the suite of tests being tested
+     */
+    public static Test suite()
+    {
+        return new TestSuite( AppTest.class );
+    }
+
+    /**
+     * Rigourous Test :-)
+     */
+    public void testApp()
+    {
+        assertTrue( true );
+    }
+}



Mime
View raw message