[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Attempt to upgrade libjsonp-java - help needed



Hi,

I intend to update libjsonp-java but if I try to build the current state
in Git[1] I get:

...
Building index for all classes...
Generating /build/libjsonp-java-1.1.2/api/target/apidocs/allclasses.html...
Generating /build/libjsonp-java-1.1.2/api/target/apidocs/allclasses.html...
Generating /build/libjsonp-java-1.1.2/api/target/apidocs/index.html...
Generating /build/libjsonp-java-1.1.2/api/target/apidocs/overview-summary.html...
Generating /build/libjsonp-java-1.1.2/api/target/apidocs/help-doc.html...
1 error
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Skipping JSR 374 (JSON Processing) RI
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for JSR 374 (JSON Processing) RI 1.1.2:
[INFO] 
[INFO] JSR 374 (JSON Processing) RI ....................... SUCCESS [  0.698 s]
[INFO] JSR 374 (JSON Processing) API ...................... FAILURE [  5.640 s]
[INFO] JSR 374 (JSON Processing) Default Provider ......... SKIPPED
[INFO] JSR 374 (JSON Processing) Media for JAX-RS 1.1 ..... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  7.423 s
[INFO] Finished at: 2019-01-24T10:23:58Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:3.0.1:jar (attach-javadocs) on project javax.json-api: MavenReportException: Error while generating Javadoc: 
[ERROR] Exit code: 1 - javadoc: error - The code being documented uses modules but the packages defined in https://docs.oracle.com/javase/8/docs/api/ are in the unnamed module.
[ERROR] 
[ERROR] Command line was: /usr/lib/jvm/java-11-openjdk-amd64/bin/javadoc @options @packages
[ERROR] 
[ERROR] Refer to the generated Javadoc files in '/build/libjsonp-java-1.1.2/api/target/apidocs' dir.
[ERROR] 
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :javax.json-api
dh_auto_build: /usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven/boot/plexus-classworlds-2.x.jar -Dmaven.home=/usr/share/maven -Dmaven.multiModuleProjectDirectory=/build/libjsonp-java-1.1.2 -Dclassworlds.conf=/etc/maven/m2-debian.conf -Dproperties.file.manual=/build/libjsonp-java-1.1.2/debian/maven.properties org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.d


I somehow heard that building documentation packages has no real
priority any more if the effort that is caused exceeds a certain limit.
I'm on my limit here and it would help if you either have a quick and
simple hint how to fix the default build or what might be a
straightforward way to skip the doc creation and make the build
successful that way.

Kind regards

      Andreas.


[1] https://salsa.debian.org/java-team/libjsonp-java

-- 
http://fam-tille.de


Reply to: