servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject svn commit: r406743 - in /incubator/servicemix/trunk/tooling: ./ eclipse/ maven2-jbi-plugin/ maven2-plugins/ maven2/ maven2/archetypes/ maven2/archetypes/servicemix-binding-component/ maven2/archetypes/servicemix-binding-component/src/ maven2/archetype...
Date Mon, 15 May 2006 21:06:27 GMT
Author: gnodet
Date: Mon May 15 14:06:25 2006
New Revision: 406743

URL: http://svn.apache.org/viewcvs?rev=406743&view=rev
Log:
Reorg tooling, add a BC archetype

Added:
    incubator/servicemix/trunk/tooling/eclipse/
    incubator/servicemix/trunk/tooling/maven2/
      - copied from r406455, incubator/servicemix/trunk/tooling/maven2-plugins/
    incubator/servicemix/trunk/tooling/maven2/archetypes/pom.xml
    incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/
    incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/pom.xml
    incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/src/
    incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/src/main/
    incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/src/main/resources/
    incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/src/main/resources/META-INF/
    incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/src/main/resources/META-INF/maven/
    incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/src/main/resources/META-INF/maven/archetype.xml
    incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/
    incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/pom.xml
    incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/
    incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/
    incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/
    incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyBootstrap.java
    incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyComponent.java
    incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyConsumerProcessor.java
    incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyDeployer.java
    incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyEndpoint.java
    incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyExternalEndpoint.java
    incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyLifeCycle.java
    incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyProviderProcessor.java
    incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyResolvedEndpoint.java
    incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MySpringComponent.java
    incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/resources/
    incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/test/
    incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/test/java/
    incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/test/java/MySpringComponentTest.java
    incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/test/resources/
    incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/test/resources/spring.xml
    incubator/servicemix/trunk/tooling/maven2/plugins/
    incubator/servicemix/trunk/tooling/maven2/plugins/maven2-jbi-plugin/
      - copied from r406455, incubator/servicemix/trunk/tooling/maven2-jbi-plugin/
    incubator/servicemix/trunk/tooling/maven2/plugins/pom.xml
    incubator/servicemix/trunk/tooling/maven2/pom.xml
    incubator/servicemix/trunk/tooling/pom.xml
Removed:
    incubator/servicemix/trunk/tooling/maven2-jbi-plugin/
    incubator/servicemix/trunk/tooling/maven2-plugins/
Modified:
    incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-service-engine/pom.xml
    incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-service-engine/src/main/resources/archetype-resources/pom.xml
    incubator/servicemix/trunk/tooling/maven2/plugins/maven2-jbi-plugin/pom.xml
    incubator/servicemix/trunk/tooling/maven2/plugins/maven2-jbi-plugin/src/main/resources/META-INF/plexus/components.xml

Added: incubator/servicemix/trunk/tooling/maven2/archetypes/pom.xml
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/tooling/maven2/archetypes/pom.xml?rev=406743&view=auto
==============================================================================
--- incubator/servicemix/trunk/tooling/maven2/archetypes/pom.xml (added)
+++ incubator/servicemix/trunk/tooling/maven2/archetypes/pom.xml Mon May 15 14:06:25 2006
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Copyright 2005 The Apache Software Foundation
+
+    Licensed under the Apache License, Version 2.0 (the "License");
+    you may not use this file except in compliance with the License.
+    You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+-->
+<!-- $Rev: 356052 $ $Date: 2005-12-11 14:41:20 -0800 (dim., 11 déc. 2005) $ -->
+<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>
+
+  <parent>
+    <groupId>org.apache.servicemix.tooling</groupId>
+    <artifactId>maven2</artifactId>
+    <version>1.0-SNAPSHOT</version>
+  </parent>
+
+  <artifactId>maven2-archetypes</artifactId>
+  <name>ServiceMix :: Maven2 :: Archetypes</name>
+  <packaging>pom</packaging>
+  <modules>
+    <module>servicemix-service-engine</module>
+    <module>servicemix-binding-component</module>
+  </modules>
+</project>

Added: incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/pom.xml
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/pom.xml?rev=406743&view=auto
==============================================================================
--- incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/pom.xml (added)
+++ incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/pom.xml Mon May 15 14:06:25 2006
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Copyright 2005 The Apache Software Foundation
+
+    Licensed under the Apache License, Version 2.0 (the "License");
+    you may not use this file except in compliance with the License.
+    You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+-->
+<!-- $Rev: 365333 $ $Date: 2006-01-02 12:21:09 +0100 (lun., 02 janv. 2006) $ -->
+<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>
+
+  <parent>
+    <groupId>org.apache.servicemix.tooling</groupId>
+    <artifactId>maven2-archetypes</artifactId>
+    <version>1.0-SNAPSHOT</version>
+  </parent>
+
+  <artifactId>servicemix-binding-component</artifactId>
+  <name>ServiceMix :: Maven2 :: Archetypes :: BindingComponent</name>
+
+</project>

