Bug#1104356: xmlgraphics-commons: FTBFS: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-project-info-reports-plugin:jar:2.8 has not been downloaded from it before.

Lucas Nussbaum lucas at debian.org
Tue Apr 29 14:20:42 BST 2025


Source: xmlgraphics-commons
Version: 2.10-2
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20250429 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
>  debian/rules binary
> dh binary --buildsystem=maven
>    dh_update_autotools_config -O--buildsystem=maven
>    dh_autoreconf -O--buildsystem=maven
>    dh_auto_configure -O--buildsystem=maven
> 	mh_patchpoms -plibxmlgraphics-commons-java --debian-build --keep-pom-version --maven-repo=/build/reproducible-path/xmlgraphics-commons-2.10/debian/maven-repo
>    dh_auto_build -O--buildsystem=maven
> 	/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/reproducible-path/xmlgraphics-commons-2.10 -Dclassworlds.conf=/etc/maven/m2-debian.conf org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/build/reproducible-path/xmlgraphics-commons-2.10/debian -Dmaven.repo.local=/build/reproducible-path/xmlgraphics-commons-2.10/debian/maven-repo --batch-mode package javadoc:jar javadoc:aggregate -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...
> [WARNING] The POM for com.github.spotbugs:spotbugs-maven-plugin:jar:4.7.3.6 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for com.github.spotbugs:spotbugs-maven-plugin:4.7.3.6: Plugin com.github.spotbugs:spotbugs-maven-plugin:4.7.3.6 or one of its dependencies could not be resolved:
> 	Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact com.github.spotbugs:spotbugs-maven-plugin:jar:4.7.3.6 has not been downloaded from it before.
> 
> [WARNING] The POM for org.apache.maven.plugins:maven-install-plugin:jar:3.1.2 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-install-plugin:3.1.2: Plugin org.apache.maven.plugins:maven-install-plugin:3.1.2 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.apache.maven.plugins:maven-install-plugin:jar:3.1.2 has not been downloaded from it before.
> 
> [WARNING] The POM for org.apache.maven.plugins:maven-deploy-plugin:jar:3.1.2 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-deploy-plugin:3.1.2: Plugin org.apache.maven.plugins:maven-deploy-plugin:3.1.2 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.apache.maven.plugins:maven-deploy-plugin:jar:3.1.2 has not been downloaded from it before.
> 
> [WARNING] The POM for org.apache.maven.plugins:maven-site-plugin:jar:3.12.1 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-site-plugin:3.12.1: Plugin org.apache.maven.plugins:maven-site-plugin:3.12.1 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.apache.maven.plugins:maven-site-plugin:jar:3.12.1 has not been downloaded from it before.
> 
> [WARNING] The POM for org.apache.maven.plugins:maven-antrun-plugin:jar:3.1.0 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-antrun-plugin:3.1.0: Plugin org.apache.maven.plugins:maven-antrun-plugin:3.1.0 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.apache.maven.plugins:maven-antrun-plugin:jar:3.1.0 has not been downloaded from it before.
> 
> [WARNING] The POM for org.apache.maven.plugins:maven-assembly-plugin:jar:3.7.1 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-assembly-plugin:3.7.1: Plugin org.apache.maven.plugins:maven-assembly-plugin:3.7.1 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.apache.maven.plugins:maven-assembly-plugin:jar:3.7.1 has not been downloaded from it before.
> 
> [WARNING] The POM for org.apache.maven.plugins:maven-dependency-plugin:jar:3.7.0 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-dependency-plugin:3.7.0: Plugin org.apache.maven.plugins:maven-dependency-plugin:3.7.0 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.apache.maven.plugins:maven-dependency-plugin:jar:3.7.0 has not been downloaded from it before.
> 
> [WARNING] The POM for org.apache.maven.plugins:maven-release-plugin:jar:3.0.1 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-release-plugin:3.0.1: Plugin org.apache.maven.plugins:maven-release-plugin:3.0.1 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.apache.maven.plugins:maven-release-plugin:jar:3.0.1 has not been downloaded from it before.
> 
> [WARNING] The POM for org.apache.maven.plugins:maven-project-info-reports-plugin:jar:2.8 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-project-info-reports-plugin:2.8: Plugin org.apache.maven.plugins:maven-project-info-reports-plugin:2.8 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.apache.maven.plugins:maven-project-info-reports-plugin:jar:2.8 has not been downloaded from it before.
> 
> [INFO] Looking for compatible RELEASE version of plugin org.apache.maven.plugins:maven-javadoc-plugin
> [WARNING] The POM for com.github.spotbugs:spotbugs-maven-plugin:jar:4.7.3.6 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for com.github.spotbugs:spotbugs-maven-plugin:4.7.3.6: Plugin com.github.spotbugs:spotbugs-maven-plugin:4.7.3.6 or one of its dependencies could not be resolved:
> 	Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact com.github.spotbugs:spotbugs-maven-plugin:jar:4.7.3.6 has not been downloaded from it before.
> 
> [WARNING] The POM for org.apache.maven.plugins:maven-install-plugin:jar:3.1.2 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-install-plugin:3.1.2: Plugin org.apache.maven.plugins:maven-install-plugin:3.1.2 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.apache.maven.plugins:maven-install-plugin:jar:3.1.2 has not been downloaded from it before.
> 
> [WARNING] The POM for org.apache.maven.plugins:maven-deploy-plugin:jar:3.1.2 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-deploy-plugin:3.1.2: Plugin org.apache.maven.plugins:maven-deploy-plugin:3.1.2 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.apache.maven.plugins:maven-deploy-plugin:jar:3.1.2 has not been downloaded from it before.
> 
> [WARNING] The POM for org.apache.maven.plugins:maven-site-plugin:jar:3.12.1 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-site-plugin:3.12.1: Plugin org.apache.maven.plugins:maven-site-plugin:3.12.1 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.apache.maven.plugins:maven-site-plugin:jar:3.12.1 has not been downloaded from it before.
> 
> [WARNING] The POM for org.apache.maven.plugins:maven-antrun-plugin:jar:3.1.0 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-antrun-plugin:3.1.0: Plugin org.apache.maven.plugins:maven-antrun-plugin:3.1.0 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.apache.maven.plugins:maven-antrun-plugin:jar:3.1.0 has not been downloaded from it before.
> 
> [WARNING] The POM for org.apache.maven.plugins:maven-assembly-plugin:jar:3.7.1 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-assembly-plugin:3.7.1: Plugin org.apache.maven.plugins:maven-assembly-plugin:3.7.1 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.apache.maven.plugins:maven-assembly-plugin:jar:3.7.1 has not been downloaded from it before.
> 
> [WARNING] The POM for org.apache.maven.plugins:maven-dependency-plugin:jar:3.7.0 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-dependency-plugin:3.7.0: Plugin org.apache.maven.plugins:maven-dependency-plugin:3.7.0 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.apache.maven.plugins:maven-dependency-plugin:jar:3.7.0 has not been downloaded from it before.
> 
> [WARNING] The POM for org.apache.maven.plugins:maven-release-plugin:jar:3.0.1 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-release-plugin:3.0.1: Plugin org.apache.maven.plugins:maven-release-plugin:3.0.1 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.apache.maven.plugins:maven-release-plugin:jar:3.0.1 has not been downloaded from it before.
> 
> [WARNING] The POM for org.apache.maven.plugins:maven-project-info-reports-plugin:jar:2.8 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-project-info-reports-plugin:2.8: Plugin org.apache.maven.plugins:maven-project-info-reports-plugin:2.8 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.apache.maven.plugins:maven-project-info-reports-plugin:jar:2.8 has not been downloaded from it before.
> 
> [INFO] 
> [INFO] -------------< org.apache.xmlgraphics:xmlgraphics-commons >-------------
> [INFO] Building Apache XML Graphics Commons 2.10
> [INFO]   from pom.xml
> [INFO] --------------------------------[ jar ]---------------------------------
> [WARNING] The POM for com.github.spotbugs:spotbugs-maven-plugin:jar:4.7.3.6 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for com.github.spotbugs:spotbugs-maven-plugin:4.7.3.6: Plugin com.github.spotbugs:spotbugs-maven-plugin:4.7.3.6 or one of its dependencies could not be resolved:
> 	Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact com.github.spotbugs:spotbugs-maven-plugin:jar:4.7.3.6 has not been downloaded from it before.
> 
> [WARNING] The POM for org.apache.maven.plugins:maven-install-plugin:jar:3.1.2 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-install-plugin:3.1.2: Plugin org.apache.maven.plugins:maven-install-plugin:3.1.2 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.apache.maven.plugins:maven-install-plugin:jar:3.1.2 has not been downloaded from it before.
> 
> [WARNING] The POM for org.apache.maven.plugins:maven-deploy-plugin:jar:3.1.2 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-deploy-plugin:3.1.2: Plugin org.apache.maven.plugins:maven-deploy-plugin:3.1.2 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.apache.maven.plugins:maven-deploy-plugin:jar:3.1.2 has not been downloaded from it before.
> 
> [WARNING] The POM for org.apache.maven.plugins:maven-site-plugin:jar:3.12.1 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-site-plugin:3.12.1: Plugin org.apache.maven.plugins:maven-site-plugin:3.12.1 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.apache.maven.plugins:maven-site-plugin:jar:3.12.1 has not been downloaded from it before.
> 
> [WARNING] The POM for org.apache.maven.plugins:maven-antrun-plugin:jar:3.1.0 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-antrun-plugin:3.1.0: Plugin org.apache.maven.plugins:maven-antrun-plugin:3.1.0 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.apache.maven.plugins:maven-antrun-plugin:jar:3.1.0 has not been downloaded from it before.
> 
> [WARNING] The POM for org.apache.maven.plugins:maven-assembly-plugin:jar:3.7.1 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-assembly-plugin:3.7.1: Plugin org.apache.maven.plugins:maven-assembly-plugin:3.7.1 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.apache.maven.plugins:maven-assembly-plugin:jar:3.7.1 has not been downloaded from it before.
> 
> [WARNING] The POM for org.apache.maven.plugins:maven-dependency-plugin:jar:3.7.0 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-dependency-plugin:3.7.0: Plugin org.apache.maven.plugins:maven-dependency-plugin:3.7.0 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.apache.maven.plugins:maven-dependency-plugin:jar:3.7.0 has not been downloaded from it before.
> 
> [WARNING] The POM for org.apache.maven.plugins:maven-release-plugin:jar:3.0.1 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-release-plugin:3.0.1: Plugin org.apache.maven.plugins:maven-release-plugin:3.0.1 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.apache.maven.plugins:maven-release-plugin:jar:3.0.1 has not been downloaded from it before.
> 
> [WARNING] The POM for org.apache.maven.plugins:maven-project-info-reports-plugin:jar:2.8 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-project-info-reports-plugin:2.8: Plugin org.apache.maven.plugins:maven-project-info-reports-plugin:2.8 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.apache.maven.plugins:maven-project-info-reports-plugin:jar:2.8 has not been downloaded from it before.
> 
> [INFO] 
> [INFO] --- resources:3.3.1:resources (default-resources) @ xmlgraphics-commons ---
> [INFO] Copying 10 resources from src/main/resources to target/classes
> [INFO] Copying 2 resources from . to target/classes/META-INF
> [INFO] 
> [INFO] --- compiler:3.13.0:compile (default-compile) @ xmlgraphics-commons ---
> [INFO] Recompiling the module because of changed source code.
> [INFO] Compiling 317 source files with javac [debug target 1.8] to target/classes
> [INFO] /build/reproducible-path/xmlgraphics-commons-2.10/src/main/java/org/apache/xmlgraphics/io/URIResolverAdapter.java: Some input files use or override a deprecated API.
> [INFO] /build/reproducible-path/xmlgraphics-commons-2.10/src/main/java/org/apache/xmlgraphics/io/URIResolverAdapter.java: Recompile with -Xlint:deprecation for details.
> [INFO] /build/reproducible-path/xmlgraphics-commons-2.10/src/main/java/org/apache/xmlgraphics/ps/dsc/events/AbstractDSCComment.java: Some input files use unchecked or unsafe operations.
> [INFO] /build/reproducible-path/xmlgraphics-commons-2.10/src/main/java/org/apache/xmlgraphics/ps/dsc/events/AbstractDSCComment.java: Recompile with -Xlint:unchecked for details.
> [INFO] -------------------------------------------------------------
> [WARNING] COMPILATION WARNING : 
> [INFO] -------------------------------------------------------------
> [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.
> [WARNING] /build/reproducible-path/xmlgraphics-commons-2.10/src/main/java/org/apache/xmlgraphics/image/loader/impl/AbstractImageSessionContext.java:[33,21] java.security.AccessController in java.security has been deprecated and marked for removal
> [WARNING] /build/reproducible-path/xmlgraphics-commons-2.10/src/main/java/org/apache/xmlgraphics/image/loader/impl/ImageRawStream.java:[178,24] finalize() in java.lang.Object has been deprecated and marked for removal
> [WARNING] /build/reproducible-path/xmlgraphics-commons-2.10/src/main/java/org/apache/xmlgraphics/image/codec/util/SeekableStream.java:[939,20] finalize() in java.lang.Object has been deprecated and marked for removal
> [WARNING] /build/reproducible-path/xmlgraphics-commons-2.10/src/main/java/org/apache/xmlgraphics/image/codec/util/SeekableStream.java:[940,14] finalize() in java.lang.Object has been deprecated and marked for removal
> [WARNING] /build/reproducible-path/xmlgraphics-commons-2.10/src/main/java/org/apache/xmlgraphics/image/loader/impl/AbstractImageSessionContext.java:[65,25] java.security.AccessController in java.security has been deprecated and marked for removal
> [INFO] 9 warnings 
> [INFO] -------------------------------------------------------------
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR : 
> [INFO] -------------------------------------------------------------
> [ERROR] /build/reproducible-path/xmlgraphics-commons-2.10/src/main/java/org/apache/xmlgraphics/image/loader/impl/ImageLoaderRawJPEG.java:[231,19] exception java.io.IOException is never thrown in body of corresponding try statement
> [INFO] 1 error
> [INFO] -------------------------------------------------------------
> [INFO] 
> [INFO] ------------------------------------------------------------------------
> [INFO] Skipping Apache XML Graphics Commons
> [INFO] This project has been banned from the build due to previous failures.
> [INFO] ------------------------------------------------------------------------
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time:  3.221 s
> [INFO] Finished at: 2025-04-29T01:41:07Z
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.13.0:compile (default-compile) on project xmlgraphics-commons: Compilation failure
> [ERROR] /build/reproducible-path/xmlgraphics-commons-2.10/src/main/java/org/apache/xmlgraphics/image/loader/impl/ImageLoaderRawJPEG.java:[231,19] exception java.io.IOException is never thrown in body of corresponding try statement
> [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/MojoFailureException
> 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=/build/reproducible-path/xmlgraphics-commons-2.10 -Dclassworlds.conf=/etc/maven/m2-debian.conf org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/build/reproducible-path/xmlgraphics-commons-2.10/debian -Dmaven.repo.local=/build/reproducible-path/xmlgraphics-commons-2.10/debian/maven-repo --batch-mode package javadoc:jar javadoc:aggregate -DskipTests -Dnotimestamp=true -Dlocale=en_US returned exit code 1
> make: *** [debian/rules:9: binary] Error 25


The full build log is available from:
http://qa-logs.debian.net/2025/04/29/xmlgraphics-commons_2.10-2_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20250429;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20250429&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the pkg-java-maintainers mailing list