camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [camel] 05/06: CAMEL-12303: Make building camel-spring and camel-blueprint work for XSD generation more cleanly
Date Wed, 28 Feb 2018 10:48:28 GMT
This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 5ec1ad1c6ef707bc7734ce95357dca558e9b346d
Author: Claus Ibsen <claus.ibsen@gmail.com>
AuthorDate: Wed Feb 28 11:44:26 2018 +0100

    CAMEL-12303: Make building camel-spring and camel-blueprint work for XSD generation more
cleanly
---
 components/camel-blueprint/pom.xml | 18 ++----------------
 1 file changed, 2 insertions(+), 16 deletions(-)

diff --git a/components/camel-blueprint/pom.xml b/components/camel-blueprint/pom.xml
index 53e0021..3c59e65 100644
--- a/components/camel-blueprint/pom.xml
+++ b/components/camel-blueprint/pom.xml
@@ -210,8 +210,9 @@
               <goal>eip-documentation-enricher</goal>
             </goals>
             <configuration>
-              <inputCamelSchemaFile>${project.build.directory}/schema/camel-blueprint.xsd</inputCamelSchemaFile>
+              <inputCamelSchemaFile>${project.build.directory}/schema/schema1.xsd</inputCamelSchemaFile>
               <outputCamelSchemaFile>${project.build.directory}/schema/camel-blueprint.xsd</outputCamelSchemaFile>
+              <deleteFilesAfterRun>${project.build.directory}/schema/schema1.xsd,${project.build.directory}/schema/schema2.xsd</deleteFilesAfterRun>
             </configuration>
           </execution>
         </executions>
@@ -382,21 +383,6 @@
                   <goal>run</goal>
                 </goals>
               </execution>
-              <execution>
-                <id>copy-schema</id>
-                <phase>process-test-sources</phase>
-                <configuration>
-                  <target>
-                    <echo>Copying XSD schema to be included in JAR</echo>
-                    <move file="${project.build.directory}/schema/schema1.xsd"
-                          tofile="${project.build.directory}/schema/camel-blueprint.xsd"/>
-                    <delete file="${project.build.directory}/schema/schema2.xsd"/>
-                  </target>
-                </configuration>
-                <goals>
-                  <goal>run</goal>
-                </goals>
-              </execution>
               <!-- after the eip-documentation-enricher we need to copy some shchema files
-->
               <execution>
                 <id>include-schemas</id>

-- 
To stop receiving notification emails like this one, please contact
davsclaus@apache.org.

Mime
View raw message