just use camel version in one place

Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/25877b6b
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/25877b6b
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/25877b6b

Branch: refs/heads/master
Commit: 25877b6b729240a00d737aad04225f48d867cf70
Parents: bbb6502
Author: Jonathan Anstey <jans...@gmail.com>
Authored: Mon Oct 17 14:29:04 2016 -0230
Committer: Jonathan Anstey <jans...@gmail.com>
Committed: Mon Oct 17 14:29:04 2016 -0230

----------------------------------------------------------------------
 .../archetype-resources/__artifactId__-component/pom.xml       | 1 -
 .../src/main/resources/archetype-resources/pom.xml             | 6 +++++-
 2 files changed, 5 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/25877b6b/tooling/archetypes/camel-archetype-api-component/src/main/resources/archetype-resources/__artifactId__-component/pom.xml
----------------------------------------------------------------------
diff --git 
a/tooling/archetypes/camel-archetype-api-component/src/main/resources/archetype-resources/__artifactId__-component/pom.xml
 
b/tooling/archetypes/camel-archetype-api-component/src/main/resources/archetype-resources/__artifactId__-component/pom.xml
index 0b8210e..3cd6ba3 100644
--- 
a/tooling/archetypes/camel-archetype-api-component/src/main/resources/archetype-resources/__artifactId__-component/pom.xml
+++ 
b/tooling/archetypes/camel-archetype-api-component/src/main/resources/archetype-resources/__artifactId__-component/pom.xml
@@ -35,7 +35,6 @@
     <componentName>${name}</componentName>
     <componentPackage>${package}</componentPackage>
     <outPackage>${package}.internal</outPackage>
-    <camelVersion>${camel-version}</camelVersion>
     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
     <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
   </properties>

http://git-wip-us.apache.org/repos/asf/camel/blob/25877b6b/tooling/archetypes/camel-archetype-api-component/src/main/resources/archetype-resources/pom.xml
----------------------------------------------------------------------
diff --git 
a/tooling/archetypes/camel-archetype-api-component/src/main/resources/archetype-resources/pom.xml
 
b/tooling/archetypes/camel-archetype-api-component/src/main/resources/archetype-resources/pom.xml
index bf2c88c..7bdea7c 100644
--- 
a/tooling/archetypes/camel-archetype-api-component/src/main/resources/archetype-resources/pom.xml
+++ 
b/tooling/archetypes/camel-archetype-api-component/src/main/resources/archetype-resources/pom.xml
@@ -28,6 +28,10 @@
   <url>http://www.myorganization.org</url>
   <description>Parent project for Camel {$name} Component</description>
 
+  <properties>
+    <camelVersion>${camel-version}</camelVersion>
+  </properties>
+
   <modules>
     <module>${artifactId}-component</module>
     <module>${artifactId}-api</module>
@@ -38,7 +42,7 @@
       <dependency>
         <groupId>org.apache.camel</groupId>
         <artifactId>camel-parent</artifactId>
-        <version>${camel-version}</version>
+        <version>${camelVersion}</version>
         <scope>import</scope>
         <type>pom</type>
       </dependency>

Reply via email to