Bug#1086297: modello: FTBFS: Could not resolve dependencies for project org.codehaus.modello:modello-plugin-xsd:jar:1.11
Santiago Vila
sanvila at debian.org
Tue Oct 29 18:47:41 GMT 2024
Package: src:modello
Version: 1.11-1
Severity: serious
Tags: ftbfs
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
debian/rules build
dh build
dh_update_autotools_config
dh_autoreconf
dh_auto_configure
mh_patchpoms -plibmodello-java --debian-build --keep-pom-version --maven-repo=/<<PKGBUILDDIR>>/debian/maven-repo
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=/<<PKGBUILDDIR>> -Dclassworlds.conf=/etc/maven/m2-debian.conf -Dproperties.file.manual=/<<PKGBUILDDIR>>/debian/maven.properties org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/<<PKGBUILDDIR>>/debian -Dmaven.repo.local=/<<PKGBUILDDIR>>/debian/maven-repo --batch-mode package -DskipTests -Dnotimestamp=true -Dlocale=en_US
OpenJDK 64-Bit Server VM warning: Options -Xverify:none and -noverify were deprecated in JDK 13 and will likely be removed in a future release.
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Modello [pom]
[INFO] Modello Core [jar]
[INFO] Modello Plugins [pom]
[INFO] Modello Java Plugin [jar]
[INFO] Modello XML Plugin [jar]
[INFO] Modello StAX Plugin [jar]
[INFO] Modello Model Version Converter Plugin [jar]
[INFO] Modello XSD Plugin [jar]
[INFO] Modello XDOC Plugin [jar]
[INFO] Modello XPP3 Plugin [jar]
[INFO] Modello Dom4J Plugin [jar]
[INFO] Modello JDOM Plugin [jar]
[INFO] Modello SAX Plugin [jar]
[INFO]
[INFO] --------------------< org.codehaus.modello:modello >--------------------
[INFO] Building Modello 1.11 [1/13]
[INFO] from pom.xml
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] -----------------< org.codehaus.modello:modello-core >------------------
[INFO] Building Modello Core 1.11 [2/13]
[INFO] from modello-core/pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-resources-plugin:3.3.1:resources (default-resources) @ modello-core ---
[INFO] Copying 1 resource from src/main/resources to target/classes
[INFO]
[INFO] --- maven-compiler-plugin:3.13.0:compile (default-compile) @ modello-core ---
[INFO] Recompiling the module because of changed source code.
[INFO] Compiling 44 source files with javac [debug target 1.7] to target/classes
Use of target 1.7 is no longer supported, switching to 8
Use of source 1.7 is no longer supported, switching to 8
[WARNING] bootstrap class path not set in conjunction with -source 8
[WARNING] source value 8 is obsolete and will be removed in a future release
[WARNING] target value 8 is obsolete and will be removed in a future release
[WARNING] To suppress warnings about obsolete options, use -Xlint:-options.
[INFO] /<<PKGBUILDDIR>>/modello-core/src/main/java/org/codehaus/modello/core/DefaultModelloCore.java: /<<PKGBUILDDIR>>/modello-core/src/main/java/org/codehaus/modello/core/DefaultModelloCore.java uses or overrides a deprecated API.
[INFO] /<<PKGBUILDDIR>>/modello-core/src/main/java/org/codehaus/modello/core/DefaultModelloCore.java: Recompile with -Xlint:deprecation for details.
[INFO]
[INFO] --- maven-resources-plugin:3.3.1:testResources (default-testResources) @ modello-core ---
[INFO] Not copying test resources
[INFO]
[INFO] --- maven-compiler-plugin:3.13.0:testCompile (default-testCompile) @ modello-core ---
[INFO] Not compiling test sources
[INFO]
[INFO] --- maven-surefire-plugin:2.22.3:test (default-test) @ modello-core ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:3.3.0:jar (default-jar) @ modello-core ---
[INFO] Building jar: /<<PKGBUILDDIR>>/modello-core/target/modello-core-1.11.jar
[INFO]
[INFO] ----------------< org.codehaus.modello:modello-plugins >----------------
[INFO] Building Modello Plugins 1.11 [3/13]
[INFO] from modello-plugins/pom.xml
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --------------< org.codehaus.modello:modello-plugin-java >--------------
[INFO] Building Modello Java Plugin 1.11 [4/13]
[INFO] from modello-plugins/modello-plugin-java/pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-resources-plugin:3.3.1:resources (default-resources) @ modello-plugin-java ---
[INFO] Copying 1 resource from src/main/resources to target/classes
[INFO]
[INFO] --- maven-compiler-plugin:3.13.0:compile (default-compile) @ modello-plugin-java ---
[INFO] Recompiling the module because of changed dependency.
[INFO] Compiling 32 source files with javac [debug target 1.7] to target/classes
Use of target 1.7 is no longer supported, switching to 8
Use of source 1.7 is no longer supported, switching to 8
[WARNING] bootstrap class path not set in conjunction with -source 8
[WARNING] source value 8 is obsolete and will be removed in a future release
[WARNING] target value 8 is obsolete and will be removed in a future release
[WARNING] To suppress warnings about obsolete options, use -Xlint:-options.
[INFO] /<<PKGBUILDDIR>>/modello-plugins/modello-plugin-java/src/main/java/org/codehaus/modello/plugin/java/javasource/JClass.java: Some input files use or override a deprecated API.
[INFO] /<<PKGBUILDDIR>>/modello-plugins/modello-plugin-java/src/main/java/org/codehaus/modello/plugin/java/javasource/JClass.java: Recompile with -Xlint:deprecation for details.
[INFO]
[INFO] --- maven-resources-plugin:3.3.1:testResources (default-testResources) @ modello-plugin-java ---
[INFO] Not copying test resources
[INFO]
[INFO] --- maven-dependency-plugin:3.8.1:copy-dependencies (copy-test-libs) @ modello-plugin-java ---
[INFO]
[INFO] --- maven-compiler-plugin:3.13.0:testCompile (default-testCompile) @ modello-plugin-java ---
[INFO] Not compiling test sources
[INFO]
[INFO] --- maven-surefire-plugin:2.22.3:test (default-test) @ modello-plugin-java ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:3.3.0:jar (default-jar) @ modello-plugin-java ---
[INFO] Building jar: /<<PKGBUILDDIR>>/modello-plugins/modello-plugin-java/target/modello-plugin-java-1.11.jar
[INFO]
[INFO] --------------< org.codehaus.modello:modello-plugin-xml >---------------
[INFO] Building Modello XML Plugin 1.11 [5/13]
[INFO] from modello-plugins/modello-plugin-xml/pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-resources-plugin:3.3.1:resources (default-resources) @ modello-plugin-xml ---
[INFO] Copying 2 resources from src/main/resources to target/classes
[INFO]
[INFO] --- maven-compiler-plugin:3.13.0:compile (default-compile) @ modello-plugin-xml ---
[INFO] Recompiling the module because of changed dependency.
[INFO] Compiling 9 source files with javac [debug target 1.7] to target/classes
Use of target 1.7 is no longer supported, switching to 8
Use of source 1.7 is no longer supported, switching to 8
[WARNING] bootstrap class path not set in conjunction with -source 8
[WARNING] source value 8 is obsolete and will be removed in a future release
[WARNING] target value 8 is obsolete and will be removed in a future release
[WARNING] To suppress warnings about obsolete options, use -Xlint:-options.
[INFO]
[INFO] --- maven-resources-plugin:3.3.1:testResources (default-testResources) @ modello-plugin-xml ---
[INFO] Not copying test resources
[INFO]
[INFO] --- maven-compiler-plugin:3.13.0:testCompile (default-testCompile) @ modello-plugin-xml ---
[INFO] Not compiling test sources
[INFO]
[INFO] --- maven-surefire-plugin:2.22.3:test (default-test) @ modello-plugin-xml ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:3.3.0:jar (default-jar) @ modello-plugin-xml ---
[INFO] Building jar: /<<PKGBUILDDIR>>/modello-plugins/modello-plugin-xml/target/modello-plugin-xml-1.11.jar
[INFO]
[INFO] --------------< org.codehaus.modello:modello-plugin-stax >--------------
[INFO] Building Modello StAX Plugin 1.11 [6/13]
[INFO] from modello-plugins/modello-plugin-stax/pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-resources-plugin:3.3.1:resources (default-resources) @ modello-plugin-stax ---
[INFO] Copying 1 resource from src/main/resources to target/classes
[INFO]
[INFO] --- maven-compiler-plugin:3.13.0:compile (default-compile) @ modello-plugin-stax ---
[INFO] Recompiling the module because of changed dependency.
[INFO] Compiling 6 source files with javac [debug target 1.7] to target/classes
Use of target 1.7 is no longer supported, switching to 8
Use of source 1.7 is no longer supported, switching to 8
[WARNING] bootstrap class path not set in conjunction with -source 8
[WARNING] source value 8 is obsolete and will be removed in a future release
[WARNING] target value 8 is obsolete and will be removed in a future release
[WARNING] To suppress warnings about obsolete options, use -Xlint:-options.
[INFO]
[INFO] --- maven-resources-plugin:3.3.1:testResources (default-testResources) @ modello-plugin-stax ---
[INFO] Not copying test resources
[INFO]
[INFO] --- maven-dependency-plugin:3.8.1:copy-dependencies (copy-test-libs) @ modello-plugin-stax ---
[INFO]
[INFO] --- maven-compiler-plugin:3.13.0:testCompile (default-testCompile) @ modello-plugin-stax ---
[INFO] Not compiling test sources
[INFO]
[INFO] --- maven-surefire-plugin:2.22.3:test (default-test) @ modello-plugin-stax ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:3.3.0:jar (default-jar) @ modello-plugin-stax ---
[INFO] Building jar: /<<PKGBUILDDIR>>/modello-plugins/modello-plugin-stax/target/modello-plugin-stax-1.11.jar
[INFO]
[INFO] -----------< org.codehaus.modello:modello-plugin-converters >-----------
[INFO] Building Modello Model Version Converter Plugin 1.11 [7/13]
[INFO] from modello-plugins/modello-plugin-converters/pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-resources-plugin:3.3.1:resources (default-resources) @ modello-plugin-converters ---
[INFO] Copying 1 resource from src/main/resources to target/classes
[INFO]
[INFO] --- maven-compiler-plugin:3.13.0:compile (default-compile) @ modello-plugin-converters ---
[INFO] Recompiling the module because of changed dependency.
[INFO] Compiling 1 source file with javac [debug target 1.7] to target/classes
Use of target 1.7 is no longer supported, switching to 8
Use of source 1.7 is no longer supported, switching to 8
[WARNING] bootstrap class path not set in conjunction with -source 8
[WARNING] source value 8 is obsolete and will be removed in a future release
[WARNING] target value 8 is obsolete and will be removed in a future release
[WARNING] To suppress warnings about obsolete options, use -Xlint:-options.
[INFO] /<<PKGBUILDDIR>>/modello-plugins/modello-plugin-converters/src/main/java/org/codehaus/modello/plugin/converters/ConverterGenerator.java: /<<PKGBUILDDIR>>/modello-plugins/modello-plugin-converters/src/main/java/org/codehaus/modello/plugin/converters/ConverterGenerator.java uses or overrides a deprecated API.
[INFO] /<<PKGBUILDDIR>>/modello-plugins/modello-plugin-converters/src/main/java/org/codehaus/modello/plugin/converters/ConverterGenerator.java: Recompile with -Xlint:deprecation for details.
[INFO]
[INFO] --- maven-resources-plugin:3.3.1:testResources (default-testResources) @ modello-plugin-converters ---
[INFO] Not copying test resources
[INFO]
[INFO] --- maven-dependency-plugin:3.8.1:copy-dependencies (copy-test-libs) @ modello-plugin-converters ---
[INFO]
[INFO] --- maven-compiler-plugin:3.13.0:testCompile (default-testCompile) @ modello-plugin-converters ---
[INFO] Not compiling test sources
[INFO]
[INFO] --- maven-surefire-plugin:2.22.3:test (default-test) @ modello-plugin-converters ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:3.3.0:jar (default-jar) @ modello-plugin-converters ---
[INFO] Building jar: /<<PKGBUILDDIR>>/modello-plugins/modello-plugin-converters/target/modello-plugin-converters-1.11.jar
[INFO]
[INFO] --------------< org.codehaus.modello:modello-plugin-xsd >---------------
[INFO] Building Modello XSD Plugin 1.11 [8/13]
[INFO] from modello-plugins/modello-plugin-xsd/pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[WARNING] The POM for xml-apis:xml-apis:jar:debian is missing, no dependency information available
[WARNING] The POM for xerces:xercesImpl:jar:debian is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Modello 1.11:
[INFO]
[INFO] Modello ............................................ SUCCESS [ 0.001 s]
[INFO] Modello Core ....................................... SUCCESS [ 2.598 s]
[INFO] Modello Plugins .................................... SUCCESS [ 0.001 s]
[INFO] Modello Java Plugin ................................ SUCCESS [ 1.648 s]
[INFO] Modello XML Plugin ................................. SUCCESS [ 0.262 s]
[INFO] Modello StAX Plugin ................................ SUCCESS [ 0.429 s]
[INFO] Modello Model Version Converter Plugin ............. SUCCESS [ 0.237 s]
[INFO] Modello XSD Plugin ................................. FAILURE [ 0.009 s]
[INFO] Modello XDOC Plugin ................................ SKIPPED
[INFO] Modello XPP3 Plugin ................................ SKIPPED
[INFO] Modello Dom4J Plugin ............................... SKIPPED
[INFO] Modello JDOM Plugin ................................ SKIPPED
[INFO] Modello SAX Plugin ................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.449 s
[INFO] Finished at: 2024-10-29T07:41:22Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project modello-plugin-xsd: Could not resolve dependencies for project org.codehaus.modello:modello-plugin-xsd:jar:1.11: The following artifacts could not be resolved: xml-apis:xml-apis:jar:debian, xerces:xercesImpl:jar:debian: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact xml-apis:xml-apis: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 <args> -rf :modello-plugin-xsd
dh_auto_build: error: /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=/<<PKGBUILDDIR>> -Dclassworlds.conf=/etc/maven/m2-debian.conf -Dproperties.file.manual=/<<PKGBUILDDIR>>/debian/maven.properties org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/<<PKGBUILDDIR>>/debian -Dmaven.repo.local=/<<PKGBUILDDIR>>/debian/maven-repo --batch-mode package -DskipTests -Dnotimestamp=true -Dlocale=en_US returned exit code 1
make: *** [debian/rules:4: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
--------------------------------------------------------------------------------
The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202410/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.
Thanks.
More information about the pkg-java-maintainers
mailing list