Added: incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/src/main/resources/META-INF/maven/archetype.xml
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/src/main/resources/META-INF/maven/archetype.xml?rev=406743&view=auto
==============================================================================
--- incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/src/main/resources/META-INF/maven/archetype.xml (added)
+++ incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/src/main/resources/META-INF/maven/archetype.xml Mon May 15 14:06:25 2006
@@ -0,0 +1,21 @@
+<archetype>
+  <id>servicemix-se</id>
+  <sources>
+    <source>src/main/java/MyBootstrap.java</source>
+    <source>src/main/java/MyComponent.java</source>
+    <source>src/main/java/MyConsumerProcessor.java</source>
+    <source>src/main/java/MyDeployer.java</source>
+    <source>src/main/java/MyEndpoint.java</source>
+    <source>src/main/java/MyExternalEndpoint.java</source>
+    <source>src/main/java/MyLifeCycle.java</source>
+    <source>src/main/java/MyProviderProcessor.java</source>
+    <source>src/main/java/MyResolvedEndpoint.java</source>
+    <source>src/main/java/MySpringComponent.java</source>
+  </sources>
+  <testSources>
+    <source>src/test/java/MySpringComponentTest.java</source>
+  </testSources>
+  <testResources>
+    <resource>src/test/resources/spring.xml</resource>
+  </testResources>
+</archetype>

Added: incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/pom.xml
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/pom.xml?rev=406743&view=auto
==============================================================================
--- incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/pom.xml (added)
+++ incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/pom.xml Mon May 15 14:06:25 2006
@@ -0,0 +1,106 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>${groupId}</groupId>
+  <artifactId>${artifactId}</artifactId>
+  <packaging>jbi-component</packaging>
+  <version>${version}</version>
+  <name>A custom project</name>
+  <url>http://www.myorganization.org</url>
+  <pluginRepositories>
+    <pluginRepository>
+      <id>apache.snapshots</id>
+      <name>Maven Central Plugins Development Repository</name>
+      <url>http://cvs.apache.org/maven-snapshot-repository</url>
+      <snapshots>
+        <enabled>true</enabled>
+      </snapshots>
+      <releases>
+         <enabled>false</enabled>
+      </releases>
+    </pluginRepository>
+  </pluginRepositories>
+  <repositories>
+    <repository>
+      <id>apache.snapshots</id>
+      <name>Maven Central Plugins Development Repository</name>
+      <url>http://cvs.apache.org/maven-snapshot-repository</url>
+      <snapshots>
+        <enabled>true</enabled>
+      </snapshots>
+      <releases>
+         <enabled>false</enabled>
+      </releases>
+    </repository>
+    <repository>
+      <id>servicemix-m2-repo</id>
+      <name>Servicemix Maven2 Repository</name>
+      <url>http://servicemix.org/m2-repo</url>
+    </repository>
+  </repositories>
+  <properties>
+    <servicemixVersion>3.0-SNAPSHOT</servicemixVersion>
+    <servicemixJbiPluginVersion>${pom.version}</servicemixJbiPluginVersion>
+    <xbeanPluginVersion>2.3</xbeanPluginVersion>
+  </properties>
+  <dependencies>
+    <dependency>
+      <groupId>org.apache.servicemix</groupId>
+      <artifactId>servicemix-jbi</artifactId>
+      <version>${servicemixVersion}</version>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.servicemix</groupId>
+      <artifactId>servicemix-common</artifactId>
+      <version>${servicemixVersion}</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.servicemix</groupId>
+      <artifactId>servicemix-soap</artifactId>
+      <version>${servicemixVersion}</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.servicemix</groupId>
+      <artifactId>servicemix-core</artifactId>
+      <version>${servicemixVersion}</version>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <version>3.8.1</version>
+      <scope>test</scope>
+    </dependency>
+  </dependencies>
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.servicemix.tooling</groupId>
+        <artifactId>maven2-jbi-plugin</artifactId>
+        <version>${servicemixJbiPluginVersion}</version>
+        <extensions>true</extensions>
+        <configuration>
+          <type>binding-component</type>
+          <bootstrap>${packageName}.MyBootstrap</bootstrap>
+          <component>${packageName}.MyComponent</component>
+        </configuration>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.xbean</groupId>
+        <artifactId>maven-xbean-plugin</artifactId>
+        <version>${xbeanPluginVersion}</version>
+        <executions>
+          <execution>
+            <configuration>
+              <namespace>http://${packageName}/1.0</namespace>
+            </configuration>
+            <goals>
+              <goal>mapping</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+  </build>
+</project>

