Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.java > #9016
| From | Benjamin Mesing <ben-ml@gmx.net> |
|---|---|
| Newsgroups | linux.debian.maint.java |
| Subject | Re: Need help to upgrade libnetlib-java package |
| Date | 2016-04-10 11:00 +0200 |
| Message-ID | <rmjnP-2jY-1@gated-at.bofh.it> (permalink) |
| References | (6 earlier) <rkvCN-Zu-1@gated-at.bofh.it> <rkwfv-1wZ-1@gated-at.bofh.it> <rkx1U-2hc-15@gated-at.bofh.it> <rm2ZI-78t-15@gated-at.bofh.it> <rmirN-1DO-15@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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-ml@gmx.net -- all email not
originating from the mailing list will be deleted. Use the reply to
address instead.
Back to linux.debian.maint.java | Previous | Next — Previous in thread | Next in thread | Find similar
Need help to upgrade libnetlib-java package Andreas Tille <andreas@an3as.eu> - 2016-01-28 21:00 +0100
Need help to upgrade libmtj-java package Andreas Tille <andreas@an3as.eu> - 2016-01-28 21:50 +0100
Re: Need help to upgrade libmtj-java package Emmanuel Bourg <ebourg@apache.org> - 2016-01-28 22:20 +0100
Re: Need help to upgrade libnetlib-java package Emmanuel Bourg <ebourg@apache.org> - 2016-01-28 22:00 +0100
Re: Need help to upgrade libnetlib-java package Andreas Tille <andreas@an3as.eu> - 2016-01-28 22:40 +0100
Re: Need help to upgrade libnetlib-java package Emmanuel Bourg <ebourg@apache.org> - 2016-01-28 23:50 +0100
Re: Need help to upgrade libnetlib-java package Andreas Tille <andreas@an3as.eu> - 2016-01-29 10:00 +0100
Re: Need help to upgrade libnetlib-java package Andreas Tille <andreas@an3as.eu> - 2016-02-01 23:10 +0100
Re: Need help to upgrade libnetlib-java package Markus Koschany <apo@debian.org> - 2016-02-01 23:20 +0100
Re: Need help to upgrade libnetlib-java package Andreas Tille <tille@debian.org> - 2016-02-02 08:30 +0100
Re: Need help to upgrade libnetlib-java package Andreas Tille <tille@debian.org> - 2016-04-05 11:40 +0200
Re: Need help to upgrade libnetlib-java package Markus Koschany <apo@debian.org> - 2016-04-05 12:20 +0200
Re: Need help to upgrade libnetlib-java package Andreas Tille <andreas@an3as.eu> - 2016-04-05 13:10 +0200
Re: Need help to upgrade libnetlib-java package Markus Koschany <apo@debian.org> - 2016-04-09 17:30 +0200
Re: Need help to upgrade libnetlib-java package Andreas Tille <andreas@an3as.eu> - 2016-04-10 10:00 +0200
Re: Need help to upgrade libnetlib-java package Benjamin Mesing <ben-ml@gmx.net> - 2016-04-10 11:00 +0200
Re: Need help to upgrade libnetlib-java package Andreas Tille <andreas@an3as.eu> - 2016-04-12 10:10 +0200
Re: Need help to upgrade libnetlib-java package Benjamin Mesing <ben-ml@gmx.net> - 2016-04-16 18:30 +0200
Re: Need help to upgrade libnetlib-java package Andreas Tille <andreas@an3as.eu> - 2016-04-19 10:10 +0200
Re: Need help to upgrade libnetlib-java package Benjamin Mesing <ben-ml@gmx.net> - 2016-04-19 22:30 +0200
Re: Need help to upgrade libnetlib-java package Olivier Sallou <olivier.sallou@irisa.fr> - 2016-04-20 07:10 +0200
Re: Need help to upgrade libnetlib-java package Andreas Tille <andreas@an3as.eu> - 2016-04-21 21:50 +0200
Re: Need help to upgrade libnetlib-java package Olivier Sallou <olivier.sallou@irisa.fr> - 2016-04-22 17:50 +0200
How to propagate mvn options to debhelper (Was: Need help to upgrade libnetlib-java package) Andreas Tille <andreas@an3as.eu> - 2016-04-22 21:30 +0200
Fwd: How to propagate mvn options to debhelper (Was: Need help to upgrade libnetlib-java package) Olivier Sallou <olivier.sallou@irisa.fr> - 2016-04-22 23:20 +0200
Re: Fwd: How to propagate mvn options to debhelper (Was: Need help to upgrade libnetlib-java package) Andreas Tille <andreas@an3as.eu> - 2016-04-23 01:00 +0200
Re: Fwd: How to propagate mvn options to debhelper (Was: Need help to upgrade libnetlib-java package) Emmanuel Bourg <ebourg@apache.org> - 2016-04-23 01:10 +0200
Re: Fwd: How to propagate mvn options to debhelper (Was: Need help to upgrade libnetlib-java package) Andreas Tille <andreas@an3as.eu> - 2016-04-23 07:50 +0200
Re: Fwd: How to propagate mvn options to debhelper (Was: Need help to upgrade libnetlib-java package) Andreas Tille <andreas@an3as.eu> - 2016-04-26 15:40 +0200
Re: Fwd: How to propagate mvn options to debhelper (Was: Need help to upgrade libnetlib-java package) Emmanuel Bourg <ebourg@apache.org> - 2016-04-26 16:10 +0200
Re: Need help to upgrade libnetlib-java package Markus Koschany <apo@debian.org> - 2016-04-10 19:00 +0200
Re: Need help to upgrade libnetlib-java package Andreas Tille <tille@debian.org> - 2016-04-12 10:10 +0200
Re: Need help to upgrade libnetlib-java package Andreas Tille <tille@debian.org> - 2016-04-19 10:00 +0200
csiph-web