Hi,

I intended to update the backport of htsjdk.  Since this Build-Depends
testng (>= 6.9.9) and Jessie has only 6.8.8-4 I intended to backport
testng.  Unfortunately I was running into a build problem:

...
dh_auto_build: Compatibility levels before 9 are deprecated (level 7 in use)
        /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/testng-6.9.12 
-Dclassworlds.conf=/etc/maven/m2-debian.conf 
-Dproperties.file.manual=/build/testng-6.9.12/debian/maven.properties 
org.codehaus.plexus.classworlds.launcher.Launcher 
-s/etc/maven/settings-debian.xml -Ddebian.dir=/build/testng-6.9.12/debian 
-Dmaven.repo.local=/build/testng-6.9.12/debian/maven-repo package -DskipTests 
-Dnotimestamp=true -Dlocale=en_US
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building TestNG 6.9.12-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- build-helper-maven-plugin:1.8:add-source (default) @ testng ---
[INFO] Source directory: /build/testng-6.9.12/target/generated-sources/version 
added.
[INFO] 
[INFO] --- maven-resources-plugin:2.3:resources (default-resources) @ testng ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource to 
/build/testng-6.9.12/target/generated-sources/version
[INFO] Copying 15 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ testng ---
[INFO] Compiling 358 source files to /build/testng-6.9.12/target/classes
[INFO] 
[INFO] --- maven-bundle-plugin:2.3.7:manifest (bundle-manifest) @ testng ---
[WARNING] The POM for biz.aQute:bndlib:jar:debian is missing, no dependency 
information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.923 s
[INFO] Finished at: 2017-06-07T11:31:18+00:00
[INFO] Final Memory: 13M/217M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.apache.felix:maven-bundle-plugin:2.3.7:manifest (bundle-manifest) on 
project testng: Execution bundle-manifest of goal 
org.apache.felix:maven-bundle-plugin:2.3.7:manifest failed: Plugin 
org.apache.felix:maven-bundle-plugin:2.3.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 biz.aQute:bndlib: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/PluginResolutionException
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/testng-6.9.12 
-Dclassworlds.conf=/etc/maven/m2-debian.conf 
-Dproperties.file.manual=/build/testng-6.9.12/debian/maven.properties 
org.codehaus.plexus.classworlds.launcher.Launcher 
-s/etc/maven/settings-debian.xml -Ddebian.dir=/build/testng-6.9.12/debian 
-Dmaven.repo.local=/build/testng-6.9.12/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
...


Do you have any hint how to solve this?

Kind regards

       Andreas.




-- 
http://fam-tille.de

Reply via email to