Added: incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyBootstrap.java
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyBootstrap.java?rev=406743&view=auto
==============================================================================
--- incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyBootstrap.java (added)
+++ incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyBootstrap.java Mon May 15 14:06:25 2006
@@ -0,0 +1,32 @@
+package ${packageName};
+
+import org.apache.servicemix.common.BaseBootstrap;
+
+/**
+ * Bootstrap class.
+ * This class is usefull to perform tasks at installation / uninstallation time 
+ */
+public class MyBootstrap extends BaseBootstrap
+{
+
+    protected void doInit() throws Exception {
+        super.doInit();
+    }
+    
+    protected void doCleanUp() throws Exception {
+        super.doCleanUp();
+    }
+ 
+    protected void doOnInstall() throws Exception {
+        super.doOnInstall();
+    }
+ 
+    protected void doOnUninstall() throws Exception {
+        super.doOnUninstall();
+    }
+ 
+    protected Object getExtensionMBean() throws Exception {
+        return null;
+    }
+    
+}

Added: incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyComponent.java
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyComponent.java?rev=406743&view=auto
==============================================================================
--- incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyComponent.java (added)
+++ incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyComponent.java Mon May 15 14:06:25 2006
@@ -0,0 +1,28 @@
+package ${packageName};
+
+import org.apache.servicemix.common.BaseComponent;
+import org.apache.servicemix.common.BaseLifeCycle;
+import org.apache.servicemix.common.BaseServiceUnitManager;
+import org.apache.servicemix.common.Deployer;
+
+/**
+ *
+ */
+public class MyComponent extends BaseComponent
+{
+    /* (non-Javadoc)
+     * @see org.servicemix.common.BaseComponent#createLifeCycle()
+     */
+    protected BaseLifeCycle createLifeCycle() {
+        return new MyLifeCycle(this);
+    }
+
+    /* (non-Javadoc)
+     * @see org.servicemix.common.BaseComponent#createServiceUnitManager()
+     */
+    public BaseServiceUnitManager createServiceUnitManager() {
+        Deployer[] deployers = new Deployer[] { new MyDeployer(this) };
+        return new BaseServiceUnitManager(this, deployers);
+    }
+
+}

Added: incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyConsumerProcessor.java
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyConsumerProcessor.java?rev=406743&view=auto
==============================================================================
--- incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyConsumerProcessor.java (added)
+++ incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyConsumerProcessor.java Mon May 15 14:06:25 2006
@@ -0,0 +1,27 @@
+package ${packageName};
+
+import javax.jbi.messaging.MessageExchange;
+
+import org.apache.servicemix.common.ExchangeProcessor;
+
+public class MyConsumerProcessor implements ExchangeProcessor {
+
+    private MyEndpoint endpoint;
+
+    public MyConsumerProcessor(MyEndpoint endpoint) {
+        this.endpoint = endpoint;
+    }
+
+    public void start() throws Exception {
+        // TODO
+    }
+    
+    public void stop() throws Exception {
+        // TODO
+    }
+ 
+    public void process(MessageExchange exchange) throws Exception {
+        // TODO
+    }
+ 
+}

Added: incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyDeployer.java
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyDeployer.java?rev=406743&view=auto
==============================================================================
--- incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyDeployer.java (added)
+++ incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyDeployer.java Mon May 15 14:06:25 2006
@@ -0,0 +1,22 @@
+package ${packageName};
+
+import javax.jbi.management.DeploymentException;
+
+import org.apache.servicemix.common.BaseComponent;
+import org.apache.servicemix.common.Endpoint;
+import org.apache.servicemix.common.xbean.AbstractXBeanDeployer;
+
+public class MyDeployer extends AbstractXBeanDeployer {
+
+    public MyDeployer(BaseComponent component) {
+        super(component);
+    }
+
+    protected boolean validate(Endpoint endpoint) throws DeploymentException {
+        if (endpoint instanceof MyEndpoint == false) {
+            throw new DeploymentException("Endpoint should be a MyEndpoint");
+        }
+        ((MyEndpoint) endpoint).validate();
+        return true;
+    }
+}

