You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by pd...@apache.org on 2006/06/16 22:13:07 UTC
svn commit: r414895 - in
/incubator/servicemix/trunk/tooling/maven2/archetypes: ./
servicemix-binding-component/ servicemix-service-assembly/
servicemix-service-assembly/src/ servicemix-service-assembly/src/main/
servicemix-service-assembly/src/main/re...
Author: pdodds
Date: Fri Jun 16 13:13:06 2006
New Revision: 414895
URL: http://svn.apache.org/viewvc?rev=414895&view=rev
Log:
Added the archetype infrastructure for service assemblies and service units
Added:
incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-service-assembly/ (with props)
incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-service-assembly/pom.xml
incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-service-assembly/src/
incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-service-assembly/src/main/
incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-service-assembly/src/main/resources/
incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-service-assembly/src/main/resources/META-INF/
incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-service-assembly/src/main/resources/META-INF/maven/
incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-service-assembly/src/main/resources/META-INF/maven/archetype.xml
incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-service-assembly/src/main/resources/archetype-resources/
incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-service-assembly/src/main/resources/archetype-resources/pom.xml
incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-service-unit/ (with props)
incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-service-unit/pom.xml
incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-service-unit/src/
incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-service-unit/src/main/
incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-service-unit/src/main/resources/
incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-service-unit/src/main/resources/archetype-resources/
incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-service-unit/src/main/resources/archetype-resources/pom.xml
incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-service-unit/src/main/resources/maven/
incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-service-unit/src/main/resources/maven/archetype.xml
Modified:
incubator/servicemix/trunk/tooling/maven2/archetypes/pom.xml
incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/ (props changed)
incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-service-engine/ (props changed)
Modified: incubator/servicemix/trunk/tooling/maven2/archetypes/pom.xml
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/tooling/maven2/archetypes/pom.xml?rev=414895&r1=414894&r2=414895&view=diff
==============================================================================
--- incubator/servicemix/trunk/tooling/maven2/archetypes/pom.xml (original)
+++ incubator/servicemix/trunk/tooling/maven2/archetypes/pom.xml Fri Jun 16 13:13:06 2006
@@ -34,5 +34,7 @@
<modules>
<module>servicemix-service-engine</module>
<module>servicemix-binding-component</module>
+ <module>servicemix-service-unit</module>
+ <module>servicemix-service-assembly</module>
</modules>
</project>
Propchange: incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-binding-component/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Fri Jun 16 13:13:06 2006
@@ -1 +1,3 @@
target
+.classpath
+.project
Propchange: incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-service-assembly/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Fri Jun 16 13:13:06 2006
@@ -0,0 +1,3 @@
+target
+.classpath
+.project
Added: incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-service-assembly/pom.xml
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-service-assembly/pom.xml?rev=414895&view=auto
==============================================================================
--- incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-service-assembly/pom.xml (added)
+++ incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-service-assembly/pom.xml Fri Jun 16 13:13:06 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-service-assembly</artifactId>
+ <name>ServiceMix :: Maven2 :: Archetypes :: Service Assembly</name>
+
+</project>
Added: incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-service-assembly/src/main/resources/META-INF/maven/archetype.xml
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-service-assembly/src/main/resources/META-INF/maven/archetype.xml?rev=414895&view=auto
==============================================================================
--- incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-service-assembly/src/main/resources/META-INF/maven/archetype.xml (added)
+++ incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-service-assembly/src/main/resources/META-INF/maven/archetype.xml Fri Jun 16 13:13:06 2006
@@ -0,0 +1,3 @@
+<archetype>
+ <id>servicemix-sa</id>
+</archetype>
Added: incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-service-assembly/src/main/resources/archetype-resources/pom.xml
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-service-assembly/src/main/resources/archetype-resources/pom.xml?rev=414895&view=auto
==============================================================================
--- incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-service-assembly/src/main/resources/archetype-resources/pom.xml (added)
+++ incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-service-assembly/src/main/resources/archetype-resources/pom.xml Fri Jun 16 13:13:06 2006
@@ -0,0 +1,62 @@
+<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-service-assembly</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>
+ </repositories>
+ <properties>
+ <servicemixVersion>3.0-SNAPSHOT</servicemixVersion>
+ <servicemixJbiPluginVersion>${pom.version}</servicemixJbiPluginVersion>
+ <xbeanPluginVersion>2.3</xbeanPluginVersion>
+ </properties>
+ <dependencies>
+ <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>jbi-maven-plugin</artifactId>
+ <version>${servicemixJbiPluginVersion}</version>
+ <extensions>true</extensions>
+ <configuration>
+ <type>service-assembly</type>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+</project>
Propchange: incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-service-engine/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Fri Jun 16 13:13:06 2006
@@ -1 +1,3 @@
target
+.classpath
+.project
Propchange: incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-service-unit/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Fri Jun 16 13:13:06 2006
@@ -0,0 +1,3 @@
+.classpath
+.project
+target
Added: incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-service-unit/pom.xml
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-service-unit/pom.xml?rev=414895&view=auto
==============================================================================
--- incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-service-unit/pom.xml (added)
+++ incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-service-unit/pom.xml Fri Jun 16 13:13:06 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-service-unit</artifactId>
+ <name>ServiceMix :: Maven2 :: Archetypes :: Service Unit</name>
+
+</project>
Added: incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-service-unit/src/main/resources/archetype-resources/pom.xml
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-service-unit/src/main/resources/archetype-resources/pom.xml?rev=414895&view=auto
==============================================================================
--- incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-service-unit/src/main/resources/archetype-resources/pom.xml (added)
+++ incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-service-unit/src/main/resources/archetype-resources/pom.xml Fri Jun 16 13:13:06 2006
@@ -0,0 +1,62 @@
+<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-service-unit</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>
+ </repositories>
+ <properties>
+ <servicemixVersion>3.0-SNAPSHOT</servicemixVersion>
+ <servicemixJbiPluginVersion>${pom.version}</servicemixJbiPluginVersion>
+ <xbeanPluginVersion>2.3</xbeanPluginVersion>
+ </properties>
+ <dependencies>
+ <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>jbi-maven-plugin</artifactId>
+ <version>${servicemixJbiPluginVersion}</version>
+ <extensions>true</extensions>
+ <configuration>
+ <type>service-unit</type>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+</project>
Added: incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-service-unit/src/main/resources/maven/archetype.xml
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-service-unit/src/main/resources/maven/archetype.xml?rev=414895&view=auto
==============================================================================
--- incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-service-unit/src/main/resources/maven/archetype.xml (added)
+++ incubator/servicemix/trunk/tooling/maven2/archetypes/servicemix-service-unit/src/main/resources/maven/archetype.xml Fri Jun 16 13:13:06 2006
@@ -0,0 +1,3 @@
+<archetype>
+ <id>servicemix-su</id>
+</archetype>