camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject camel git commit: Component docs
Date Tue, 02 Jun 2015 07:08:45 GMT
Repository: camel
Updated Branches:
  refs/heads/master ab224018b -> de1037475


Component docs


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

Branch: refs/heads/master
Commit: de103747504b54aee01e8ac23d5b3d2394385e36
Parents: ab22401
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Tue Jun 2 09:13:42 2015 +0200
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Tue Jun 2 09:13:42 2015 +0200

----------------------------------------------------------------------
 components/camel-grape/pom.xml                  | 22 ++++++++++++++++++++
 .../org/apache/camel/component/grape/grape.json |  2 +-
 2 files changed, 23 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/de103747/components/camel-grape/pom.xml
----------------------------------------------------------------------
diff --git a/components/camel-grape/pom.xml b/components/camel-grape/pom.xml
index 5fd3820..7a9b294 100644
--- a/components/camel-grape/pom.xml
+++ b/components/camel-grape/pom.xml
@@ -107,6 +107,28 @@
         <version>${groovy-eclipse-compiler.version}</version>
         <extensions>true</extensions>
       </plugin>
+      <plugin>
+        <groupId>com.google.code.maven-replacer-plugin</groupId>
+        <artifactId>replacer</artifactId>
+        <version>1.5.3</version>
+        <executions>
+          <execution>
+            <phase>prepare-package</phase>
+            <goals>
+              <goal>replace</goal>
+            </goals>
+          </execution>
+        </executions>
+        <configuration>
+          <file>${basedir}/target/classes/org/apache/camel/component/grape/grape.json</file>
+          <replacements>
+            <replacement>
+              <token>ARTIFACT_VERSION</token>
+              <value>${version}</value>
+            </replacement>
+          </replacements>
+        </configuration>
+      </plugin>
     </plugins>
   </build>
 

http://git-wip-us.apache.org/repos/asf/camel/blob/de103747/components/camel-grape/src/main/resources/org/apache/camel/component/grape/grape.json
----------------------------------------------------------------------
diff --git a/components/camel-grape/src/main/resources/org/apache/camel/component/grape/grape.json
b/components/camel-grape/src/main/resources/org/apache/camel/component/grape/grape.json
index 2095055..4abdbe9 100644
--- a/components/camel-grape/src/main/resources/org/apache/camel/component/grape/grape.json
+++ b/components/camel-grape/src/main/resources/org/apache/camel/component/grape/grape.json
@@ -10,7 +10,7 @@
     "javaType": "org.apache.camel.component.grape.GrapeEndpoint",
     "groupId": "org.apache.camel",
     "artifactId": "camel-grape",
-    "version": "2.16.0"
+    "version": "ARTIFACT_VERSION"
   },
   "componentProperties": {
   },


Mime
View raw message