Added: incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyEndpoint.java
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyEndpoint.java?rev=406743&view=auto
==============================================================================
--- incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyEndpoint.java (added)
+++ incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyEndpoint.java Mon May 15 14:06:25 2006
@@ -0,0 +1,53 @@
+package ${packageName};
+
+import javax.jbi.component.ComponentContext;
+import javax.jbi.management.DeploymentException;
+import javax.jbi.messaging.DeliveryChannel;
+import javax.jbi.messaging.ExchangeStatus;
+import javax.jbi.messaging.InOut;
+import javax.jbi.messaging.MessageExchange;
+import javax.jbi.messaging.MessageExchangeFactory;
+import javax.jbi.messaging.MessagingException;
+import javax.jbi.messaging.MessageExchange.Role;
+import javax.jbi.messaging.NormalizedMessage;
+import javax.jbi.servicedesc.ServiceEndpoint;
+import javax.wsdl.Definition;
+
+import org.apache.servicemix.common.BaseLifeCycle;
+import org.apache.servicemix.common.ExchangeProcessor;
+import org.apache.servicemix.common.wsdl1.JbiExtension;
+import org.apache.servicemix.soap.SoapEndpoint;
+
+/**
+ * @org.apache.xbean.XBean element="endpoint"
+ */
+public class MyEndpoint extends SoapEndpoint {
+
+    /**
+     * @org.apache.xbean.Property alias="role"
+     * @param role
+     */
+    public void setRoleAsString(String role) {
+        super.setRoleAsString(role);
+    }
+
+    public void validate() throws DeploymentException {
+    }
+    
+    protected ExchangeProcessor createProviderProcessor() {
+        return new MyProviderProcessor(this);
+    }
+
+    protected ExchangeProcessor createConsumerProcessor() {
+        return new MyConsumerProcessor(this);
+    }
+    
+    protected ServiceEndpoint createExternalEndpoint() {
+        return new MyExternalEndpoint(this);
+    }
+    
+    protected void overrideDefinition(Definition def) {
+    }
+
+
+}

Added: incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyExternalEndpoint.java
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyExternalEndpoint.java?rev=406743&view=auto
==============================================================================
--- incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyExternalEndpoint.java (added)
+++ incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyExternalEndpoint.java Mon May 15 14:06:25 2006
@@ -0,0 +1,51 @@
+package ${packageName};
+
+import javax.jbi.servicedesc.ServiceEndpoint;
+import javax.xml.namespace.QName;
+import javax.xml.parsers.DocumentBuilderFactory;
+
+import org.w3c.dom.Document;
+import org.w3c.dom.DocumentFragment;
+import org.w3c.dom.Element;
+import org.w3c.dom.Text;
+
+public class MyExternalEndpoint implements ServiceEndpoint {
+
+    private MyEndpoint endpoint;
+    
+    public MyExternalEndpoint(MyEndpoint endpoint) {
+        this.endpoint = endpoint;
+    }
+
+    public DocumentFragment getAsReference(QName operationName) {
+        try {
+            DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
+            dbf.setNamespaceAware(true);
+            Document doc = dbf.newDocumentBuilder().newDocument();
+            DocumentFragment df = doc.createDocumentFragment();
+            Element e = doc.createElementNS(MyResolvedEndpoint.EPR_URI, MyResolvedEndpoint.EPR_NAME);
+            Text t = doc.createTextNode(endpoint.getService() + "#" + endpoint.getEndpoint());
+            e.appendChild(t);
+            df.appendChild(e);
+            return df;
+        } catch (Exception e) {
+            throw new RuntimeException("Could not create reference", e);
+        }
+    }
+
+    public String getEndpointName() {
+        return endpoint.getEndpoint();
+    }
+
+    public QName[] getInterfaces() {
+        if (endpoint.getInterfaceName() != null) {
+            return new QName[] { endpoint.getInterfaceName() }; 
+        }
+        return null;
+    }
+
+    public QName getServiceName() {
+        return endpoint.getService();
+    }
+
+}

Added: incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyLifeCycle.java
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyLifeCycle.java?rev=406743&view=auto
==============================================================================
--- incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyLifeCycle.java (added)
+++ incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyLifeCycle.java Mon May 15 14:06:25 2006
@@ -0,0 +1,15 @@
+package ${packageName};
+
+import org.apache.servicemix.common.BaseComponent;
+import org.apache.servicemix.common.BaseLifeCycle;
+
+/**
+ *
+ */
+public class MyLifeCycle extends BaseLifeCycle {
+
+    public MyLifeCycle(BaseComponent component) {
+        super(component);
+    }
+
+}

Added: incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyProviderProcessor.java
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyProviderProcessor.java?rev=406743&view=auto
==============================================================================
--- incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyProviderProcessor.java (added)
+++ incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyProviderProcessor.java Mon May 15 14:06:25 2006
@@ -0,0 +1,27 @@
+package ${packageName};
+
+import javax.jbi.messaging.MessageExchange;
+
+import org.apache.servicemix.common.ExchangeProcessor;
+
+public class MyProviderProcessor implements ExchangeProcessor {
+
+    private MyEndpoint endpoint;
+
+    public MyProviderProcessor(MyEndpoint endpoint) {
+        this.endpoint = endpoint;
+    }
+
+    public void start() throws Exception {
+        // TODO
+    }
+    
+    public void stop() throws Exception {
+        // TODO
+    }
+ 
+    public void process(MessageExchange exchange) throws Exception {
+        // TODO
+    }
+ 
+}

