As the failure still occurs, I took a look and was able to replicate it locally.

It occurs if I execute |"mvn test|" (like jenkins does) and do not have |camel-as2-api-2.22.0-SNAPSHOT-javadoc.jar| in my local maven repository.

If I execute |"mvn install|" the build works.

For some reason the javadoc artifact is not downloaded from the camel snapshot repository.

What is confusing me, is that the build of |camel-box| does not display the same problem, even though is very similar.


Am 02.05.2018 um 09:18 schrieb Claus Ibsen:
Hi

Andrea found out that missing docs is a problem, so we can just add an
basic doc file in the src/main/docs folder to make the build work.

Andrea maybe you can do this?

On Sun, Apr 29, 2018 at 2:42 PM, Pascal Schumacher
<pascalschumac...@gmx.net> wrote:
Hello everybody,

since the camel-as2 component was added, all master builds on
builds.apache.org fail with:

[INFO] BUILD FAILURE
...
[ERROR] Failed to execute goal
org.apache.camel:camel-api-component-maven-plugin:2.22.0-SNAPSHOT:fromApis
(generate-test-component-classes) on project camel-as2:
Error generating source for
org.apache.camel.component.as2.api.AS2ClientManager:
No public non-static methods found, make sure Javadoc is available as
project test dependency -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
goal
org.apache.camel:camel-api-component-maven-plugin:2.22.0-SNAPSHOT:fromApis
(generate-test-component-classes) on project camel-as2:
Error generating source for
org.apache.camel.component.as2.api.AS2ClientManager: No public non-static
methods found, make sure Javadoc is available as project test dependency

See e.g.:
https://builds.apache.org/view/C/view/Apache%20Camel/job/Camel/job/master/256/console

I guess something was forgotten when adding the component? It would be great
if somebody could fix this.

Thanks,

Pascal




Reply via email to