Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.java > #9022
| Path | csiph.com!feeder.erje.net!2.us.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!news.mixmin.net!aioe.org!gothmog.csi.it!bofh.it!news.nic.it!robomod |
|---|---|
| From | Andreas Tille <andreas@an3as.eu> |
| Newsgroups | linux.debian.maint.java |
| Subject | Re: Need help to upgrade libnetlib-java package |
| Date | Tue, 12 Apr 2016 10:10:02 +0200 |
| Message-ID | <rn1yy-3Sy-5@gated-at.bofh.it> (permalink) |
| References | <qW3y1-1JH-5@gated-at.bofh.it> <qWd4m-cs-27@gated-at.bofh.it> <qXuPx-WW-13@gated-at.bofh.it> <qXuZb-112-1@gated-at.bofh.it> <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> <rmjnP-2jY-1@gated-at.bofh.it> |
| X-Mailbox-Line | From debian-java-request@lists.debian.org Tue Apr 12 08:05:30 2016 |
| Old-Return-Path | <andreas@an3as.eu> |
| X-Amavis-Spam-Status | No, score=-7.776 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, FOURLA=0.1, LDO_WHITELIST=-5, MURPHY_DRUGS_REL8=0.02, MURPHY_SCAM1=0.1, RP_MATCHES_RCVD=-0.996] autolearn=ham autolearn_force=no |
| X-Policyd-Weight | using cached result; rate: -6.1 |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8 |
| Content-Disposition | inline |
| Content-Transfer-Encoding | 8bit |
| User-Agent | Mutt/1.5.23 (2014-03-12) |
| X-Mailing-List | <debian-java@lists.debian.org> archive/latest/19348 |
| List-ID | <debian-java.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-java/> |
| List-Archive | https://lists.debian.org/msgid-search/20160412080510.GC27092@an3as.eu |
| Approved | robomod@news.nic.it |
| Lines | 76 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Cc | Debian Java List <debian-java@lists.debian.org> |
| X-Original-Date | Tue, 12 Apr 2016 10:05:10 +0200 |
| X-Original-Message-ID | <20160412080510.GC27092@an3as.eu> |
| X-Original-References | <56AA99D0.80701@apache.org> <20160129084953.GT2043@an3as.eu> <20160201220136.GA22689@an3as.eu> <56AFD8C8.20809@debian.org> <20160405093509.GC21481@an3as.eu> <57038F1C.6060406@debian.org> <20160405110208.GD26908@an3as.eu> <57091E9A.7040901@debian.org> <20160410071437.GD31278@an3as.eu> <1460278689.1559.16.camel@gmx.net> |
| Xref | csiph.com linux.debian.maint.java:9022 |
Show key headers only | View raw
Hi Benjamin,
On Sun, Apr 10, 2016 at 10:58:09AM +0200, Benjamin Mesing wrote:
> I have downloaded and tried to build libnetlib-java
Thanks for your attempt to help.
> 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?
Yes.
> 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?
This might be a hint. When seeking with apt-file for sonatype I find
several packages featuring some maven files in a dir sonytype. Most
promising looks:
libsisu-maven-plugin-java: /usr/share/maven-repo/org/sonatype/plugins/sisu-maven-plugin/1.1/sisu-maven-plugin-1.1.jar
libsisu-maven-plugin-java: /usr/share/maven-repo/org/sonatype/plugins/sisu-maven-plugin/1.1/sisu-maven-plugin-1.1.pom
When adding libsisu-maven-plugin-java to the Build-Depends of
libnetlib-java the very same error remains. Any better ideas?
Kind regards
Andreas.
--
http://fam-tille.de
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