I'm using openjdk11 latest at Ubuntu
The build passes (due to <failOnError>false</failOnError> configured
for javadoc-plugin)
But produces error I mentioned

On Thu, 18 Apr 2019 at 18:32, Martin Grigorov <[email protected]> wrote:
>
> Just tested it and again no problems here.
>
> $ git diff
> diff --git pom.xml pom.xml
> index 276cddd29..960630095 100644
> --- pom.xml
> +++ pom.xml
> @@ -1005,6 +1005,7 @@
>                                                 <doclint>none</doclint>
>                                                 <links>
>                                                         <link>
> https://docs.oracle.com/en/java/javase/11/docs/api/</link>
> +                                                       <link>
> https://docs.oracle.com/javaee/7/api/</link>
>                                                         <!-- <link>
> https://docs.oracle.com/javaee/7/api/</link>  Commented out due to
>                                                         'The code being
> documented uses modules
>                                                         but the packages
> defined in https://docs.oracle.com/javaee/7/api/ are
>
>
> On Thu, Apr 18, 2019 at 9:27 AM Maxim Solodovnik <[email protected]>
> wrote:
>
> > Thanks Martin,
> >
> > to reproduce please uncomment `<link` here
> > https://github.com/wicketstuff/core/blob/master/pom.xml#L1008
> > and check the console :)
> >
> > On Thu, 18 Apr 2019 at 13:06, Martin Grigorov <[email protected]>
> > wrote:
> > >
> > > Hi Maxim,
> > >
> > > How I can reproduce this issue ?
> > >
> > > Executing "mvn clean install" in lightbox2-parent passes for me.
> > >
> > > ...
> > > [INFO] --- maven-javadoc-plugin:3.1.0:jar (attach-javadoc) @ lightbox2
> > ---
> > > [INFO] Toolchain in maven-javadoc-plugin: JDK[/home/martin/devel/jdk-11/]
> > > [INFO] Building jar:
> > >
> > /home/martin/git/wicketstuff-core/lightbox2-parent/lightbox2/target/lightbox2-9.0.0-M1-SNAPSHOT-javadoc.jar
> > > [INFO]
> > > [INFO] --- maven-source-plugin:3.0.1:jar-no-fork (attach-sources) @
> > > lightbox2 ---
> > > [INFO] Building jar:
> > >
> > /home/martin/git/wicketstuff-core/lightbox2-parent/lightbox2/target/lightbox2-9.0.0-M1-SNAPSHOT-sources.jar
> > > [INFO]
> > > [INFO] --- maven-install-plugin:3.0.0-M1:install (default-install) @
> > > lightbox2 ---
> > > [INFO] Installing
> > >
> > /home/martin/git/wicketstuff-core/lightbox2-parent/lightbox2/target/lightbox2-9.0.0-M1-SNAPSHOT.jar
> > > to
> > >
> > /home/martin/.m2/repository/org/wicketstuff/lightbox2/9.0.0-M1-SNAPSHOT/lightbox2-9.0.0-M1-SNAPSHOT.jar
> > > [INFO] Installing
> > > /home/martin/git/wicketstuff-core/lightbox2-parent/lightbox2/pom.xml to
> > >
> > /home/martin/.m2/repository/org/wicketstuff/lightbox2/9.0.0-M1-SNAPSHOT/lightbox2-9.0.0-M1-SNAPSHOT.pom
> > > [INFO] Installing
> > >
> > /home/martin/git/wicketstuff-core/lightbox2-parent/lightbox2/target/lightbox2-9.0.0-M1-SNAPSHOT-javadoc.jar
> > > to
> > >
> > /home/martin/.m2/repository/org/wicketstuff/lightbox2/9.0.0-M1-SNAPSHOT/lightbox2-9.0.0-M1-SNAPSHOT-javadoc.jar
> > > [INFO] Installing
> > >
> > /home/martin/git/wicketstuff-core/lightbox2-parent/lightbox2/target/lightbox2-9.0.0-M1-SNAPSHOT-sources.jar
> > > to
> > >
> > /home/martin/.m2/repository/org/wicketstuff/lightbox2/9.0.0-M1-SNAPSHOT/lightbox2-9.0.0-M1-SNAPSHOT-sources.jar
> > > ...
> > >
> > >
> > > On Wed, Apr 17, 2019 at 7:33 PM Maxim Solodovnik <[email protected]>
> > > wrote:
> > >
> > > > Hello All,
> > > >
> > > > I'm preparing wicketstuff9 release, while testing the build I'm
> > > > observing following javadoc errors:
> > > >
> > > > <error>
> > > > org.apache.maven.reporting.MavenReportException:
> > > > Exit code: 1 - javadoc: error - The code being documented uses modules
> > > > but the packages defined in https://docs.oracle.com/javaee/7/api/ are
> > > > in the unnamed module.
> > > >
> > > > Command line was: /usr/lib/jvm/java-11-openjdk-amd64/bin/javadoc
> > > > -J-Xmx256m -J-Xms128m @options @packages
> > > >
> > > > Refer to the generated Javadoc files in
> > > >
> > > >
> > '/home/solomax/work/wicketstuff-core/lightbox2-parent/lightbox2/target/apidocs'
> > > > dir.
> > > > </error>
> > > >
> > > > Maybe someone knows what need to be done to eliminate this?
> > > >
> > > > --
> > > > WBR
> > > > Maxim aka solomax
> > > >
> >
> >
> >
> > --
> > WBR
> > Maxim aka solomax
> >



-- 
WBR
Maxim aka solomax

Reply via email to