Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.java > #8766 > unrolled thread
| Started by | Andreas Tille <andreas@an3as.eu> |
|---|---|
| First post | 2016-01-28 21:00 +0100 |
| Last post | 2016-04-19 10:00 +0200 |
| Articles | 13 on this page of 33 — 6 participants |
Back to article view | Back to linux.debian.maint.java
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
Page 2 of 2 — ← Prev page 1 [2]
| From | Olivier Sallou <olivier.sallou@irisa.fr> |
|---|---|
| Date | 2016-04-20 07:10 +0200 |
| Message-ID | <rpSyK-2vk-3@gated-at.bofh.it> |
| In reply to | #9043 |
----- Mail original ----- > De: "Benjamin Mesing" <ben-ml@gmx.net> > À: "Andreas Tille" <andreas@an3as.eu>, "Debian Java List" <debian-java@lists.debian.org>, "Debian Med Packaging Team" > <debian-med-packaging@lists.alioth.debian.org> > Envoyé: Mardi 19 Avril 2016 22:29:12 > Objet: Re: Need help to upgrade libnetlib-java package > > Hi Andreas, > > > > [WARNING] The POM for org.apache.maven.plugins:maven-install- > > > plugin:jar:2.5.2 is missing, no dependency information > > > available > > > and later on > > > [ERROR] Plugin org.apache.maven.plugins:maven-install-plugin:2.5.2 > > > or one of its dependencies could not be resolved: Cannot access > > > central ( https://repo.maven.apache.org/maven2 ) in offline > > > mode and > > > the artifact org.apache.maven.plugins:maven-install-plugin:jar:2.5.2 > > > has not been downloaded from it before. -> [Help 1] > > > This happens, even after I installed maven-install-plugin which I find > > > rather strange. > > > > > > Maybe this brings you a step closer and you have an idea how to go on. > > This sounds like a probable alternative. If there is no better idea I > > might start with packaging it from here[1]. However, it also might be > > avoidable according to this mail[2] - so there might be a way to > > circumvent packaging more and more stuff I do not really understand. > > > > Any further hint? > > No, not really. My gut feeling too is, that packing oss-parent is not > required. To me it looks like something in the Debian specific setup of > the maven dependencies of libnetlib-java is missing, but I do not see > what. You probably need to figure out the root cause, why installing > maven-install-plugin does not help in finding the maven-plugin. Maybe > it is some setup here that is missing somewhere. I think this plugin is used in the maven "workflow", at install time only, which should not be needed or required in Debian build workflow. Maybe adding property in mvn command "-Dmaven.install.skip=true" would help skipping this. Olivier > > Good Luck > > Benjamin > > > -- > 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. > > >
[toc] | [prev] | [next] | [standalone]
| From | Andreas Tille <andreas@an3as.eu> |
|---|---|
| Date | 2016-04-21 21:50 +0200 |
| Message-ID | <rqsLV-6db-25@gated-at.bofh.it> |
| In reply to | #9044 |
On Wed, Apr 20, 2016 at 07:03:31AM +0200, Olivier Sallou wrote:
> > No, not really. My gut feeling too is, that packing oss-parent is not
> > required. To me it looks like something in the Debian specific setup of
> > the maven dependencies of libnetlib-java is missing, but I do not see
> > what. You probably need to figure out the root cause, why installing
> > maven-install-plugin does not help in finding the maven-plugin. Maybe
> > it is some setup here that is missing somewhere.
>
> I think this plugin is used in the maven "workflow", at install time only, which should not be needed or required in Debian build workflow.
> Maybe adding property in mvn command "-Dmaven.install.skip=true" would help skipping this.
Sounds promising - but how do I specify this?
Sorry for my ignorance
Andreas.
--
http://fam-tille.de
[toc] | [prev] | [next] | [standalone]
| From | Olivier Sallou <olivier.sallou@irisa.fr> |
|---|---|
| Date | 2016-04-22 17:50 +0200 |
| Message-ID | <rqLvd-49a-55@gated-at.bofh.it> |
| In reply to | #9046 |
On 04/21/2016 09:47 PM, Andreas Tille wrote: > On Wed, Apr 20, 2016 at 07:03:31AM +0200, Olivier Sallou wrote: >>> No, not really. My gut feeling too is, that packing oss-parent is not >>> required. To me it looks like something in the Debian specific setup of >>> the maven dependencies of libnetlib-java is missing, but I do not see >>> what. You probably need to figure out the root cause, why installing >>> maven-install-plugin does not help in finding the maven-plugin. Maybe >>> it is some setup here that is missing somewhere. >> I think this plugin is used in the maven "workflow", at install time only, which should not be needed or required in Debian build workflow. >> Maybe adding property in mvn command "-Dmaven.install.skip=true" would help skipping this. > Sounds promising - but how do I specify this? Do you use mvn command in d/rules or only debian helpers? If you use mvn, just add this after mvn, else I do not know how to specify extra parameters for Debian java helpers. Olivier > > Sorry for my ignorance > > Andreas. > -- Olivier Sallou IRISA / University of Rennes 1 Campus de Beaulieu, 35000 RENNES - FRANCE Tel: 02.99.84.71.95 gpg key id: 4096R/326D8438 (keyring.debian.org) Key fingerprint = 5FB4 6F83 D3B9 5204 6335 D26D 78DC 68DB 326D 8438
[toc] | [prev] | [next] | [standalone]
| From | Andreas Tille <andreas@an3as.eu> |
|---|---|
| Date | 2016-04-22 21:30 +0200 |
| Subject | How to propagate mvn options to debhelper (Was: Need help to upgrade libnetlib-java package) |
| Message-ID | <rqOW6-7cw-11@gated-at.bofh.it> |
| In reply to | #9047 |
On Fri, Apr 22, 2016 at 05:46:30PM +0200, Olivier Sallou wrote:
> >> I think this plugin is used in the maven "workflow", at install time only, which should not be needed or required in Debian build workflow.
> >> Maybe adding property in mvn command "-Dmaven.install.skip=true" would help skipping this.
> > Sounds promising - but how do I specify this?
> Do you use mvn command in d/rules or only debian helpers? If you use
> mvn, just add this after mvn, else I do not know how to specify extra
> parameters for Debian java helpers.
I'm using plain javahelper. The following failed:
diff --git a/debian/rules b/debian/rules
index bde0193..eadfd0b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,5 +8,5 @@
dh $@ --buildsystem=maven --with javahelper
override_dh_auto_build:
- dh_auto_build -- install
+ dh_auto_build -- install -Dmaven.install.skip=true
Any better hint how to propagate mvn options
Andreas.
--
http://fam-tille.de
[toc] | [prev] | [next] | [standalone]
| From | Olivier Sallou <olivier.sallou@irisa.fr> |
|---|---|
| Date | 2016-04-22 23:20 +0200 |
| Subject | Fwd: How to propagate mvn options to debhelper (Was: Need help to upgrade libnetlib-java package) |
| Message-ID | <rqQEx-6f-3@gated-at.bofh.it> |
| In reply to | #9048 |
----- Mail transféré ----- > De: "Andreas Tille" <andreas@an3as.eu> > À: "Debian Java List" <debian-java@lists.debian.org> > Cc: "Debian Med Packaging Team" <debian-med-packaging@lists.alioth.debian.org> > Envoyé: Vendredi 22 Avril 2016 21:25:43 > Objet: How to propagate mvn options to debhelper (Was: Need help to upgrade libnetlib-java package) > > On Fri, Apr 22, 2016 at 05:46:30PM +0200, Olivier Sallou wrote: > > >> I think this plugin is used in the maven "workflow", at install time > > >> only, which should not be needed or required in Debian build workflow. > > >> Maybe adding property in mvn command "-Dmaven.install.skip=true" would > > >> help skipping this. > > > Sounds promising - but how do I specify this? > > Do you use mvn command in d/rules or only debian helpers? If you use > > mvn, just add this after mvn, else I do not know how to specify extra > > parameters for Debian java helpers. > > I'm using plain javahelper. The following failed: > > diff --git a/debian/rules b/debian/rules > index bde0193..eadfd0b 100755 > --- a/debian/rules > +++ b/debian/rules > @@ -8,5 +8,5 @@ > dh $@ --buildsystem=maven --with javahelper > > override_dh_auto_build: > - dh_auto_build -- install > + dh_auto_build -- install -Dmaven.install.skip=true > > > > Any better hint how to propagate mvn options Looking at code of maven-debian-helper [0] it seems we can set some mvn cmd line args with env variable DEB_MAVEN_ARGS However I never used it, nor found any doc for this (and expected workaround option is good...) [0] https://github.com/Debian/maven-debian-helper/blob/master/share/cdbs/1/class/maven-vars.mk > > Andreas. > > -- > http://fam-tille.de > >
[toc] | [prev] | [next] | [standalone]
| From | Andreas Tille <andreas@an3as.eu> |
|---|---|
| Date | 2016-04-23 01:00 +0200 |
| Subject | Re: Fwd: How to propagate mvn options to debhelper (Was: Need help to upgrade libnetlib-java package) |
| Message-ID | <rqSdk-17n-11@gated-at.bofh.it> |
| In reply to | #9049 |
On Fri, Apr 22, 2016 at 11:19:18PM +0200, Olivier Sallou wrote:
> >
> > On Fri, Apr 22, 2016 at 05:46:30PM +0200, Olivier Sallou wrote:
> > > >> I think this plugin is used in the maven "workflow", at install time
> > > >> only, which should not be needed or required in Debian build workflow.
> > > >> Maybe adding property in mvn command "-Dmaven.install.skip=true" would
> > > >> help skipping this.
> > > > Sounds promising - but how do I specify this?
> > > Do you use mvn command in d/rules or only debian helpers? If you use
> > > mvn, just add this after mvn, else I do not know how to specify extra
> > > parameters for Debian java helpers.
> >
> > I'm using plain javahelper. The following failed:
> >
> > diff --git a/debian/rules b/debian/rules
> > index bde0193..eadfd0b 100755
> > --- a/debian/rules
> > +++ b/debian/rules
> > @@ -8,5 +8,5 @@
> > dh $@ --buildsystem=maven --with javahelper
> >
> > override_dh_auto_build:
> > - dh_auto_build -- install
> > + dh_auto_build -- install -Dmaven.install.skip=true
> >
> >
> >
> > Any better hint how to propagate mvn options
>
> Looking at code of maven-debian-helper [0] it seems we can set some mvn cmd line args with env variable DEB_MAVEN_ARGS
> However I never used it, nor found any doc for this (and expected workaround option is good...)
I tried
--- a/debian/rules
+++ b/debian/rules
@@ -4,6 +4,8 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
+DEB_MAVEN_ARGS := "-Dmaven.install.skip=true"
+
%:
dh $@ --buildsystem=maven --with javahel
and
--- a/debian/rules
+++ b/debian/rules
@@ -4,6 +4,8 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
+export DEB_MAVEN_ARGS="-Dmaven.install.skip=true"
+
%:
dh $@ --buildsystem=maven --with javahelper
but nothing helped. Any other ideas?
Kind regards
Andreas.
> [0] https://github.com/Debian/maven-debian-helper/blob/master/share/cdbs/1/class/maven-vars.mk
>
> >
> > Andreas.
> >
> > --
> > http://fam-tille.de
> >
> >
>
--
http://fam-tille.de
[toc] | [prev] | [next] | [standalone]
| From | Emmanuel Bourg <ebourg@apache.org> |
|---|---|
| Date | 2016-04-23 01:10 +0200 |
| Subject | Re: Fwd: How to propagate mvn options to debhelper (Was: Need help to upgrade libnetlib-java package) |
| Message-ID | <rqSn0-1rC-15@gated-at.bofh.it> |
| In reply to | #9050 |
Le 23/04/2016 00:49, Andreas Tille a écrit : > but nothing helped. Any other ideas? DEB_MAVEN_ARGS is the CDBS syntax, it won't work with DH. You either have to override the target and add a parameter (dh_auto_build -- -Dfoo=bar) or declare the property in debian/maven.properties (add a line with: foo=bar). Emmanuel Bourg
[toc] | [prev] | [next] | [standalone]
| From | Andreas Tille <andreas@an3as.eu> |
|---|---|
| Date | 2016-04-23 07:50 +0200 |
| Subject | Re: Fwd: How to propagate mvn options to debhelper (Was: Need help to upgrade libnetlib-java package) |
| Message-ID | <rqYC5-6tk-3@gated-at.bofh.it> |
| In reply to | #9051 |
On Sat, Apr 23, 2016 at 12:59:51AM +0200, Emmanuel Bourg wrote:
> Le 23/04/2016 00:49, Andreas Tille a écrit :
>
> > but nothing helped. Any other ideas?
>
> DEB_MAVEN_ARGS is the CDBS syntax, it won't work with DH. You either
> have to override the target and add a parameter (dh_auto_build --
> -Dfoo=bar) or declare the property in debian/maven.properties (add a
> line with: foo=bar).
I added
$ cat debian/maven.properties
maven.install.skip=true
in Git but this does not change anything (and the propertie does not
show up in build log so may be I did it wrong anyway ...)
Any further hints?
Kind regards
Andreas.
--
http://fam-tille.de
[toc] | [prev] | [next] | [standalone]
| From | Andreas Tille <andreas@an3as.eu> |
|---|---|
| Date | 2016-04-26 15:40 +0200 |
| Subject | Re: Fwd: How to propagate mvn options to debhelper (Was: Need help to upgrade libnetlib-java package) |
| Message-ID | <rsbnA-9L-25@gated-at.bofh.it> |
| In reply to | #9052 |
Hi,
could anybody confirm whether I have followed Emmanuel's advise to
specify "maven.install.skip=true" properly. It did not made any visible
effect not even inside the logs and I wonder whether I might have
misinterpreted something that would lead to a proper package build
finally.
Kind regards
Andreas.
On Sat, Apr 23, 2016 at 07:43:40AM +0200, Andreas Tille wrote:
> On Sat, Apr 23, 2016 at 12:59:51AM +0200, Emmanuel Bourg wrote:
> > Le 23/04/2016 00:49, Andreas Tille a écrit :
> >
> > > but nothing helped. Any other ideas?
> >
> > DEB_MAVEN_ARGS is the CDBS syntax, it won't work with DH. You either
> > have to override the target and add a parameter (dh_auto_build --
> > -Dfoo=bar) or declare the property in debian/maven.properties (add a
> > line with: foo=bar).
>
> I added
>
> $ cat debian/maven.properties
> maven.install.skip=true
>
> in Git but this does not change anything (and the propertie does not
> show up in build log so may be I did it wrong anyway ...)
>
> Any further hints?
>
> Kind regards
>
> Andreas.
>
> --
> http://fam-tille.de
--
http://fam-tille.de
[toc] | [prev] | [next] | [standalone]
| From | Emmanuel Bourg <ebourg@apache.org> |
|---|---|
| Date | 2016-04-26 16:10 +0200 |
| Subject | Re: Fwd: How to propagate mvn options to debhelper (Was: Need help to upgrade libnetlib-java package) |
| Message-ID | <rsbQC-Gm-19@gated-at.bofh.it> |
| In reply to | #9052 |
Le 23/04/2016 07:43, Andreas Tille a écrit :
> Any further hints?
The properties set in debian/maven.properties do not show up in the log.
You'll just know the file is being used because the
properties.file.manual parameter is added to the command line:
-Dproperties.file.manual=<PATH>/debian/maven.properties
Emmanuel Bourg
[toc] | [prev] | [next] | [standalone]
| From | Markus Koschany <apo@debian.org> |
|---|---|
| Date | 2016-04-10 19:00 +0200 |
| Message-ID | <rmqSm-7Z9-11@gated-at.bofh.it> |
| In reply to | #9015 |
[Multipart message — attachments visible in raw view] — view raw
Am 10.04.2016 um 09:14 schrieb Andreas Tille: > 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. :-( I should have been more verbose because I also tried a couple of other things. You removed the parent tag from all pom files with the --no-parent flag in libnetlib-java.poms. I don't think that is necessary because I got several errors like this one dependencies.dependency.version' for org.projectlombok:lombok:jar is missing So obviously some values values are not inherited from its parent. That's why I think only pom.xml in the root directory should have the --no-parent flag to ignore the parent pom which we "usually" don't need. Why did you add the generator module to pom.xml? I dropped the patch and ignored the generator and legacy module and I can build core and native_ref now. The problem is that some modules build-depend on other modules from the same package but libnetlib-java is not a build-dependency and the current version in contrib doesn't provide Maven artifacts either. No idea if you will need the generator and legacy modules later but I would investigate if it makes sense to ship Maven artifacts with the old package and build-depend on libnetlib-java or if you can avoid the dependency on <groupId>com.github.fommil.netlib</groupId> <artifactId>core</artifactId> somehow. Regards, Markus
[toc] | [prev] | [next] | [standalone]
| From | Andreas Tille <tille@debian.org> |
|---|---|
| Date | 2016-04-12 10:10 +0200 |
| Message-ID | <rn1yz-3Sy-29@gated-at.bofh.it> |
| In reply to | #9017 |
Hi Markus,
On Sun, Apr 10, 2016 at 06:52:41PM +0200, Markus Koschany wrote:
> Am 10.04.2016 um 09:14 schrieb Andreas Tille:
> >
> > 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. :-(
>
> I should have been more verbose because I also tried a couple of other
> things.
>
> You removed the parent tag from all pom files with the --no-parent flag
> in libnetlib-java.poms. I don't think that is necessary because I got
> several errors like this one
>
> dependencies.dependency.version' for org.projectlombok:lombok:jar is missing
>
> So obviously some values values are not inherited from its parent.
> That's why I think only pom.xml in the root directory should have the
> --no-parent flag to ignore the parent pom which we "usually" don't need.
>
> Why did you add the generator module to pom.xml?
Probably I've got or misunderstood some hint her on this list. If you
see anything in my Java packaging simply assume that it was an
uneducated guess. :-(
> I dropped the patch and
> ignored the generator and legacy module and I can build core and
> native_ref now.
Thanks.
> The problem is that some modules build-depend on other modules from the
> same package but libnetlib-java is not a build-dependency and the
> current version in contrib doesn't provide Maven artifacts either.
>
> No idea if you will need the generator and legacy modules later but I
> would investigate if it makes sense to ship Maven artifacts with the old
> package and build-depend on libnetlib-java or if you can avoid the
> dependency on
>
> <groupId>com.github.fommil.netlib</groupId>
> <artifactId>core</artifactId>
>
> somehow.
I'll try this. It somehow boils down to my previous plan to start by
moving the old netlib from contrib to main.
Thanks a lot for your analysis and help
Andreas.
--
http://fam-tille.de
[toc] | [prev] | [next] | [standalone]
| From | Andreas Tille <tille@debian.org> |
|---|---|
| Date | 2016-04-19 10:00 +0200 |
| Message-ID | <rpyJI-3gW-13@gated-at.bofh.it> |
| In reply to | #9017 |
Hi Markus,
On Sun, Apr 10, 2016 at 06:52:41PM +0200, Markus Koschany wrote:
>
> The problem is that some modules build-depend on other modules from the
> same package but libnetlib-java is not a build-dependency and the
> current version in contrib doesn't provide Maven artifacts either.
>
> No idea if you will need the generator and legacy modules later but I
> would investigate if it makes sense to ship Maven artifacts with the old
> package and build-depend on libnetlib-java or if you can avoid the
> dependency on
Hmmm, seems I forgot the second part of your message to include the
Maven artifacts in the old libnetlib-java and checking now[1] these do
not seem to exist for 0.9.3 at all (and I have no idea how to create
these). At least I have now uploaded libnetlib-java 0.9.3-2 and added
libnetlib-java to Build-Depends. This does not really help to finally
solve my problem:
...
/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/netlib-java-1.1.2 -Dclassworlds.conf=/etc/maven/m2-debian.conf org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/build/netlib-java-1.1.2/debian -Dmaven.repo.local=/build/netlib-java-1.1.2/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 (/build/netlib-java-1.1.2/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 (/build/netlib-java-1.1.2/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=/build/netlib-java-1.1.2 -Dclassworlds.conf=/etc/maven/m2-debian.conf org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/build/netlib-java-1.1.2/debian -Dmaven.repo.local=/build/netlib-java-1.1.2/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
...
Any further hint?
Kind regards
Andreas.
[1] https://repo1.maven.org/maven2/com/github/fommil/netlib/core/
--
http://fam-tille.de
[toc] | [prev] | [standalone]
Page 2 of 2 — ← Prev page 1 [2]
Back to top | Article view | linux.debian.maint.java
csiph-web