Added: incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyResolvedEndpoint.java
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyResolvedEndpoint.java?rev=406743&view=auto
==============================================================================
--- incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyResolvedEndpoint.java (added)
+++ incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyResolvedEndpoint.java Mon May 15 14:06:25 2006
@@ -0,0 +1,71 @@
+package ${packageName};
+
+import javax.jbi.servicedesc.ServiceEndpoint;
+import javax.xml.namespace.QName;
+
+import org.apache.servicemix.jbi.util.DOMUtil;
+import org.w3c.dom.DocumentFragment;
+import org.w3c.dom.Element;
+import org.w3c.dom.Node;
+import org.w3c.dom.NodeList;
+
+public class MyResolvedEndpoint implements ServiceEndpoint {
+
+    public final static String EPR_URI = "urn:servicemix:my";
+    public final static QName EPR_SERVICE = new QName(EPR_URI, "MyComponent");
+    public final static String EPR_NAME = "epr";
+    
+    private DocumentFragment reference;
+    private String epName;
+    
+    public MyResolvedEndpoint(DocumentFragment epr, String epName) {
+        this.reference = epr;
+        this.epName = epName;
+    }
+
+    public DocumentFragment getAsReference(QName operationName) {
+        return reference;
+    }
+
+    public String getEndpointName() {
+        return epName;
+    }
+
+    public QName[] getInterfaces() {
+        return null;
+    }
+
+    public QName getServiceName() {
+        return EPR_SERVICE;
+    }
+    
+    public static ServiceEndpoint resolveEndpoint(DocumentFragment epr) {
+        if (epr.getChildNodes().getLength() == 1) {
+            Node child = epr.getFirstChild();
+            if (child instanceof Element) {
+                Element elem = (Element) child;
+                String nsUri = elem.getNamespaceURI();
+                String name = elem.getLocalName();
+                // Check simple endpoints
+                if (EPR_URI.equals(nsUri) && EPR_NAME.equals(name)) {
+                    return new MyResolvedEndpoint(epr, DOMUtil.getElementText(elem));
+                // Check WSA endpoints
+                } else {
+                    NodeList nl = elem.getElementsByTagNameNS("http://www.w3.org/2005/08/addressing", "Address");
+                    if (nl.getLength() == 1) {
+                        Element address = (Element) nl.item(0);
+                        String uri = DOMUtil.getElementText(address);
+                        if (uri != null) {
+                            uri = uri.trim();
+                            if (uri.startsWith("my://")) {
+                                return new MyResolvedEndpoint(epr, uri);
+                            }
+                        }
+                    }
+                }
+            }
+        }
+        return null;
+    }
+    
+}

Added: incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MySpringComponent.java
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MySpringComponent.java?rev=406743&view=auto
==============================================================================
--- incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MySpringComponent.java (added)
+++ incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MySpringComponent.java Mon May 15 14:06:25 2006
@@ -0,0 +1,89 @@
+package ${packageName};
+
+import org.apache.servicemix.common.BaseComponent;
+import org.apache.servicemix.common.BaseLifeCycle;
+import org.apache.servicemix.common.ServiceUnit;
+import org.apache.servicemix.common.xbean.XBeanServiceUnit;
+
+/**
+ * 
+ * @org.apache.xbean.XBean element="component"
+ *                  description="My component"
+ */
+public class MySpringComponent extends BaseComponent {
+
+    private MyEndpoint[] endpoints;
+
+    /**
+     * @return Returns the endpoints.
+     */
+    public MyEndpoint[] getEndpoints() {
+        return endpoints;
+    }
+
+    /**
+     * @param endpoints The endpoints to set.
+     */
+    public void setEndpoints(MyEndpoint[] endpoints) {
+        this.endpoints = endpoints;
+    }
+    
+    /* (non-Javadoc)
+     * @see org.servicemix.common.BaseComponent#createLifeCycle()
+     */
+    protected BaseLifeCycle createLifeCycle() {
+        return new LifeCycle();
+    }
+
+    /**
+     * @author gnodet
+     */
+    public class LifeCycle extends MyLifeCycle {
+
+        protected ServiceUnit su;
+        
+        public LifeCycle() {
+            super(MySpringComponent.this);
+        }
+        
+        /* (non-Javadoc)
+         * @see org.servicemix.common.BaseLifeCycle#doInit()
+         */
+        protected void doInit() throws Exception {
+            super.doInit();
+            su = new XBeanServiceUnit();
+            su.setComponent(MySpringComponent.this);
+            for (int i = 0; i < endpoints.length; i++) {
+                endpoints[i].setServiceUnit(su);
+                endpoints[i].validate();
+                su.addEndpoint(endpoints[i]);
+            }
+            getRegistry().registerServiceUnit(su);
+        }
+
+        /* (non-Javadoc)
+         * @see org.servicemix.common.BaseLifeCycle#doStart()
+         */
+        protected void doStart() throws Exception {
+            super.doStart();
+            su.start();
+        }
+        
+        /* (non-Javadoc)
+         * @see org.servicemix.common.BaseLifeCycle#doStop()
+         */
+        protected void doStop() throws Exception {
+            su.stop();
+            super.doStop();
+        }
+        
+        /* (non-Javadoc)
+         * @see org.servicemix.common.BaseLifeCycle#doShutDown()
+         */
+        protected void doShutDown() throws Exception {
+            su.shutDown();
+            super.doShutDown();
+        }
+    }
+
+}

