This is an automated email from the ASF dual-hosted git repository.

zregvart pushed a commit to branch jenkins-pipeline
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 6150f9b9c3d4e0f751342f18a070e6cc7d3240cd
Author: Zoran Regvart <[email protected]>
AuthorDate: Tue Feb 20 12:46:21 2018 +0100

    CAMEL-11930: camel-box and camel-linkedin make ...
    
    ...`test` goal execute successfully
    
    `camel-box` and `camel-linkedin` components uses
    `camel-api-component-maven-plugin` to generate sources, this fails if
    javadoc is not present.
    If run via `mvn install` this works as the javadoc dependency is present
    in the reactor. If run with just `mvn test` this fails as it is not.
    This moves the `maven-javadoc-plugin` to phase `generate-test-resources`
    so that it will be present when running `mvn test`.
---
 components/camel-box/camel-box-api/pom.xml           | 1 +
 components/camel-linkedin/camel-linkedin-api/pom.xml | 1 +
 2 files changed, 2 insertions(+)

diff --git a/components/camel-box/camel-box-api/pom.xml 
b/components/camel-box/camel-box-api/pom.xml
index cc10aa8..b52ffa6 100644
--- a/components/camel-box/camel-box-api/pom.xml
+++ b/components/camel-box/camel-box-api/pom.xml
@@ -50,6 +50,7 @@
         <executions>
           <execution>
             <id>add-javadoc</id>
+            <phase>generate-test-resources</phase>
             <goals>
               <goal>jar</goal>
             </goals>
diff --git a/components/camel-linkedin/camel-linkedin-api/pom.xml 
b/components/camel-linkedin/camel-linkedin-api/pom.xml
index 4c42720..3a49d71 100644
--- a/components/camel-linkedin/camel-linkedin-api/pom.xml
+++ b/components/camel-linkedin/camel-linkedin-api/pom.xml
@@ -191,6 +191,7 @@
         <executions>
           <execution>
             <id>add-javadoc</id>
+            <phase>generate-test-resources</phase>
             <goals>
               <goal>jar</goal>
             </goals>

-- 
To stop receiving notification emails like this one, please contact
[email protected].

Reply via email to