Hi Claus,

I've looked into this again and realized that the WARNINGs in the
Javadoc creation phase will break the build during release creation. I
am still getting a longer list of Javadoc WARNINGs when I run `mvnw
javadoc:javadoc` on `/camel/core/camel-endpointdsl`:

[...]
[WARNING] Javadoc Warnings
[WARNING] javadoc: warning - Multiple sources of package comments
found for package "javax.annotation"
[WARNING] 
/git/camel/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/AMQPEndpointBuilderFactory.java:5603:
warning: no @return
[WARNING] default AMQPEndpointBuilder amqp(String path) {
[WARNING] ^
[WARNING] 
/git/camel/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/AMQPEndpointBuilderFactory.java:5629:
warning: no @return
[WARNING] default AMQPEndpointBuilder amqp(String componentName, String path) {
[...]

Thanks,
Gregor

On Mon, Dec 14, 2020 at 8:06 PM Gregor Zurowski

<gre...@list.zurowski.org> wrote:
>
> Hi Claus,
>
> Thank you so much for your fast response and the fix for this. It is
> not an issue for the 3.7.0 release, but mostly for a new build setup I
> am working on. As mentioned in my initial post, I am using Java 8
> there, but it seems also picky about those Javadoc annotations.  I
> just checked out your code and I am able to build without issues now.
>
> Thanks again.
>
> Gregor
>
> On Mon, Dec 14, 2020 at 8:01 PM Claus Ibsen <claus.ib...@gmail.com> wrote:
> >
> > Hi Gregor
> >
> > Okay so the javadoc issue has been fixed. There are about 7 commits on
> > the 3.7.x branch with CAMEL-15946 as prefix that all together fixes
> > this.
> >
> > On Mon, Dec 14, 2020 at 4:00 PM Gregor Zurowski
> > <gre...@list.zurowski.org> wrote:
> > >
> > > Hi Everyone:
> > >
> > > I am getting the following error when building Javadoc for DSL Endpoint:
> > >
> > > ===
> > > [ERROR] Failed to execute goal
> > > org.apache.maven.plugins:maven-javadoc-plugin:3.2.0:javadoc
> > > (default-cli) on project camel-endpointdsl: An error has occurred in
> > > Javadoc report generation:
> > > [ERROR] Exit code: 1 - javadoc: warning - Multiple sources of package
> > > comments found for package "javax.annotation"
> > > ===
> > >
> > > I am using OpenJDK 1.8.0_275.
> > >
> > > Has anybody seen this issue before?
> > >
> > > Thanks in advance,
> > > Gregor
> >
> >
> >
> > --
> > Claus Ibsen
> > -----------------
> > http://davsclaus.com @davsclaus
> > Camel in Action 2: https://www.manning.com/ibsen2

Reply via email to