Added: incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/test/java/MySpringComponentTest.java
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/test/java/MySpringComponentTest.java?rev=406743&view=auto
==============================================================================
--- incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/test/java/MySpringComponentTest.java (added)
+++ incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/test/java/MySpringComponentTest.java Mon May 15 14:06:25 2006
@@ -0,0 +1,40 @@
+package ${packageName};
+
+import javax.jbi.messaging.ExchangeStatus;
+import javax.jbi.messaging.InOut;
+import javax.xml.namespace.QName;
+
+import org.apache.servicemix.client.DefaultServiceMixClient;
+import org.apache.servicemix.jbi.jaxp.SourceTransformer;
+import org.apache.servicemix.jbi.jaxp.StringSource;
+import org.apache.servicemix.tck.SpringTestSupport;
+import org.apache.xbean.spring.context.ClassPathXmlApplicationContext;
+import org.springframework.context.support.AbstractXmlApplicationContext;
+
+public class MySpringComponentTest extends SpringTestSupport {
+
+    public void test() throws Exception {
+        DefaultServiceMixClient client = new DefaultServiceMixClient(jbi);
+        InOut me = client.createInOutExchange();
+        me.setService(new QName("urn:test", "service"));
+        me.getInMessage().setContent(new StringSource("<hello>world</hello>"));
+        client.sendSync(me);
+        if (me.getStatus() == ExchangeStatus.ERROR) {
+            if (me.getFault() != null) {
+                fail("Received fault: " + new SourceTransformer().toString(me.getFault().getContent()));
+            } else if (me.getError() != null) {
+                throw me.getError();
+            } else {
+                fail("Received ERROR status");
+            }
+        } else {
+            System.out.println(new SourceTransformer().toString(me.getOutMessage().getContent()));
+        }
+        client.done(me);
+    }
+    
+    protected AbstractXmlApplicationContext createBeanFactory() {
+        return new ClassPathXmlApplicationContext("spring.xml");
+    }
+    
+}

Added: incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/test/resources/spring.xml
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/test/resources/spring.xml?rev=406743&view=auto
==============================================================================
--- incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/test/resources/spring.xml (added)
+++ incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/test/resources/spring.xml Mon May 15 14:06:25 2006
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<beans xmlns:sm="http://servicemix.apache.org/config/1.0" 
+	     xmlns:my="http://${packageName}/1.0"
+       xmlns:test="urn:test">
+
+  <sm:container id="jbi" embedded="true" createMBeanServer="false">
+    
+    <sm:activationSpecs>
+
+      <sm:activationSpec>
+      	<sm:component>
+            <my:component>
+            	<my:endpoints>
+            		<my:endpoint service="test:service" endpoint="endpoint" />
+            	</my:endpoints>
+            </my:component>
+        </sm:component>
+      </sm:activationSpec>
+
+    </sm:activationSpecs>
+  </sm:container>
+
+</beans>

Modified: incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-service-engine/pom.xml
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-service-engine/pom.xml?rev=406743&r1=406455&r2=406743&view=diff
==============================================================================
--- incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-service-engine/pom.xml (original)
+++ incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-service-engine/pom.xml Mon May 15 14:06:25 2006
@@ -1,9 +1,35 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Copyright 2005 The Apache Software Foundation
+
+    Licensed under the Apache License, Version 2.0 (the "License");
+    you may not use this file except in compliance with the License.
+    You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+-->
+<!-- $Rev: 365333 $ $Date: 2006-01-02 12:21:09 +0100 (lun., 02 janv. 2006) $ -->
+<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>org.apache.servicemix.archetypes</groupId>
+
+  <parent>
+    <groupId>org.apache.servicemix.tooling</groupId>
+    <artifactId>maven2-archetypes</artifactId>
+    <version>1.0-SNAPSHOT</version>
+  </parent>
+
   <artifactId>servicemix-service-engine</artifactId>
