You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by zr...@apache.org on 2018/02/20 11:56:57 UTC

[camel] 02/02: CAMEL-11930: camel-box and camel-linkedin make ...

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 54dfb4517d43e07468b712da95d9d88914d93f89
Author: Zoran Regvart <zr...@apache.org>
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
zregvart@apache.org.