Hi, I have downloaded and tried to build libnetlib-java
When trying to build I get the error: make -f debian/rules binary dh binary --buildsystem=maven --with javahelper 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 -plibnetlib-java --debian-build --keep-pom-version --maven-repo=/home/ben/tmp/libnetlib-java/debian/maven-repo [ERROR] Cannot find parent dependency org.sonatype.oss:oss-parent:pom:7, use --no-parent option to resolve this issue or install the parent POM in the Maven repository jh_linkjars -O--buildsystem=maven debian/rules override_dh_auto_build make[1]: Entering directory '/home/ben/tmp/libnetlib-java' dh_auto_build -- install /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=/home/ben/tmp/libnetlib-java -Dclassworlds.conf=/etc/maven/m2-debian.conf org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/home/ben/tmp/libnetlib-java/debian -Dmaven.repo.local=/home/ben/tmp/libnetlib-java/debian/maven-repo install -DskipTests -Dnotimestamp=true -Dlocale=en_US [INFO] Scanning for projects... [ERROR] [ERROR] Some problems were encountered while processing the POMs: [WARNING] 'parent.relativePath' of POM com.github.fommil.netlib:generator:1.1.1 (/home/ben/tmp/libnetlib-java/generator/pom.xml) points at com.github.fommil.netlib:parent instead of org.sonatype.oss:oss-parent, please verify your project structure @ line 8, column 10 [FATAL] Non-resolvable parent POM for com.github.fommil.netlib:generator:1.1.1: Cannot access sonatype-releases ( https://oss.sonatype.org/content/repositories/releases/ ) in offline mode and the artifact org.sonatype.oss:oss-parent:pom:7 has not been downloaded from it before. and 'parent.relativePath' points at wrong local POM @ line 8, column 10 @ [ERROR] The build could not read 1 project -> [Help 1] [ERROR] [ERROR] The project com.github.fommil.netlib:generator:1.1.1 (/home/ben/tmp/libnetlib-java/generator/pom.xml) has 1 error [ERROR] Non-resolvable parent POM for com.github.fommil.netlib:generator:1.1.1: Cannot access sonatype-releases ( https://oss.sonatype.org/content/repositories/releases/ ) in offline mode and the artifact org.sonatype.oss:oss-parent:pom:7 has not been downloaded from it before. and 'parent.relativePath' points at wrong local POM @ line 8, column 10 -> [Help 2] [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 -Dmaven.multiModuleProjectDirectory=/home/ben/tmp/libnetlib-java -Dclassworlds.conf=/etc/maven/m2-debian.conf org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/home/ben/tmp/libnetlib-java/debian -Dmaven.repo.local=/home/ben/tmp/libnetlib-java/debian/maven-repo install -DskipTests -Dnotimestamp=true -Dlocale=en_US returned exit code 1 debian/rules:11: recipe for target 'override_dh_auto_build' failed make[1]: *** [override_dh_auto_build] Error 2 make[1]: Leaving directory '/home/ben/tmp/libnetlib-java' debian/rules:8: recipe for target 'binary' failed make: *** [binary] Error 2 Is this the error you are getting? >From what I see, the error message ist pretty straightforward: Cannot access sonatype-releases (https://oss.sonatype.org/content/repos itories/releases/) in offline mode and the artifact org.sonatype.oss:oss-parent:pom:7 has not been downloaded from it before. I am totally new to maven in Debian and no maven expert in general, but to me it looks like we are missing the org.sonatype.oss:oss-parent pom here? This parent pom is referenced generator/pom.xml. Which package does provide the definition for oss-parent? Regards Ben On Sun, 2016-04-10 at 09:14 +0200, Andreas Tille wrote: > On Sat, Apr 09, 2016 at 05:24:10PM +0200, Markus Koschany wrote: > > > > > > > > > > > > > https://anonscm.debian.org/cgit/pkg-java/libnetlib-java.git > > sorry I can't get it to work either. I don't understand the error > > Non-resolvable parent POM for com.github.fommil.netlib:parent and > > changing the version makes no difference. > Any other hint? I admit I'm tempted to upload an older version to > main > (from contrib) since this build issue is blocking the migration of a > chain of dependencies for to long now. :-( > > Kind regards > > Andreas. > -- Please do not send any email to ben...@gmx.net -- all email not originating from the mailing list will be deleted. Use the reply to address instead.