-  <version>1.0-SNAPSHOT</version>
-  <name>Archetype - servicemix-service-engine</name>
-  <url>http://maven.apache.org</url>
+  <name>ServiceMix :: Maven2 :: Archetypes :: ServiceEngine</name>
+
 </project>

Modified: incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-service-engine/src/main/resources/archetype-resources/pom.xml
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-service-engine/src/main/resources/archetype-resources/pom.xml?rev=406743&r1=406455&r2=406743&view=diff
==============================================================================
--- incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-service-engine/src/main/resources/archetype-resources/pom.xml (original)
+++ incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-service-engine/src/main/resources/archetype-resources/pom.xml Mon May 15 14:06:25 2006
@@ -7,9 +7,35 @@
   <version>${version}</version>
   <name>A custom project</name>
   <url>http://www.myorganization.org</url>
+  <pluginRepositories>
+    <pluginRepository>
+      <id>apache.snapshots</id>
+      <name>Maven Central Plugins Development Repository</name>
+      <url>http://cvs.apache.org/maven-snapshot-repository</url>
+      <snapshots>
+        <enabled>true</enabled>
+      </snapshots>
+      <releases>
+         <enabled>false</enabled>
+      </releases>
+    </pluginRepository>
+  </pluginRepositories>
+  <repositories>
+    <repository>
+      <id>apache.snapshots</id>
+      <name>Maven Central Plugins Development Repository</name>
+      <url>http://cvs.apache.org/maven-snapshot-repository</url>
+      <snapshots>
+        <enabled>true</enabled>
+      </snapshots>
+      <releases>
+         <enabled>false</enabled>
+      </releases>
+    </repository>
+  </repositories>
   <properties>
     <servicemixVersion>3.0-SNAPSHOT</servicemixVersion>
-    <servicemixJbiPluginVersion>1.0-SNAPSHOT</servicemixJbiPluginVersion>
+    <servicemixJbiPluginVersion>${pom.version}</servicemixJbiPluginVersion>
     <xbeanPluginVersion>2.3</xbeanPluginVersion>
   </properties>
   <dependencies>
@@ -40,7 +66,7 @@
   <build>
     <plugins>
       <plugin>
-        <groupId>org.apache.servicemix.plugins</groupId>
+        <groupId>org.apache.servicemix.tooling</groupId>
         <artifactId>maven2-jbi-plugin</artifactId>
         <version>${servicemixJbiPluginVersion}</version>
         <extensions>true</extensions>

Modified: incubator/servicemix/trunk/tooling/maven2/plugins/maven2-jbi-plugin/pom.xml
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/tooling/maven2/plugins/maven2-jbi-plugin/pom.xml?rev=406743&r1=406455&r2=406743&view=diff
==============================================================================
--- incubator/servicemix/trunk/tooling/maven2/plugins/maven2-jbi-plugin/pom.xml (original)
+++ incubator/servicemix/trunk/tooling/maven2/plugins/maven2-jbi-plugin/pom.xml Mon May 15 14:06:25 2006
@@ -24,16 +24,14 @@
   <modelVersion>4.0.0</modelVersion>
 
   <parent>
-    <groupId>org.apache.servicemix</groupId>
-    <artifactId>servicemix</artifactId>
-    <version>3.0-SNAPSHOT</version>
+    <groupId>org.apache.servicemix.tooling</groupId>
+    <artifactId>maven2-plugins</artifactId>
+    <version>1.0-SNAPSHOT</version>
   </parent>
     
-	<groupId>org.apache.servicemix.plugins</groupId>
 	<artifactId>maven2-jbi-plugin</artifactId>
 	<packaging>maven-plugin</packaging>
-	<name>ServiceMix :: Maven2 JBI Plugin</name>
-	<version>1.0-SNAPSHOT</version>
+	<name>ServiceMix :: Maven2 :: JBI Plugin</name>
   <scm>
     <connection>scm:svn:http://svn.apache.org/repos/asf/incubator/servicemix/trunk/tooling/maven2-jbi-plugin</connection>
     <developerConnection>scm:svn:https://svn.apache.org/repos/asf/incubator/servicemix/trunk/tooling/maven2-jbi-plugin</developerConnection>

Modified: incubator/servicemix/trunk/tooling/maven2/plugins/maven2-jbi-plugin/src/main/resources/META-INF/plexus/components.xml
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/tooling/maven2/plugins/maven2-jbi-plugin/src/main/resources/META-INF/plexus/components.xml?rev=406743&r1=406455&r2=406743&view=diff
==============================================================================
--- incubator/servicemix/trunk/tooling/maven2/plugins/maven2-jbi-plugin/src/main/resources/META-INF/plexus/components.xml (original)
+++ incubator/servicemix/trunk/tooling/maven2/plugins/maven2-jbi-plugin/src/main/resources/META-INF/plexus/components.xml Mon May 15 14:06:25 2006
@@ -25,14 +25,14 @@
       <implementation>org.apache.maven.lifecycle.mapping.DefaultLifecycleMapping</implementation>
       <configuration>
         <phases>
