You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by ch...@apache.org on 2008/06/17 20:20:48 UTC

svn commit: r668776 - in /servicemix/archetypes/trunk: pom.xml servicemix-http-consumer-service-unit/src/main/resources/archetype-resources/pom.xml

Author: chirino
Date: Tue Jun 17 11:20:48 2008
New Revision: 668776

URL: http://svn.apache.org/viewvc?rev=668776&view=rev
Log:
use componentName of the http component

Modified:
    servicemix/archetypes/trunk/pom.xml
    servicemix/archetypes/trunk/servicemix-http-consumer-service-unit/src/main/resources/archetype-resources/pom.xml

Modified: servicemix/archetypes/trunk/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/pom.xml?rev=668776&r1=668775&r2=668776&view=diff
==============================================================================
--- servicemix/archetypes/trunk/pom.xml (original)
+++ servicemix/archetypes/trunk/pom.xml Tue Jun 17 11:20:48 2008
@@ -23,11 +23,20 @@
     <artifactId>servicemix-pom</artifactId>
     <version>1.0</version>
   </parent>
+  
   <groupId>org.apache.servicemix</groupId>
   <artifactId>archetypes</artifactId>
   <version>4.0-SNAPSHOT</version>
+  
   <name>ServiceMix :: Archetypes</name>
   <packaging>pom</packaging>
+  
+  <scm>
+    <connection>scm:svn:http://svn.apache.org/repos/asf/servicemix/archetypes/trunk</connection>
+    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/servicemix/archetypes/trunk</developerConnection>
+    <url>http://svn.apache.org/viewcvs.cgi/servicemix/archetypes/trunk</url>
+  </scm>
+  
   <modules>
     <module>servicemix-binding-component</module>
     <module>servicemix-service-engine</module>
@@ -98,7 +107,8 @@
           <inputDirectory>${basedir}/src/main/resources</inputDirectory>
           <outputDirectory>${basedir}/target/classes</outputDirectory>
           <filters>
-            <!-- Don't like these bits.. archetypes should not be tied to specific versions if possible -->
+<!-- Don't like these bits.. archetypes should not be tied to specific versions if possible -->
+            <jbi-maven-plugin-version>3.2.1</jbi-maven-plugin-version>
             <servicemix-version>${servicemix-version}</servicemix-version>
             <xbean-version>${xbean-version}</xbean-version>
             <camel-version>${camel-version}</camel-version>
@@ -144,4 +154,80 @@
       </plugin>
     </plugins>
   </build>
+  
+  <profiles>
+    <profile>
+      <id>release</id>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-release-plugin</artifactId>
+            <version>2.0-beta-7</version>
+            <configuration>
+              <preparationGoals>clean,verify,install</preparationGoals>
+              <autoVersionSubmodules>true</autoVersionSubmodules>
+            </configuration>
+          </plugin>
+          <!-- We want a source jar -->
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-source-plugin</artifactId>
+            <version>2.0.4</version>
+            <executions>
+              <execution>
+                <goals>
+                  <goal>jar</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+          <!-- We want the JavaDoc JAR published with the release -->
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-javadoc-plugin</artifactId>
+            <version>2.4</version>
+            <inherited>true</inherited>
+            <configuration>
+              <source>1.5</source>
+            </configuration>
+            <executions>
+              <execution>
+                <id>attach-javadocs</id>
+                <goals>
+                  <goal>jar</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+          <!-- We want to sign the artifact, the POM, and all attached artifacts -->
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-gpg-plugin</artifactId>
+            <version>1.0-alpha-4</version>
+            <inherited>true</inherited>
+            <executions>
+              <execution>
+                <goals>
+                  <goal>sign</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+          <!-- We want to deploy the artifact to a staging location for perusal -->
+          <plugin>
+            <inherited>true</inherited>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-deploy-plugin</artifactId>
+            <version>2.3</version>
+            <configuration>
+              <altDeploymentRepository>${deploy.altRepository}</altDeploymentRepository>
+              <updateReleaseInfo>true</updateReleaseInfo>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
+  
 </project>

Modified: servicemix/archetypes/trunk/servicemix-http-consumer-service-unit/src/main/resources/archetype-resources/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-http-consumer-service-unit/src/main/resources/archetype-resources/pom.xml?rev=668776&r1=668775&r2=668776&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-http-consumer-service-unit/src/main/resources/archetype-resources/pom.xml (original)
+++ servicemix/archetypes/trunk/servicemix-http-consumer-service-unit/src/main/resources/archetype-resources/pom.xml Tue Jun 17 11:20:48 2008
@@ -26,17 +26,15 @@
   <version>${version}</version>
   <name>A Service HTTP Service Engine Service Unit</name>
   <url>http://www.myorganization.org</url>
+  
   @{repositories}
+  
   <properties>
-    <servicemix-version>@{servicemix-version}</servicemix-version>
+    <componentName>servicemix-http</componentName>
   </properties>
-  <dependencies>
-    <dependency>
-      <groupId>org.apache.servicemix</groupId>
-      <artifactId>servicemix-http</artifactId>
-      <version>${servicemix-version}</version>      
-    </dependency>
-  </dependencies>
+  
+  <properties></properties>
+  
   <build>
   	<resources>
       <resource>
@@ -50,7 +48,7 @@
       <plugin>
         <groupId>org.apache.servicemix.tooling</groupId>
         <artifactId>jbi-maven-plugin</artifactId>
-        <version>${servicemix-version}</version>      
+        <version>@{jbi-maven-plugin-version}</version>      
         <extensions>true</extensions>
       </plugin>     
     </plugins>