Bug#866567: sisu-maven-plugin: FTBFS: Missing Build-Depends on junit4

Daniel Schepler dschepler at gmail.com
Fri Jun 30 04:57:32 UTC 2017


Source: sisu-maven-plugin
Version: 1.1-2
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 -plibsisu-maven-plugin-java --debian-build
--keep-pom-version
--maven-repo=/build/sisu-maven-plugin-1.1/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/sisu-m
aven-plugin-1.1 -Dclassworlds.conf=/etc/maven/m2-debian.conf
-Dproperties.file.manual=/build/sisu-maven-plugin-1.1/debian/maven.properties
org.codehaus.plexus.classworlds.launcher.Launcher
-s/etc/maven/settings-debian.xml -Dd
ebian.dir=/build/sisu-maven-plugin-1.1/debian
-Dmaven.repo.local=/build/sisu-maven-plugin-1.1/debian/maven-repo
package -DskipTests -Dnotimestamp=true -Dlocale=en_US
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Sisu Maven Plugin 1.1
[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.270 s
[INFO] Finished at: 2017-06-30T04:55:31Z
[INFO] Final Memory: 7M/150M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project sisu-maven-plugin: Could not
resolve dependencies for project
org.sonatype.plugins:sisu-maven-plugin:maven-plugin:1.1: Cannot access
central (https://repo.maven.apache.org/maven2) in
offline mode and 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
/sisu-maven-plugin-1.1 -Dclassworlds.conf=/etc/maven/m2-debian.conf
-Dproperties.file.manual=/build/sisu-maven-plugin-1.1/debian/maven.properties
org.codehaus.plexus.classworlds.launcher.Launcher
-s/etc/maven/settings-debian.
xml -Ddebian.dir=/build/sisu-maven-plugin-1.1/debian
-Dmaven.repo.local=/build/sisu-maven-plugin-1.1/debian/maven-repo
package -DskipTests -Dnotimestamp=true -Dlocale=en_US returned exit
code 1
debian/rules:4: 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