Bug#1028727: maven-debian-helper: FTBFS: [java] [main] WARNING org.apache.maven.plugin.prefix.internal.DefaultPluginPrefixResolver - Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-release-plugin:2.5.3: Plugin org.apache.maven.plugins:maven-release-plugin:2.5.3 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:2.5.3 has not been downloaded from it before.

Lucas Nussbaum lucas at debian.org
Sat Jan 14 12:48:11 GMT 2023


Source: maven-debian-helper
Version: 2.6.1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20230113 ftbfs-bookworm

Hi,

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


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> # Generation of man pages
> mkdir -p debian/generated-manpages
> help2man -N -o debian/generated-manpages/mh_genrules.1             bin/mh_genrules
> help2man -N -o debian/generated-manpages/mh_lspoms.1               bin/mh_lspoms
> help2man -N -o debian/generated-manpages/mh_make.1                 bin/mh_make
> help2man -N -o debian/generated-manpages/mh_resolve_dependencies.1 bin/mh_resolve_dependencies
> dh_auto_build -- package -Dpackage=maven-debian-helper -Dbin.package=maven-debian-helper
> 	ant -Duser.name debian package -Dpackage=maven-debian-helper -Dbin.package=maven-debian-helper
> Buildfile: /<<PKGBUILDDIR>>/build.xml
> 
> package:
> 
> init.pom:
>      [echo] Base dir is /<<PKGBUILDDIR>>
>      [echo] Pom name in /<<PKGBUILDDIR>>/debian/maven-debian-helper.poms: pom.xml
>      [echo] Pom file pom.xml available? true
> 
> read.pom:
>     [mkdir] Created dir: /<<PKGBUILDDIR>>/debian/.mh
>      [echo] Cleaner options: --no-parent --has-package-version
>      [java] Cleaning POM /<<PKGBUILDDIR>>/pom.xml, saving the result into /<<PKGBUILDDIR>>/debian/.mh/pom.xml
>      [java] maven.rules:
>      [java]   junit junit jar s/4\..*/4.x/
>      [java]   org.apache.maven maven-* * s/.*/3.x/ * *
>      [java] ---------
>      [java] Rules file does not exist: /<<PKGBUILDDIR>>/debian/maven.publishedRules
>      [copy] Copying 1 file to /<<PKGBUILDDIR>>
>      [copy] Copying 1 file to /<<PKGBUILDDIR>>
>      [echo] Properties read from the POM file:
>      [echo]   groupId: org.debian.maven, artifactId: maven-debian, version: 2.6, debianVersion: debian
> 
> init:
>      [echo] Compile classpath: target/classes:
>      [echo] Test classpath: target/test-classes:/usr/share/java/junit4.jar:target/classes:
> 
> process-resources:
> 
> process-pom:
>     [mkdir] Created dir: /<<PKGBUILDDIR>>/target/classes/META-INF/maven/org.debian.maven/maven-debian
>      [copy] Copying 2 files to /<<PKGBUILDDIR>>/target/classes/META-INF/maven/org.debian.maven/maven-debian
> 
> mvn-generate:
> 
> mvn-generate2:
> 
> compile:
> 
> process-classes:
> 
> process-test-resources:
> 
> test-compile:
> 
> test:
> 
> jar:
>       [jar] Building jar: /<<PKGBUILDDIR>>/target/maven-debian-2.6.jar
> 
> mvn-package:
> 
> restore-pom:
> 
> package:
> 
> local-install:
>     [mkdir] Created dir: /<<PKGBUILDDIR>>/debian/.mh/maven-repo/org/debian/maven/maven-debian/debian
>      [copy] Copying 1 file to /<<PKGBUILDDIR>>/debian/.mh/maven-repo/org/debian/maven/maven-debian/debian
> 
> package-and-local-install:
> 
> init.pom:
>      [echo] Base dir is /<<PKGBUILDDIR>>/maven-debian-helper
>      [echo] Pom name in /<<PKGBUILDDIR>>/debian/maven-debian-helper.poms: maven-debian-helper/pom.xml
>      [echo] Pom file pom.xml available? true
> 
> read.pom:
>      [echo] Cleaner options: --has-package-version --artifact=maven-debian-helper/target/maven-debian-helper-*.jar --java-lib --keep-parent-version
>      [java] Cleaning POM /<<PKGBUILDDIR>>/maven-debian-helper/pom.xml, saving the result into /<<PKGBUILDDIR>>/debian/.mh/pom.xml
>      [java] maven.rules:
>      [java]   junit junit jar s/4\..*/4.x/
>      [java]   org.apache.maven maven-* * s/.*/3.x/ * *
>      [java] ---------
>      [java] Rules file does not exist: /<<PKGBUILDDIR>>/debian/maven.publishedRules
>      [copy] Copying 1 file to /<<PKGBUILDDIR>>/maven-debian-helper
>      [copy] Copying 1 file to /<<PKGBUILDDIR>>/maven-debian-helper
>      [echo] Properties read from the POM file:
>      [echo]   groupId: org.debian.maven, artifactId: maven-debian-helper, version: 2.6, debianVersion: debian
> 
> init:
>      [echo] Compile classpath: target/classes:
>      [echo] Test classpath: target/test-classes:/usr/share/java/junit4.jar:target/classes:
> 
> process-resources:
> 
> process-pom:
>     [mkdir] Created dir: /<<PKGBUILDDIR>>/maven-debian-helper/target/classes/META-INF/maven/org.debian.maven/maven-debian-helper
>      [copy] Copying 2 files to /<<PKGBUILDDIR>>/maven-debian-helper/target/classes/META-INF/maven/org.debian.maven/maven-debian-helper
> 
> mvn-generate:
> 
> mvn-generate2:
> 
> compile:
>     [mkdir] Created dir: /<<PKGBUILDDIR>>/maven-debian-helper/target/generated-sources
>     [javac] /usr/share/maven-ant-helper/maven-build.xml:357: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
>     [javac] Using javac -source 1.6 is no longer supported, switching to 7
>     [javac] Using javac -target 1.6 is no longer supported, switching to 7
>     [javac] Compiling 2 source files to /<<PKGBUILDDIR>>/maven-debian-helper/target/classes
>     [javac] Note: /<<PKGBUILDDIR>>/maven-debian-helper/src/main/java/org/debian/maven/Wrapper.java uses or overrides a deprecated API.
>     [javac] Note: Recompile with -Xlint:deprecation for details.
> 
> process-classes:
> 
> process-test-resources:
> 
> test-compile:
> 
> test:
> 
> jar:
>       [jar] Building jar: /<<PKGBUILDDIR>>/maven-debian-helper/target/maven-debian-helper-2.6.jar
> 
> mvn-package:
> 
> restore-pom:
> 
> package:
> 
> local-install:
>     [mkdir] Created dir: /<<PKGBUILDDIR>>/debian/.mh/maven-repo/org/debian/maven/maven-debian-helper/debian
>      [copy] Copying 1 file to /<<PKGBUILDDIR>>/debian/.mh/maven-repo/org/debian/maven/maven-debian-helper/debian
>      [copy] Copying 1 file to /<<PKGBUILDDIR>>/debian/.mh/maven-repo/org/debian/maven/maven-debian-helper/debian
> 
> package-and-local-install:
> 
> init.pom:
>      [echo] Base dir is /<<PKGBUILDDIR>>/debian-maven-plugin
>      [echo] Pom name in /<<PKGBUILDDIR>>/debian/maven-debian-helper.poms: debian-maven-plugin/pom.xml
>      [echo] Pom file pom.xml available? true
> 
> read.pom:
>      [echo] Cleaner options: --has-package-version --artifact=debian-maven-plugin/target/debian-maven-plugin-*.jar --java-lib --keep-parent-version
>      [java] Cleaning POM /<<PKGBUILDDIR>>/debian-maven-plugin/pom.xml, saving the result into /<<PKGBUILDDIR>>/debian/.mh/pom.xml
>      [java] maven.rules:
>      [java]   junit junit jar s/4\..*/4.x/
>      [java]   org.apache.maven maven-* * s/.*/3.x/ * *
>      [java] ---------
>      [java] Rules file does not exist: /<<PKGBUILDDIR>>/debian/maven.publishedRules
>      [copy] Copying 1 file to /<<PKGBUILDDIR>>/debian-maven-plugin
>      [copy] Copying 1 file to /<<PKGBUILDDIR>>/debian-maven-plugin
>      [echo] Properties read from the POM file:
>      [echo]   groupId: org.debian.maven, artifactId: debian-maven-plugin, version: 2.6, debianVersion: 2.6
> 
> init:
>      [echo] Compile classpath: target/classes:
>      [echo] Test classpath: target/test-classes:/usr/share/java/junit4.jar:target/classes:
> 
> process-resources:
> 
> process-pom:
>     [mkdir] Created dir: /<<PKGBUILDDIR>>/debian-maven-plugin/target/classes/META-INF/maven/org.debian.maven/debian-maven-plugin
>      [copy] Copying 2 files to /<<PKGBUILDDIR>>/debian-maven-plugin/target/classes/META-INF/maven/org.debian.maven/debian-maven-plugin
> 
> mvn-generate:
> 
> mvn-generate2:
> 
> compile:
>     [mkdir] Created dir: /<<PKGBUILDDIR>>/debian-maven-plugin/target/generated-sources
>     [javac] /usr/share/maven-ant-helper/maven-build.xml:357: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
>     [javac] Using javac -source 1.6 is no longer supported, switching to 7
>     [javac] Using javac -target 1.6 is no longer supported, switching to 7
>     [javac] Compiling 10 source files to /<<PKGBUILDDIR>>/debian-maven-plugin/target/classes
>     [javac] Note: /<<PKGBUILDDIR>>/debian-maven-plugin/src/main/java/org/debian/maven/plugin/SysInstallMojo.java uses or overrides a deprecated API.
>     [javac] Note: Recompile with -Xlint:deprecation for details.
> 
> process-classes:
>      [echo] Processing compiled classes with plugin:descriptor...
> 
> mvn-shared-repo:
> 
> mvn-local-repo:
>      [copy] Copying 1004 files to /<<PKGBUILDDIR>>/debian/.mh/maven-repo
>      [java] [main] INFO org.apache.maven.cli.MavenCli - Error stacktraces are turned on.
>      [java] [main] INFO org.apache.maven.cli.event.ExecutionEventLogger - Scanning for projects...
>      [java] [main] WARNING org.codehaus.plexus.PlexusContainer - The POM for org.apache.maven.plugins:maven-clean-plugin:jar:2.5 is missing, no dependency information available
>      [java] [main] WARNING org.apache.maven.plugin.prefix.internal.DefaultPluginPrefixResolver - Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-clean-plugin:2.5: Plugin org.apache.maven.plugins:maven-clean-plugin:2.5 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-clean-plugin:jar:2.5 has not been downloaded from it before.
>      [java] [main] WARNING org.codehaus.plexus.PlexusContainer - The POM for org.apache.maven.plugins:maven-resources-plugin:jar:2.6 is missing, no dependency information available
>      [java] [main] WARNING org.apache.maven.plugin.prefix.internal.DefaultPluginPrefixResolver - Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-resources-plugin:2.6: Plugin org.apache.maven.plugins:maven-resources-plugin:2.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 org.apache.maven.plugins:maven-resources-plugin:jar:2.6 has not been downloaded from it before.
>      [java] [main] WARNING org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver - The artifact org.apache.maven.plugins:maven-jar-plugin:jar:2.4 has been relocated to org.apache.maven.plugins:maven-jar-plugin:jar:3.3.0
>      [java] [main] WARNING org.apache.maven.plugin.prefix.internal.DefaultPluginPrefixResolver - Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-plugin-plugin:3.2: Plugin org.apache.maven.plugins:maven-plugin-plugin:3.2 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-plugin-plugin:jar:3.2
>      [java] [main] WARNING org.codehaus.plexus.PlexusContainer - The POM for org.apache.maven.plugins:maven-compiler-plugin:jar:3.1 is missing, no dependency information available
>      [java] [main] WARNING org.apache.maven.plugin.prefix.internal.DefaultPluginPrefixResolver - Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-compiler-plugin:3.1: Plugin org.apache.maven.plugins:maven-compiler-plugin:3.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-compiler-plugin:jar:3.1 has not been downloaded from it before.
>      [java] [main] WARNING org.codehaus.plexus.PlexusContainer - The POM for org.apache.maven.plugins:maven-surefire-plugin:jar:2.12.4 is missing, no dependency information available
>      [java] [main] WARNING org.apache.maven.plugin.prefix.internal.DefaultPluginPrefixResolver - Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-surefire-plugin:2.12.4: Plugin org.apache.maven.plugins:maven-surefire-plugin:2.12.4 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-surefire-plugin:jar:2.12.4 has not been downloaded from it before.
>      [java] [main] WARNING org.codehaus.plexus.PlexusContainer - The POM for org.apache.maven.plugins:maven-install-plugin:jar:2.4 is missing, no dependency information available
>      [java] [main] WARNING org.apache.maven.plugin.prefix.internal.DefaultPluginPrefixResolver - Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-install-plugin:2.4: Plugin org.apache.maven.plugins:maven-install-plugin:2.4 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:2.4 has not been downloaded from it before.
>      [java] [main] WARNING org.codehaus.plexus.PlexusContainer - The POM for org.apache.maven.plugins:maven-deploy-plugin:jar:2.7 is missing, no dependency information available
>      [java] [main] WARNING org.apache.maven.plugin.prefix.internal.DefaultPluginPrefixResolver - Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-deploy-plugin:2.7: Plugin org.apache.maven.plugins:maven-deploy-plugin:2.7 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:2.7 has not been downloaded from it before.
>      [java] [main] WARNING org.codehaus.plexus.PlexusContainer - The POM for org.apache.maven.plugins:maven-site-plugin:jar:3.3 is missing, no dependency information available
>      [java] [main] WARNING org.apache.maven.plugin.prefix.internal.DefaultPluginPrefixResolver - Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-site-plugin:3.3: Plugin org.apache.maven.plugins:maven-site-plugin:3.3 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.3 has not been downloaded from it before.
>      [java] [main] WARNING org.codehaus.plexus.PlexusContainer - The POM for org.apache.maven.plugins:maven-antrun-plugin:jar:1.3 is missing, no dependency information available
>      [java] [main] WARNING org.apache.maven.plugin.prefix.internal.DefaultPluginPrefixResolver - Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-antrun-plugin:1.3: Plugin org.apache.maven.plugins:maven-antrun-plugin:1.3 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:1.3 has not been downloaded from it before.
>      [java] [main] WARNING org.codehaus.plexus.PlexusContainer - The POM for org.apache.maven.plugins:maven-assembly-plugin:jar:2.2-beta-5 is missing, no dependency information available
>      [java] [main] WARNING org.apache.maven.plugin.prefix.internal.DefaultPluginPrefixResolver - Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-5: Plugin org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-5 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:2.2-beta-5 has not been downloaded from it before.
>      [java] [main] WARNING org.codehaus.plexus.PlexusContainer - The POM for org.apache.maven.plugins:maven-dependency-plugin:jar:2.8 is missing, no dependency information available
>      [java] [main] WARNING org.apache.maven.plugin.prefix.internal.DefaultPluginPrefixResolver - Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-dependency-plugin:2.8: Plugin org.apache.maven.plugins:maven-dependency-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-dependency-plugin:jar:2.8 has not been downloaded from it before.
>      [java] [main] WARNING org.codehaus.plexus.PlexusContainer - The POM for org.apache.maven.plugins:maven-release-plugin:jar:2.5.3 is missing, no dependency information available
>      [java] [main] WARNING org.apache.maven.plugin.prefix.internal.DefaultPluginPrefixResolver - Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-release-plugin:2.5.3: Plugin org.apache.maven.plugins:maven-release-plugin:2.5.3 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:2.5.3 has not been downloaded from it before.
>      [java] [main] INFO org.apache.maven.cli.event.ExecutionEventLogger - ------------------------------------------------------------------------
>      [java] [main] INFO org.apache.maven.cli.event.ExecutionEventLogger - BUILD FAILURE
>      [java] [main] INFO org.apache.maven.cli.event.ExecutionEventLogger - ------------------------------------------------------------------------
>      [java] [main] INFO org.apache.maven.cli.event.ExecutionEventLogger - Total time:  0.135 s
>      [java] [main] INFO org.apache.maven.cli.event.ExecutionEventLogger - Finished at: 2023-01-13T20:32:41Z
>      [java] [main] INFO org.apache.maven.cli.event.ExecutionEventLogger - ------------------------------------------------------------------------
>      [java] [main] ERROR org.apache.maven.cli.MavenCli - No plugin found for prefix 'plugin' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (/<<PKGBUILDDIR>>/debian/.mh/maven-repo), central (https://repo.maven.apache.org/maven2)] -> [Help 1]
>      [java] org.apache.maven.plugin.prefix.NoPluginFoundForPrefixException: No plugin found for prefix 'plugin' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (/<<PKGBUILDDIR>>/debian/.mh/maven-repo), central (https://repo.maven.apache.org/maven2)]
>      [java]     at org.apache.maven.plugin.prefix.internal.DefaultPluginPrefixResolver.resolve (DefaultPluginPrefixResolver.java:95)
>      [java]     at org.apache.maven.lifecycle.internal.MojoDescriptorCreator.findPluginForPrefix (MojoDescriptorCreator.java:266)
>      [java]     at org.apache.maven.lifecycle.internal.MojoDescriptorCreator.getMojoDescriptor (MojoDescriptorCreator.java:220)
>      [java]     at org.apache.maven.lifecycle.internal.DefaultLifecycleTaskSegmentCalculator.calculateTaskSegments (DefaultLifecycleTaskSegmentCalculator.java:104)
>      [java]     at org.apache.maven.lifecycle.internal.DefaultLifecycleTaskSegmentCalculator.calculateTaskSegments (DefaultLifecycleTaskSegmentCalculator.java:83)
>      [java]     at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:89)
>      [java]     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:298)
>      [java]     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
>      [java]     at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
>      [java]     at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960)
>      [java]     at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
>      [java]     at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
>      [java]     at org.apache.maven.cli.MavenCli.main (MavenCli.java:185)
>      [java] [main] ERROR org.apache.maven.cli.MavenCli - 
>      [java] [main] ERROR org.apache.maven.cli.MavenCli - Re-run Maven using the -X switch to enable full debug logging.
>      [java] [main] ERROR org.apache.maven.cli.MavenCli - 
>      [java] [main] ERROR org.apache.maven.cli.MavenCli - For more information about the errors and possible solutions, please read the following articles:
>      [java] [main] ERROR org.apache.maven.cli.MavenCli - [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/NoPluginFoundForPrefixException
> 
> BUILD FAILED
> /<<PKGBUILDDIR>>/build.xml:53: The following error occurred while executing this line:
> /<<PKGBUILDDIR>>/build.xml:33: The following error occurred while executing this line:
> /usr/share/maven-ant-helper/maven-build.xml:365: The following error occurred while executing this line:
> /usr/share/maven-ant-helper/maven-build.xml:333: The following error occurred while executing this line:
> /usr/share/maven-ant-helper/maven-build.xml:309: Java returned: 1
> 
> Total time: 3 seconds
> dh_auto_build: error: ant -Duser.name debian package -Dpackage=maven-debian-helper -Dbin.package=maven-debian-helper returned exit code 1
> make[1]: *** [debian/rules:28: override_dh_auto_build] Error 25


The full build log is available from:
http://qa-logs.debian.net/2023/01/13/maven-debian-helper_2.6.1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230113;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230113&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