You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ja...@apache.org on 2016/10/17 17:37:33 UTC
[2/3] camel git commit: don't hardcode camel version in
camel-archetype-api-component projects
don't hardcode camel version in camel-archetype-api-component projects
Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/8b2d8e8a
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/8b2d8e8a
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/8b2d8e8a
Branch: refs/heads/master
Commit: 8b2d8e8a90ee856784a4c651ceaf7172aced33dd
Parents: 7dfdefb
Author: Jonathan Anstey <ja...@gmail.com>
Authored: Mon Oct 17 14:20:46 2016 -0230
Committer: Jonathan Anstey <ja...@gmail.com>
Committed: Mon Oct 17 14:26:29 2016 -0230
----------------------------------------------------------------------
.../__artifactId__-component/pom.xml | 17 +++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/camel/blob/8b2d8e8a/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 feedd0e..a9ac553 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,6 +35,7 @@
<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>
@@ -43,7 +44,7 @@
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-core</artifactId>
- <version>${camel-version}</version>
+ <version>${camelVersion}</version>
</dependency>
<dependency>
<groupId>${groupId}</groupId>
@@ -55,14 +56,14 @@
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>apt</artifactId>
- <version>${camel-version}</version>
+ <version>${camelVersion}</version>
</dependency>
<!-- Camel annotations in provided scope to avoid compile errors in IDEs -->
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>spi-annotations</artifactId>
- <version>${camel-version}</version>
+ <version>${camelVersion}</version>
<scope>provided</scope>
</dependency>
@@ -96,7 +97,7 @@
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-test</artifactId>
- <version>${camel-version}</version>
+ <version>${camelVersion}</version>
<scope>test</scope>
</dependency>
</dependencies>
@@ -140,7 +141,7 @@
<Import-Package>
${componentPackage}.api;version=${project.version},
${componentPackage};version=${project.version},
- org.apache.camel.*;version=${camel-version}
+ org.apache.camel.*;version=${camelVersion}
</Import-Package>
<Private-Package>${outPackage}</Private-Package>
<Implementation-Title>Apache Camel</Implementation-Title>
@@ -239,7 +240,7 @@
<plugin>
<groupId>org.apache.camel</groupId>
<artifactId>camel-package-maven-plugin</artifactId>
- <version>${camel-version}</version>
+ <version>${camelVersion}</version>
<executions>
<execution>
<id>prepare</id>
@@ -296,7 +297,7 @@
<plugin>
<groupId>org.apache.camel</groupId>
<artifactId>camel-api-component-maven-plugin</artifactId>
- <version>${camel-version}</version>
+ <version>${camelVersion}</version>
<configuration>
<scheme>${schemeName}</scheme>
<componentName>${componentName}</componentName>
@@ -314,7 +315,7 @@
<plugin>
<groupId>org.apache.camel</groupId>
<artifactId>camel-api-component-maven-plugin</artifactId>
- <version>${camel-version}</version>
+ <version>${camelVersion}</version>
<configuration>
<scheme>${schemeName}</scheme>
<componentName>${componentName}</componentName>