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 | 20 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 1 of 2 [1] 2 Next page →
| From | Andreas Tille <andreas@an3as.eu> |
|---|---|
| Date | 2016-01-28 21:00 +0100 |
| Subject | Need help to upgrade libnetlib-java package |
| Message-ID | <qW0Ty-8hX-45@gated-at.bofh.it> |
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
[toc] | [next] | [standalone]
| From | Andreas Tille <andreas@an3as.eu> |
|---|---|
| Date | 2016-01-28 21:50 +0100 |
| Subject | Need help to upgrade libmtj-java package |
| Message-ID | <qW1FT-qH-17@gated-at.bofh.it> |
| In reply to | #8766 |
Hi,
I'm in the process to upgrade libmtj-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].
What is currently confusing me that possibly some versions of
Build-Dependencies are enforced but I have no idea how this works. For
instance the log says:
[WARNING] The POM for org.apache.maven.plugins:maven-deploy-plugin:jar:2.7 is missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-deploy-plugin:2.7: Plugin org.apache.maven.plugins:maven-deploy-plugin:2.7 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-deploy-plugin:jar:2.7 has not been downloaded from it before.
[WARNING] The POM for org.apache.maven.plugins:maven-site-plugin:jar:3.3 is missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-site-plugin:3.3: Plugin org.apache.maven.plugins:maven-site-plugin:3.3 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-site-plugin:jar:3.3 has not been downloaded from it before.
...
Since these are only warnings I wonder whether these are needed at all.
There are also warnings about missing plugins:
coveralls-maven-plugin
maven-java-formatter-plugin
which we do not have in Debian (as far as I can see). Regarding further
warnings:
[WARNING] The POM for com.github.fommil.netlib:all:pom:debian is missing, no dependency information available
Well, when finalising libnetlib-java I intend to add a working maven
control file.
[WARNING] The POM for org.projectlombok:lombok:jar:debian is missing, no dependency information available
No idea what this means and if this is really needed.
[WARNING] The POM for com.github.fommil:java-logging:jar:debian is missing, no dependency information available
Same here: No idea what this means and if this is really needed.
For the real errors we have:
[ERROR] Failed to execute goal on project mtj: Could not resolve dependencies for project com.googlecode.matrix-toolkits-java:mtj:jar:1.0.4: The following artifacts could not be resolved: com.github.fommil.netlib:all:pom:debian, org.projectlombok:lombok:jar:debian, com.github.fommil:java-logging:jar:debian: Cannot access sonatype-releases (https://oss.sonatype.org/content/repositories/releases/) in offline mode and the artifact com.github.fommil.netlib:all:pom:debian has not been downloaded from it before. -> [Help 1]
Hopefully this could be solved with a proper maven control file in
libnetlib-java.
Any hints whether something else than a fixed libnetlib-java might
be needed and I can prepare this in parallel.
Kind regards
Andreas.
[1] https://anonscm.debian.org/pkg-java/libmtj-java.git
--
http://fam-tille.de
[toc] | [prev] | [next] | [standalone]
| From | Emmanuel Bourg <ebourg@apache.org> |
|---|---|
| Date | 2016-01-28 22:20 +0100 |
| Subject | Re: Need help to upgrade libmtj-java package |
| Message-ID | <qW28W-R2-19@gated-at.bofh.it> |
| In reply to | #8767 |
Le 28/01/2016 21:40, Andreas Tille a écrit : > Since these are only warnings I wonder whether these are needed at all. You can ignore them. The deploy plugin is for uploading the jars to a Maven repository, and the site plugin generates a web site with various reports. We don't use them when building Debian packages. > > There are also warnings about missing plugins: > > coveralls-maven-plugin > maven-java-formatter-plugin You can ignore them too (code coverage and code formatting). > > which we do not have in Debian (as far as I can see). Regarding further > warnings: > > [WARNING] The POM for com.github.fommil.netlib:all:pom:debian is missing, no dependency information available > perf/pom.xml depends on the 'all' module which isn't referenced in debian/libnetlib-java.poms. Just ignore the perf module. > Well, when finalising libnetlib-java I intend to add a working maven > control file. > > [WARNING] The POM for org.projectlombok:lombok:jar:debian is missing, no dependency information available > > No idea what this means and if this is really needed. liblombok-java is missing Maven artifacts in /usr/share/maven-repo > > [WARNING] The POM for com.github.fommil:java-logging:jar:debian is missing, no dependency information available > > Same here: No idea what this means and if this is really needed. Used by the perf module only, ignore it. Emmanuel Bourg
[toc] | [prev] | [next] | [standalone]
| From | Emmanuel Bourg <ebourg@apache.org> |
|---|---|
| Date | 2016-01-28 22:00 +0100 |
| Message-ID | <qW1PA-ui-13@gated-at.bofh.it> |
| In reply to | #8766 |
Le 28/01/2016 20:55, Andreas Tille a écrit : > why com.github.fommil.netlib POMs can not be accessed (isn't this > in the very same source tree?) Yes, but not the same version. core/pom.xml refers to the parent pom com.github.fommil.netlib:parent:1.1, but the parent pom.xml has the version 1.2-SNAPSHOT. You just have to patch the poms such that the versions match. Emmanuel Bourg
[toc] | [prev] | [next] | [standalone]
| From | Andreas Tille <andreas@an3as.eu> |
|---|---|
| Date | 2016-01-28 22:40 +0100 |
| Message-ID | <qW2si-Yt-7@gated-at.bofh.it> |
| In reply to | #8768 |
Hi Emmanuel,
On Thu, Jan 28, 2016 at 09:56:34PM +0100, Emmanuel Bourg wrote:
> Le 28/01/2016 20:55, Andreas Tille a écrit :
>
> > why com.github.fommil.netlib POMs can not be accessed (isn't this
> > in the very same source tree?)
>
> Yes, but not the same version. core/pom.xml refers to the parent pom
> com.github.fommil.netlib:parent:1.1, but the parent pom.xml has the
> version 1.2-SNAPSHOT. You just have to patch the poms such that the
> versions match.
OK, seems better now, but ...
...
[ERROR] Failed to execute goal on project netlib-java: Could not resolve dependencies for project com.googlecode.netlib-java:netlib-java:jar:1.1: Cannot access sonatype-releases (https://oss.sonatype.org/content/repositories/releases/) in offline mode and the artifact com.github.fommil.netlib:core:jar:debian has not been downloaded from it before. -> [Help 1]
[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/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :netlib-java
...
Did I miss some declaration of the version? I decided to keep 1.1
since that fits the download version better than 1.2-SNAPSHOT.
Thanks as always for the quick help
Andreas.
--
http://fam-tille.de
[toc] | [prev] | [next] | [standalone]
| From | Emmanuel Bourg <ebourg@apache.org> |
|---|---|
| Date | 2016-01-28 23:50 +0100 |
| Message-ID | <qW3y1-1JH-5@gated-at.bofh.it> |
| In reply to | #8770 |
Le 28/01/2016 22:32, Andreas Tille a écrit : > Did I miss some declaration of the version? I decided to keep 1.1 > since that fits the download version better than 1.2-SNAPSHOT. I pushed some tweaks, but at this point it's blocked by the missing artifacts in liblombok-java. Emmanuel Bourg
[toc] | [prev] | [next] | [standalone]
| From | Andreas Tille <andreas@an3as.eu> |
|---|---|
| Date | 2016-01-29 10:00 +0100 |
| Message-ID | <qWd4m-cs-27@gated-at.bofh.it> |
| In reply to | #8771 |
Hi Emmanuel,
On Thu, Jan 28, 2016 at 11:44:32PM +0100, Emmanuel Bourg wrote:
> Le 28/01/2016 22:32, Andreas Tille a écrit :
>
> > Did I miss some declaration of the version? I decided to keep 1.1
> > since that fits the download version better than 1.2-SNAPSHOT.
>
> I pushed some tweaks, but at this point it's blocked by the missing
> artifacts in liblombok-java.
Thanks as always for your help.
I tried to fix this in lombok. I noticed that the d/watch file was
wrong and fixed this in Git. Then I went to
https://repo1.maven.org/maven2/org/projectlombok/lombok-maven/1.16.6.1/lombok-maven-1.16.6.1.pom
and fetched the maven artifact file. I'm wondering why they are using
1.16.6.1 since upstream remains at 1.16.6. I have no idea whether this
is a problem or not. Unfortunately I'm not able to build the package
but ending up with:
debian/rules override_dh_auto_build
make[1]: Entering directory '/build/lombok-1.16.6'
echo lombok.version=1.16.6 > debian/lombok.version.properties
ant -lib /usr/share/java/ivyplusplus.jar dist dist-utils
Buildfile: /build/lombok-1.16.6/build.xml
version:
compile:
BUILD FAILED
/build/lombok-1.16.6/build.xml:168: The following error occurred while executing this line:
jar:file:/usr/share/java/ivyplusplus.jar!/com/zwitserloot/ivyplusplus/antlib.xml:30: typedef class com.zwitserloot.ivyplusplus.eclipse.BuildEclipseProject cannot be found
using the classloader AntClassLoader[]
Total time: 0 seconds
I do not think that this is related to my changes. Any idea?
To come back to the libnetlib-java package it seems I need to add a
substitution rule for lombok as long as the artifact is not provided by
liblombok-java, right?
Kind regards
Andreas.
--
http://fam-tille.de
[toc] | [prev] | [next] | [standalone]
| From | Andreas Tille <andreas@an3as.eu> |
|---|---|
| Date | 2016-02-01 23:10 +0100 |
| Message-ID | <qXuPx-WW-13@gated-at.bofh.it> |
| In reply to | #8772 |
Hi,
any idea how to build libnetlib-java with the existing lombok package or
how to fix the lombok package that I can build libnetlib-java
successfully. I have no idea what might went wrong here.
Kind regards
Andreas.
On Fri, Jan 29, 2016 at 09:49:53AM +0100, Andreas Tille wrote:
> Hi Emmanuel,
>
> On Thu, Jan 28, 2016 at 11:44:32PM +0100, Emmanuel Bourg wrote:
> > Le 28/01/2016 22:32, Andreas Tille a écrit :
> >
> > > Did I miss some declaration of the version? I decided to keep 1.1
> > > since that fits the download version better than 1.2-SNAPSHOT.
> >
> > I pushed some tweaks, but at this point it's blocked by the missing
> > artifacts in liblombok-java.
>
> Thanks as always for your help.
>
> I tried to fix this in lombok. I noticed that the d/watch file was
> wrong and fixed this in Git. Then I went to
>
> https://repo1.maven.org/maven2/org/projectlombok/lombok-maven/1.16.6.1/lombok-maven-1.16.6.1.pom
>
> and fetched the maven artifact file. I'm wondering why they are using
> 1.16.6.1 since upstream remains at 1.16.6. I have no idea whether this
> is a problem or not. Unfortunately I'm not able to build the package
> but ending up with:
>
>
> debian/rules override_dh_auto_build
> make[1]: Entering directory '/build/lombok-1.16.6'
> echo lombok.version=1.16.6 > debian/lombok.version.properties
> ant -lib /usr/share/java/ivyplusplus.jar dist dist-utils
> Buildfile: /build/lombok-1.16.6/build.xml
>
> version:
>
> compile:
>
> BUILD FAILED
> /build/lombok-1.16.6/build.xml:168: The following error occurred while executing this line:
> jar:file:/usr/share/java/ivyplusplus.jar!/com/zwitserloot/ivyplusplus/antlib.xml:30: typedef class com.zwitserloot.ivyplusplus.eclipse.BuildEclipseProject cannot be found
> using the classloader AntClassLoader[]
>
> Total time: 0 seconds
>
>
> I do not think that this is related to my changes. Any idea?
>
> To come back to the libnetlib-java package it seems I need to add a
> substitution rule for lombok as long as the artifact is not provided by
> liblombok-java, right?
>
> Kind regards
>
> Andreas.
>
> --
> http://fam-tille.de
--
http://fam-tille.de
[toc] | [prev] | [next] | [standalone]
| From | Markus Koschany <apo@debian.org> |
|---|---|
| Date | 2016-02-01 23:20 +0100 |
| Message-ID | <qXuZb-112-1@gated-at.bofh.it> |
| In reply to | #8801 |
[Multipart message — attachments visible in raw view] — view raw
Am 01.02.2016 um 23:01 schrieb Andreas Tille: > Hi, > > any idea how to build libnetlib-java with the existing lombok package or > how to fix the lombok package that I can build libnetlib-java > successfully. I have no idea what might went wrong here. > I'm currently working on getting the android gradle plugin into Debian and lombok-[ast] is one of its build-dependencies. I'm facing a similar issue and I think this must be solved within src:ivyplusplus. The attached patch (workaround) might get you a little further. I also noticed that lombok master fails to build from source (some TABS are missing in debian/rules) and I suggest to create a separate branch to ensure that master always works. Regards, Markus
[toc] | [prev] | [next] | [standalone]
| From | Andreas Tille <tille@debian.org> |
|---|---|
| Date | 2016-02-02 08:30 +0100 |
| Message-ID | <qXDzr-7qg-5@gated-at.bofh.it> |
| In reply to | #8804 |
Hi,
On Mon, Feb 01, 2016 at 11:14:32PM +0100, Markus Koschany wrote:
> I also
> noticed that lombok master fails to build from source (some TABS are
> missing in debian/rules) and I suggest to create a separate branch to
> ensure that master always works.
These stupid tabs were injected by me due to a cut-n-paste error which I
injected when I tried to force the installation of the maven artifacts.
Its fixed since yesterday evening - but this is not the only build
failure. :-(
Sorry for stealing your time with unchecked commits
Andreas.
--
http://fam-tille.de
[toc] | [prev] | [next] | [standalone]
| From | Andreas Tille <tille@debian.org> |
|---|---|
| Date | 2016-04-05 11:40 +0200 |
| Message-ID | <rkvCN-Zu-1@gated-at.bofh.it> |
| In reply to | #8804 |
Hi Markus,
On Mon, Feb 01, 2016 at 11:14:32PM +0100, Markus Koschany wrote:
> Am 01.02.2016 um 23:01 schrieb Andreas Tille:
> > Hi,
> >
> > any idea how to build libnetlib-java with the existing lombok package or
> > how to fix the lombok package that I can build libnetlib-java
> > successfully. I have no idea what might went wrong here.
> >
>
> I'm currently working on getting the android gradle plugin into Debian
> and lombok-[ast] is one of its build-dependencies. I'm facing a similar
> issue and I think this must be solved within src:ivyplusplus. The
> attached patch (workaround) might get you a little further.
I admit I made no progress at the time of the mail above and I'm
wondering whether somebody more competent than me might tackle this.
At least the libnetlib-java issue remains. :-(
Any help would be welcome
Andreas.
--
http://fam-tille.de
[toc] | [prev] | [next] | [standalone]
| From | Markus Koschany <apo@debian.org> |
|---|---|
| Date | 2016-04-05 12:20 +0200 |
| Message-ID | <rkwfv-1wZ-1@gated-at.bofh.it> |
| In reply to | #8991 |
[Multipart message — attachments visible in raw view] — view raw
Am 05.04.2016 um 11:35 schrieb Andreas Tille: [...] > I admit I made no progress at the time of the mail above and I'm > wondering whether somebody more competent than me might tackle this. > At least the libnetlib-java issue remains. :-( > > Any help would be welcome > > Andreas. Hi Andreas, where can I find libnetlib-java? https://anonscm.debian.org/cgit/pkg-java/libnetlib-java.git returns an error message Markus
[toc] | [prev] | [next] | [standalone]
| From | Andreas Tille <andreas@an3as.eu> |
|---|---|
| Date | 2016-04-05 13:10 +0200 |
| Message-ID | <rkx1U-2hc-15@gated-at.bofh.it> |
| In reply to | #8992 |
On Tue, Apr 05, 2016 at 12:10:36PM +0200, Markus Koschany wrote:
> Am 05.04.2016 um 11:35 schrieb Andreas Tille:
> [...]
> > I admit I made no progress at the time of the mail above and I'm
> > wondering whether somebody more competent than me might tackle this.
> > At least the libnetlib-java issue remains. :-(
> >
> > Any help would be welcome
> >
> > Andreas.
>
> Hi Andreas,
>
> where can I find libnetlib-java?
>
> https://anonscm.debian.org/cgit/pkg-java/libnetlib-java.git
>
> returns an error message
I can confirm that the address is correct but the error message seems
to come from any alioth address ...
Kind regards
Andreas.
--
http://fam-tille.de
[toc] | [prev] | [next] | [standalone]
| From | Markus Koschany <apo@debian.org> |
|---|---|
| Date | 2016-04-09 17:30 +0200 |
| Message-ID | <rm2ZI-78t-15@gated-at.bofh.it> |
| In reply to | #8993 |
[Multipart message — attachments visible in raw view] — view raw
Am 05.04.2016 um 13:02 schrieb Andreas Tille: > On Tue, Apr 05, 2016 at 12:10:36PM +0200, Markus Koschany wrote: >> Am 05.04.2016 um 11:35 schrieb Andreas Tille: >> [...] >>> I admit I made no progress at the time of the mail above and I'm >>> wondering whether somebody more competent than me might tackle this. >>> At least the libnetlib-java issue remains. :-( >>> >>> Any help would be welcome >>> >>> Andreas. >> >> Hi Andreas, >> >> where can I find libnetlib-java? >> >> https://anonscm.debian.org/cgit/pkg-java/libnetlib-java.git >> >> returns an error message > > I can confirm that the address is correct but the error message seems > to come from any alioth address ... > Hi, 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. Markus
[toc] | [prev] | [next] | [standalone]
| From | Andreas Tille <andreas@an3as.eu> |
|---|---|
| Date | 2016-04-10 10:00 +0200 |
| Message-ID | <rmirN-1DO-15@gated-at.bofh.it> |
| In reply to | #9014 |
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.
--
http://fam-tille.de
[toc] | [prev] | [next] | [standalone]
| From | Benjamin Mesing <ben-ml@gmx.net> |
|---|---|
| Date | 2016-04-10 11:00 +0200 |
| Message-ID | <rmjnP-2jY-1@gated-at.bofh.it> |
| In reply to | #9015 |
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.
[toc] | [prev] | [next] | [standalone]
| From | Andreas Tille <andreas@an3as.eu> |
|---|---|
| Date | 2016-04-12 10:10 +0200 |
| Message-ID | <rn1yy-3Sy-5@gated-at.bofh.it> |
| In reply to | #9016 |
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
[toc] | [prev] | [next] | [standalone]
| From | Benjamin Mesing <ben-ml@gmx.net> |
|---|---|
| Date | 2016-04-16 18:30 +0200 |
| Message-ID | <roBgD-6rF-27@gated-at.bofh.it> |
| In reply to | #9022 |
Hi Andreas,
ok, so oss-parent seems to be not in Debian (it is here: https://repo1
.maven.org/maven2/org/sonatype/oss/oss-parent/7/oss-parent-7.pom).
If it really is required, it need to be packaged.
I tried to remove the parent entry from generator/pom, and build
without it. Maybe oss-parent is not essential.
When I do this, I get:
[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.
Regards
Ben
> > From what I see, the error message ist pretty straightforward:
> > Cannot access sonatype-releases (https://oss.sonatype.org/conte
> > nt/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.
>
--
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-19 10:10 +0200 |
| Message-ID | <rpyTo-3C4-11@gated-at.bofh.it> |
| In reply to | #9034 |
Hi Benjamin,
On Sat, Apr 16, 2016 at 06:21:43PM +0200, Benjamin Mesing wrote:
> ok, so oss-parent seems to be not in Debian (it is here: https://repo1
> .maven.org/maven2/org/sonatype/oss/oss-parent/7/oss-parent-7.pom).
> If it really is required, it need to be packaged.
>
> I tried to remove the parent entry from generator/pom, and build
> without it. Maybe oss-parent is not essential.
> When I do this, I get:
> [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?
Kind regards
Andreas.
[1] https://github.com/sonatype/oss-parents
[2] https://lists.debian.org/debian-java/2013/07/msg00002.html
--
http://fam-tille.de
[toc] | [prev] | [next] | [standalone]
| From | Benjamin Mesing <ben-ml@gmx.net> |
|---|---|
| Date | 2016-04-19 22:30 +0200 |
| Message-ID | <rpKrw-48k-3@gated-at.bofh.it> |
| In reply to | #9041 |
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. 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]
Page 1 of 2 [1] 2 Next page →
Back to top | Article view | linux.debian.maint.java
csiph-web