Bug#866562: maven-invoker: FTBFS: Missing Build-Depends on junit4

Daniel Schepler dschepler at gmail.com
Fri Jun 30 03:57:46 UTC 2017


Source: maven-invoker
Version: 2.2-3
Severity: serious

>From my pbuilder build log:

...
 debian/rules build
dh build --buildsystem=maven
  dh_testdir -O--buildsystem=maven
  dh_update_autotools_config -O--buildsystem=maven
  dh_auto_configure -O--buildsystem=maven
find: '/usr/share/maven-repo/org/codehaus/plexus/plexus-compiler/*/*.jar':
No such file or directory
find: '/usr/share/maven-repo/org/codehaus/plexus/plexus-compilers/*/*.jar':
No such file or directory
find: '/usr/share/maven-repo/org/codehaus/plexus/plexus-containers/*/*.jar':
No such file or directory
       mh_patchpoms -plibmaven-invoker-java --debian-build
--keep-pom-version
--maven-repo=/build/maven-invoker-2.2/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:/usr/lib/jvm/default-java/lib/tools.jar
-Dmaven.home=/usr/share/maven
-Dmaven.multiModuleProjectDirectory=/build/maven-
invoker-2.2 -Dclassworlds.conf=/etc/maven/m2-debian.conf
-Dproperties.file.manual=/build/maven-invoker-2.2/debian/maven.properties
org.codehaus.plexus.classworlds.launcher.Launcher
-s/etc/maven/settings-debian.xml -Ddebian.di
r=/build/maven-invoker-2.2/debian
-Dmaven.repo.local=/build/maven-invoker-2.2/debian/maven-repo package
-DskipTests -Dnotimestamp=true -Dlocale=en_US
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Maven Invoker 2.2
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for junit:junit:jar:4.x is missing, no dependency
information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.176 s
[INFO] Finished at: 2017-06-30T03:57:23Z
[INFO] Final Memory: 6M/150M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project maven-invoker: Could not
resolve dependencies for project
org.apache.maven.shared:maven-invoker:jar:2.2: Cannot access central
(https://repo.maven.apache.org/maven2) in offline mode a
nd the artifact junit:junit:jar:4.x 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
dh_auto_build: /usr/lib/jvm/default-java/bin/java -noverify -cp
/usr/share/maven/boot/plexus-classworlds-2.x.jar:/usr/lib/jvm/default-java/lib/tools.jar
-Dmaven.home=/usr/share/maven
-Dmaven.multiModuleProjectDirectory=/build
/maven-invoker-2.2 -Dclassworlds.conf=/etc/maven/m2-debian.conf
-Dproperties.file.manual=/build/maven-invoker-2.2/debian/maven.properties
org.codehaus.plexus.classworlds.launcher.Launcher
-s/etc/maven/settings-debian.xml -Dde
bian.dir=/build/maven-invoker-2.2/debian
-Dmaven.repo.local=/build/maven-invoker-2.2/debian/maven-repo package
-DskipTests -Dnotimestamp=true -Dlocale=en_US returned exit code 1
debian/rules:6: recipe for target 'build' failed
make: *** [build] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2
-- 
Daniel Schepler



More information about the pkg-java-maintainers mailing list