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

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


The following commit(s) were added to refs/heads/master by this push:
     new 20700b8  CAMEL-11930: camel-box and camel-linkedin make ...
20700b8 is described below

commit 20700b84f84f6fd1c37c929930a72f8120a5e800
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