----- Andreas Tille <andr...@an3as.eu> a écrit : > Hi Olivier, > > On Thu, Jan 24, 2019 at 05:54:54PM +0100, Olivier Sallou wrote: > > > > should be able to add in pom.xml > > > > <properties> > > <maven.javadoc.skip>true</maven.javadoc.skip> > > </properties> > > This works (Emmanuel, just leaving out the -doc package is not > sufficient in this case). > > Unfortunately I'm running into the next issue now: > > ... > [WARNING] Failed to retrieve plugin descriptor for > org.codehaus.mojo:build-helper-maven-plugin:3.0.0: Plugin > org.codehaus.mojo:build-helper-maven-plugin:3.0.0
org.codehaus.mojo:build-helper-maven-plugin:3.0.0 is missing (i suppose, i cannot read code for the moment) in the build deoendencies. Looks to be https://packages.debian.org/source/jessie/build-helper-maven-plugin or one of its dependencies could not be resolved: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.codehaus.mojo:build-helper-maven-plugin:jar:3.0.0 has not been downloaded from it before. > [INFO] > [INFO] --- maven-source-plugin:3.0.1:jar-no-fork (attach-sources) @ json --- > [INFO] > [INFO] --- maven-install-plugin:2.5.2:install (default-install) @ json --- > [INFO] Installing /build/libjsonp-java-1.1.2/pom.xml to > /build/libjsonp-java-1.1.2/debian/maven-repo/org/glassfish/json/1.1.2/json-1.1.2.pom > [INFO] > [INFO] --- maven-javadoc-plugin:3.0.1:jar (default-cli) @ json --- > [INFO] Skipping javadoc generation > [INFO] > [INFO] ---------------------< javax.json:javax.json-api > >---------------------- > [INFO] Building JSR 374 (JSON Processing) API 1.1.2 > [2/4] > [INFO] -------------------------------[ bundle > ]------------------------------- > [INFO] > [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ > javax.json-api --- > [WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy filtered > resources, i.e. build is platform dependent! > [INFO] skip non existing resourceDirectory > /build/libjsonp-java-1.1.2/api/src/main/resources > [INFO] > [INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ > javax.json-api --- > [INFO] Changes detected - recompiling the module! > [WARNING] File encoding has not been set, using platform encoding > ANSI_X3.4-1968, i.e. build is platform dependent! > [INFO] Compiling 34 source files to > /build/libjsonp-java-1.1.2/api/target/classes > [WARNING] > /build/libjsonp-java-1.1.2/api/src/main/java/javax/json/spi/JsonProvider.java:[97,40] > newInstance() in java.lang.Class has been deprecated > [INFO] > [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) > @ javax.json-api --- > [WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy filtered > resources, i.e. build is platform dependent! > [INFO] skip non existing resourceDirectory > /build/libjsonp-java-1.1.2/api/src/test/resources > [INFO] > [INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ > javax.json-api --- > [INFO] No sources to compile > [INFO] > [INFO] --- maven-surefire-plugin:2.22.1:test (default-test) @ javax.json-api > --- > [INFO] Tests are skipped. > [INFO] > [INFO] --- maven-bundle-plugin:3.5.1:bundle (default-bundle) @ javax.json-api > --- > [INFO] > [INFO] --- maven-javadoc-plugin:3.0.1:jar (attach-javadocs) @ javax.json-api > --- > [INFO] Skipping javadoc generation > [INFO] > [INFO] --- maven-source-plugin:3.0.1:jar-no-fork (attach-sources) @ > javax.json-api --- > [INFO] Building jar: > /build/libjsonp-java-1.1.2/api/target/javax.json-api-1.1.2-sources.jar > [INFO] > [INFO] --- maven-install-plugin:2.5.2:install (default-install) @ > javax.json-api --- > [INFO] Installing > /build/libjsonp-java-1.1.2/api/target/javax.json-api-1.1.2.jar to > /build/libjsonp-java-1.1.2/debian/maven-repo/javax/json/javax.json-api/1.1.2/javax.json-api-1.1.2.jar > [INFO] Installing /build/libjsonp-java-1.1.2/api/pom.xml to > /build/libjsonp-java-1.1.2/debian/maven-repo/javax/json/javax.json-api/1.1.2/javax.json-api-1.1.2.pom > [INFO] Installing > /build/libjsonp-java-1.1.2/api/target/javax.json-api-1.1.2-sources.jar to > /build/libjsonp-java-1.1.2/debian/maven-repo/javax/json/javax.json-api/1.1.2/javax.json-api-1.1.2-sources.jar > [INFO] > [INFO] --- maven-bundle-plugin:3.5.1:install (default-install) @ > javax.json-api --- > [INFO] Writing OBR metadata > [INFO] Installing javax/json/javax.json-api/1.1.2/javax.json-api-1.1.2.jar > [INFO] Writing OBR metadata > [INFO] > [INFO] --- maven-javadoc-plugin:3.0.1:jar (default-cli) @ javax.json-api --- > [INFO] Skipping javadoc generation > [INFO] > [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] > ------------------------------------------------------------------------ > [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.418 > s] > [INFO] JSR 374 (JSON Processing) API ...................... SUCCESS [ 1.684 > s] > [INFO] JSR 374 (JSON Processing) Default Provider ......... FAILURE [ 0.003 > s] > [INFO] JSR 374 (JSON Processing) Media for JAX-RS 1.1 ..... SKIPPED > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 2.883 s > [INFO] Finished at: 2019-01-24T17:25:53Z > [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] > [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/DependencyResolutionException > [ERROR] > [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 > > > No idea what to do next. > > Kind regards > > Andreas. > > > > -- > http://fam-tille.de >