[Debian-med-packaging] Need help to upgrade libnetlib-java package

Andreas Tille andreas at an3as.eu
Thu Jan 28 19:55:47 UTC 2016


Hi,

I'm in the process to upgrade libnetlib-java and when doing so moving it
from Debian Med team to Debian Java team.  The build system has switched
from ant to maven.  I've commited my current work to pkg-java git[1].

The build ends currently up with


...
   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 -plibnetlib-java --debian-build --keep-pom-version --maven-repo=/build/netlib-java-1.1.2/debian/maven-repo
[ERROR] Cannot find parent dependency com.github.fommil.netlib:parent:pom:debian, use --no-parent option to resolve this issue or install the parent POM in the Maven repository
   jh_linkjars -O--buildsystem=maven
   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.m
[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for com.github.fommil.netlib:core:1.1.1: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact com.github.fommi
 @.
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]...
[ERROR]   The project com.github.fommil.netlib:core:1.1.1 (/build/netlib-java-1.1.2/core/pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM for com.github.fommil.netlib:core:1.1.1: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact com.github.f
[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/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
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 -D
debian/rules:8: recipe for target 'build' failed


I neither understand why plexus-containers jars are not found nor
why com.github.fommil.netlib POMs can not be accessed (isn't this
in the very same source tree?)

Any help is welcome.

Kind regards

         Andreas.

[1] https://anonscm.debian.org/pkg-java/libnetlib-java.git

-- 
http://fam-tille.de



More information about the Debian-med-packaging mailing list