This is an automated email from the ASF dual-hosted git repository. gnodet pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git
commit af3034eadcee86e0beabfcdb869642536feb0fa7 Author: Guillaume Nodet <[email protected]> AuthorDate: Tue Mar 3 15:36:54 2020 +0100 Explicitely call the xml generation mojo --- core/camel-xml-io/pom.xml | 12 +++++++----- .../java/org/apache/camel/maven/packaging/GenerateMojo.java | 2 -- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/core/camel-xml-io/pom.xml b/core/camel-xml-io/pom.xml index 59cf830..4dea30f 100644 --- a/core/camel-xml-io/pom.xml +++ b/core/camel-xml-io/pom.xml @@ -58,13 +58,15 @@ <build> <plugins> <plugin> - <!-- The non generated code depends on the generated code, - so skip the first compilation phase --> - <artifactId>maven-compiler-plugin</artifactId> + <groupId>org.apache.camel</groupId> + <artifactId>camel-package-maven-plugin</artifactId> <executions> <execution> - <id>default-compile</id> - <phase>none</phase> + <id>generate-sources</id> + <phase>generate-sources</phase> + <goals> + <goal>generate-xml-parser</goal> + </goals> </execution> </executions> </plugin> diff --git a/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/GenerateMojo.java b/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/GenerateMojo.java index ca35ccdb..dba8ac7 100644 --- a/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/GenerateMojo.java +++ b/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/GenerateMojo.java @@ -60,8 +60,6 @@ public class GenerateMojo extends AbstractGenerateMojo { invoke(ComponentDslMojo.class); // update-readme invoke(UpdateReadmeMojo.class); - // generate-xml-parser - invoke(ModelXmlParserGeneratorMojo.class); } }