-          <generate-resources>org.apache.servicemix.plugins:maven2-jbi-plugin:generate-jbi-descriptor</generate-resources>
+          <generate-resources>org.apache.servicemix.tooling:maven2-jbi-plugin:generate-jbi-descriptor</generate-resources>
           <process-resources>org.apache.maven.plugins:maven-resources-plugin:resources</process-resources>
           <compile>org.apache.maven.plugins:maven-compiler-plugin:compile</compile>
           <process-test-resources>org.apache.maven.plugins:maven-resources-plugin:testResources</process-test-resources>
           <test-compile>org.apache.maven.plugins:maven-compiler-plugin:testCompile</test-compile>
           <test>org.apache.maven.plugins:maven-surefire-plugin:test</test>
           <package>org.apache.maven.plugins:maven-jar-plugin:jar,
-                   org.apache.servicemix.plugins:maven2-jbi-plugin:jbi-component</package>
+                   org.apache.servicemix.tooling:maven2-jbi-plugin:jbi-component</package>
           <install>org.apache.maven.plugins:maven-install-plugin:install</install>
           <deploy>org.apache.maven.plugins:maven-deploy-plugin:deploy</deploy>
         </phases>

Added: incubator/servicemix/trunk/tooling/maven2/plugins/pom.xml
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/tooling/maven2/plugins/pom.xml?rev=406743&view=auto
==============================================================================
--- incubator/servicemix/trunk/tooling/maven2/plugins/pom.xml (added)
+++ incubator/servicemix/trunk/tooling/maven2/plugins/pom.xml Mon May 15 14:06:25 2006
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Copyright 2005 The Apache Software Foundation
+
+    Licensed under the Apache License, Version 2.0 (the "License");
+    you may not use this file except in compliance with the License.
+    You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+-->
+<!-- $Rev: 356052 $ $Date: 2005-12-11 14:41:20 -0800 (dim., 11 déc. 2005) $ -->
+<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>
+
+  <parent>
+    <groupId>org.apache.servicemix.tooling</groupId>
+    <artifactId>maven2</artifactId>
+    <version>1.0-SNAPSHOT</version>
+  </parent>
+
+  <artifactId>maven2-plugins</artifactId>
+  <name>ServiceMix :: Maven2 :: Plugins</name>
+  <packaging>pom</packaging>
+  <modules>
+    <module>maven2-jbi-plugin</module>
+  </modules>
+</project>

Added: incubator/servicemix/trunk/tooling/maven2/pom.xml
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/tooling/maven2/pom.xml?rev=406743&view=auto
==============================================================================
--- incubator/servicemix/trunk/tooling/maven2/pom.xml (added)
+++ incubator/servicemix/trunk/tooling/maven2/pom.xml Mon May 15 14:06:25 2006
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Copyright 2005 The Apache Software Foundation
+
+    Licensed under the Apache License, Version 2.0 (the "License");
+    you may not use this file except in compliance with the License.
+    You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+-->
+<!-- $Rev: 356052 $ $Date: 2005-12-11 14:41:20 -0800 (dim., 11 déc. 2005) $ -->
+<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>
+
+
+  <parent>
+    <groupId>org.apache.servicemix.tooling</groupId>
+    <artifactId>maven2</artifactId>
+    <version>1.0-SNAPSHOT</version>
+  </parent>
+
+  <artifactId>maven2</artifactId>
+  <name>ServiceMix :: Maven2</name>
+  <packaging>pom</packaging>
+
+  <modules>
+    <module>plugins</module>
+    <module>archetypes</module>
+  </modules>
+</project>

Added: incubator/servicemix/trunk/tooling/pom.xml
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/tooling/pom.xml?rev=406743&view=auto
==============================================================================
--- incubator/servicemix/trunk/tooling/pom.xml (added)
+++ incubator/servicemix/trunk/tooling/pom.xml Mon May 15 14:06:25 2006
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Copyright 2005 The Apache Software Foundation
+
+    Licensed under the Apache License, Version 2.0 (the "License");
+    you may not use this file except in compliance with the License.
+    You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+-->
+<!-- $Rev: 356052 $ $Date: 2005-12-11 14:41:20 -0800 (dim., 11 déc. 2005) $ -->
+<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>org.apache.servicemix.tooling</groupId>
+  <artifactId>tooling</artifactId>
+  <version>1.0-SNAPSHOT</version>
+  <name>ServiceMix :: Tooling</name>
+  <url>http://servicemix.org</url>
+  <packaging>pom</packaging>
+
+  <modules>
+    <module>maven2</module>
+  </modules>
+</project>



Mime
View raw message