You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2016/03/31 14:47:16 UTC
camel git commit: CAMEL-9764: Include missing metadata properties
files in camel-core after build system change
Repository: camel
Updated Branches:
refs/heads/master 798f6c452 -> 646b40c7f
CAMEL-9764: Include missing metadata properties files in camel-core after build system change
Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/646b40c7
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/646b40c7
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/646b40c7
Branch: refs/heads/master
Commit: 646b40c7f6df542ede92502fa39559f36f1e47d8
Parents: 798f6c4
Author: Claus Ibsen <da...@apache.org>
Authored: Thu Mar 31 14:47:02 2016 +0200
Committer: Claus Ibsen <da...@apache.org>
Committed: Thu Mar 31 14:47:02 2016 +0200
----------------------------------------------------------------------
camel-core/pom.xml | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/camel/blob/646b40c7/camel-core/pom.xml
----------------------------------------------------------------------
diff --git a/camel-core/pom.xml b/camel-core/pom.xml
index f69c447..b0612b3 100644
--- a/camel-core/pom.xml
+++ b/camel-core/pom.xml
@@ -245,6 +245,34 @@
</execution>
</executions>
</plugin>
+
+ <!-- include additional metadata from target/generated into the camel-core JAR -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>include-metadata</id>
+ <phase>package</phase>
+ <configuration>
+ <target>
+ <echo>Including metadata properties files in camel-core.jar</echo>
+ <jar destfile="${project.build.directory}/${project.artifactId}-${project.version}.jar"
+ update="true">
+ <fileset dir="${basedir}/target/generated/camel/components/" includes="**/*"/>
+ <fileset dir="${basedir}/target/generated/camel/dataformats/" includes="**/*"/>
+ <fileset dir="${basedir}/target/generated/camel/languages/" includes="**/*"/>
+ <fileset dir="${basedir}/target/generated/camel/models/" includes="**/*"/>
+ </jar>
+ </target>
+ </configuration>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+
<!-- generate the attached tests jar -->
<plugin>
<artifactId>maven-jar-plugin</artifactId>
@@ -262,6 +290,12 @@
</configuration>
</plugin>
+ <!--<classesDirectory>${project.build.outputDirectory}</classesDirectory>-->
+ <!--<classesDirectory>${project.build}/generated/camel/components</classesDirectory>-->
+ <!--<classesDirectory>${project.build}/generated/camel/dataformats</classesDirectory>-->
+ <!--<classesDirectory>${project.build}/generated/camel/languages</classesDirectory>-->
+ <!--<classesDirectory>${project.build}/generated/camel/models</classesDirectory>-->
+
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>