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

Problem upgrading libjsonp-java


I'd like to upgrade libjsonp-java[1] to its latest upstream version
but I get:

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...
[INFO] Building jar: /build/libjsonp-java-1.1.2/api/target/javax.json-api-1.1.2-javadoc.jar
[INFO] ----------------------< org.glassfish:javax.json >----------------------
[INFO] Building JSR 374 (JSON Processing) Default Provider 1.1.2          [3/4]
[INFO] -------------------------------[ bundle ]-------------------------------
[WARNING] The POM for javax.json:javax.json-api:jar:debian is missing, no dependency information available
[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] JSR 374 (JSON Processing) RI ....................... SUCCESS [  0.882 s]
[INFO] JSR 374 (JSON Processing) API ...................... SUCCESS [ 15.990 s]
[INFO] JSR 374 (JSON Processing) Default Provider ......... FAILURE [  0.016 s]
[INFO] JSR 374 (JSON Processing) Media for JAX-RS 1.1 ..... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  18.266 s
[INFO] Finished at: 2019-01-14T11:37:22Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project javax.json: Could not resolve dependencies for project org.glassfish:javax.json:bundle:1.1.2: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact javax.json:javax.json-api:jar:debian has not been downloaded from it before. -> [Help 1]
[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] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :javax.json
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.dir=/build/libjsonp-java-1.1.2/debian -Dmaven.repo.local=/build/libjsonp-java-1.1.2/debian/maven-repo install javadoc:jar javadoc:aggregate -DskipTests -Dnotimestamp=true -Dlocale=en_US returned exit code 1

Any hint how to fix this.

BTW, I once injected this package since it became a Build-Depends of
some predependencies of some Debian Med packages.  However, I do not
really feel comfortable in beeing responsible for the package and would
love to have at least an additional Uploader besides me (even better
if somebody would replace my ID in Uploaders field).

Kind regards


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


Reply to: