camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hadr...@apache.org
Subject svn commit: r619752 - in /activemq/camel/trunk/tooling/archetypes/camel-router: pom.xml src/main/resources/archetype-resources/pom.xml
Date Fri, 08 Feb 2008 03:21:27 GMT
Author: hadrian
Date: Thu Feb  7 19:21:26 2008
New Revision: 619752

URL: http://svn.apache.org/viewvc?rev=619752&view=rev
Log:
CAMEL-200.  Patch applied with thanks!

Modified:
    activemq/camel/trunk/tooling/archetypes/camel-router/pom.xml
    activemq/camel/trunk/tooling/archetypes/camel-router/src/main/resources/archetype-resources/pom.xml

Modified: activemq/camel/trunk/tooling/archetypes/camel-router/pom.xml
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/tooling/archetypes/camel-router/pom.xml?rev=619752&r1=619751&r2=619752&view=diff
==============================================================================
--- activemq/camel/trunk/tooling/archetypes/camel-router/pom.xml (original)
+++ activemq/camel/trunk/tooling/archetypes/camel-router/pom.xml Thu Feb  7 19:21:26 2008
@@ -31,4 +31,30 @@
   <artifactId>camel-router</artifactId>
   <name>Camel :: Archetypes :: Router</name>
 
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-antrun-plugin</artifactId>
+        <executions>
+          <execution>
+            <phase>process-resources</phase>
+            <goals>
+              <goal>run</goal>
+            </goals>
+            <configuration>
+              <tasks>
+                <replace
+                  file="${project.build.directory}/classes/archetype-resources/pom.xml"
+                  token="$CAMEL_VERSION_REPLACEME$"
+                  value="${project.version}" casesensitive="true">
+                </replace>
+              </tasks>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+  </build>
+
 </project>

Modified: activemq/camel/trunk/tooling/archetypes/camel-router/src/main/resources/archetype-resources/pom.xml
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/tooling/archetypes/camel-router/src/main/resources/archetype-resources/pom.xml?rev=619752&r1=619751&r2=619752&view=diff
==============================================================================
--- activemq/camel/trunk/tooling/archetypes/camel-router/src/main/resources/archetype-resources/pom.xml
(original)
+++ activemq/camel/trunk/tooling/archetypes/camel-router/src/main/resources/archetype-resources/pom.xml
Thu Feb  7 19:21:26 2008
@@ -31,7 +31,7 @@
   <url>http://www.myorganization.org</url>
 
   <properties>
-    <camel-version>1.3-SNAPSHOT</camel-version>
+    <camel-version>$CAMEL_VERSION_REPLACEME$</camel-version>
   </properties>
 
   <dependencies>



Mime
View raw message