Repository: camel
Updated Branches:
  refs/heads/master e91148a05 -> 364f889fa


CAMEL-11187 fix Maven WARN message on Java 9


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

Branch: refs/heads/master
Commit: 364f889fab5b9acb63c112719e072548791ff71c
Parents: e91148a
Author: jpoth <[email protected]>
Authored: Wed May 17 14:05:09 2017 +0200
Committer: Claus Ibsen <[email protected]>
Committed: Wed May 17 15:46:09 2017 +0200

----------------------------------------------------------------------
 components/camel-spring/pom.xml | 36 ++++++++++++++----------------------
 1 file changed, 14 insertions(+), 22 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/364f889f/components/camel-spring/pom.xml
----------------------------------------------------------------------
diff --git a/components/camel-spring/pom.xml b/components/camel-spring/pom.xml
index 3a0f84a..9836390 100644
--- a/components/camel-spring/pom.xml
+++ b/components/camel-spring/pom.xml
@@ -664,9 +664,22 @@
                   <goal>run</goal>
                 </goals>
               </execution>
+              <execution>
+                <id>cpy-schema</id>
+                <phase>process-test-sources</phase>
+                <configuration>
+                  <target>
+                    <echo>Copying XSD schema to be included in JAR</echo>
+                    <move file="${project.basedir}/schema1.xsd" 
tofile="${project.build.directory}/schema/camel-spring.xsd" />
+                    <delete file="${project.basedir}/schema2.xsd"/>
+                  </target>
+                </configuration>
+                <goals>
+                  <goal>run</goal>
+                </goals>
+              </execution>
             </executions>
           </plugin>
-
           <plugin>
             <groupId>org.codehaus.mojo</groupId>
             <artifactId>exec-maven-plugin</artifactId>
@@ -684,27 +697,6 @@
               <commandlineArgs>-cp %classpath 
${schema.source.files}</commandlineArgs>
             </configuration>
           </plugin>
-          <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-antrun-plugin</artifactId>
-            <version>1.8</version>
-            <executions>
-              <execution>
-                <id>cpy-schema</id>
-                <phase>generate-test-sources</phase>
-                <configuration>
-                  <target>
-                    <echo>Copying XSD schema to be included in JAR</echo>
-                    <move file="${project.basedir}/schema1.xsd" 
tofile="${project.build.directory}/schema/camel-spring.xsd" />
-                    <delete file="${project.basedir}/schema2.xsd"/>
-                  </target>
-                </configuration>
-                <goals>
-                  <goal>run</goal>
-                </goals>
-              </execution>
-            </executions>
-          </plugin>
         </plugins>
       </build>
     </profile>

Reply via email to