Re: Building maven packages

2016-12-30 Thread Markus Koschany
On 30.12.2016 04:44, Wookey wrote: [...] > BTW. if I try to use mh_patchpoms -plibmaven-native-java and > mh_unpatchpoms -plibmaven-native-java to test if my rules are right > (quicker than doing a build), I get dpkg-source complaining that all > the pom.xml files have changed from the orig. I thin

Re: Building maven packages

2016-12-29 Thread Wookey
On 2016-12-30 02:07 +0100, Emmanuel Bourg wrote: > Le 30/12/2016 à 01:59, Wookey a écrit : > > > which looks like what's wanted. > > Not exactly, the project wants bcel:bcel:5.x and we provide > org.apache.bcel:bcel:5.x, the groupId is different. Right. I eventually found https://wiki.debian.org

Re: Building maven packages

2016-12-29 Thread Emmanuel Bourg
Le 30/12/2016 à 01:59, Wookey a écrit : > which looks like what's wanted. Not exactly, the project wants bcel:bcel:5.x and we provide org.apache.bcel:bcel:5.x, the groupId is different. Try this rule instead: s/bcel/org.apache.bcel/ bcel * s/.*/debian/ * * Emmanuel Bourg

Re: Building maven packages

2016-12-29 Thread Markus Koschany
On 30.12.2016 00:52, Wookey wrote: > On 2016-12-30 00:11 +0100, Markus Koschany wrote: >> On 29.12.2016 02:29, Wookey wrote: > >> Don't try to hard to make mh_make happy because it can only give you a >> rudimentary skeleton debian directory. (For "easy" packages it works >> much better but more c

Re: Building maven packages

2016-12-29 Thread Wookey
On 2016-12-30 00:31 +0100, Emmanuel Bourg wrote: > Le 29/12/2016 à 02:29, Wookey a écrit : > > > I also got the complaint that it can't find: > > backport-util-concurrent > > > > Do I care about that? Do I need to package that too? > > You don't need that one, it's an obsolete library that bac

Re: Building maven packages

2016-12-29 Thread Wookey
On 2016-12-30 00:11 +0100, Markus Koschany wrote: > On 29.12.2016 02:29, Wookey wrote: > Don't try to hard to make mh_make happy because it can only give you a > rudimentary skeleton debian directory. (For "easy" packages it works > much better but more complicated projects won't work as expected)

Re: Building maven packages

2016-12-29 Thread Emmanuel Bourg
Le 29/12/2016 à 02:29, Wookey a écrit : > I also got the complaint that it can't find: > backport-util-concurrent > > Do I care about that? Do I need to package that too? You don't need that one, it's an obsolete library that backported the new java.util classes introduced in Java 5 to older J

Re: Building maven packages

2016-12-29 Thread Markus Koschany
On 29.12.2016 02:29, Wookey wrote: [...] Hi Wookey, > So why didn;t my substition rules of > s/bcel/bcel/ s/bcel/bcel/ jar s/5.1/5.x/ > or > s/bcel/bcel/ s/bcel/bcel/ jar s/5.1/6.0/ > work? > > The upstream pom.xml has: > > bcel > bcel > 5.1 > > > The onl

re: Building maven packages

2016-12-29 Thread Wookey
OK. I tried some more on this so have an update below. > On Wed, 2 Nov 2016 14:21, Markus Koschany wrote: > > On 02.11.2016 05:52, Wookey wrote: > > > Having hacked about a bit it currenty fails with: > > > The POM for org.codehaus.mojo:native-maven-plugin:jar:1.0-alpha-7 is > > > missing, > >

re: Building maven packages

2016-12-28 Thread Wookey
[I'm not on debian-java so keep me cc:ed please - I only found your reply via the list archive] I was hoping for some clue about this bcel versioning issue. Anyone able to shed some light? > On Wed, 2 Nov 2016 14:21, Markus Koschany wrote: > > On 02.11.2016 05:52, Wookey wrote: > > > Having hac

re: Building maven packages

2016-12-02 Thread Wookey
[I'm not on debian-java so keep me cc:ed please - I only found your reply via the list archive] > On Wed, 2 Nov 2016 14:21, Markus Koschany wrote: > > On 02.11.2016 05:52, Wookey wrote: > > > Having hacked about a bit it currenty fails with: > > > The POM for org.codehaus.mojo:native-maven-plugi

Re: Building maven packages

2016-11-03 Thread Emmanuel Bourg
Hi Wookey, Le 3/11/2016 à 03:16, Wookey a écrit : > Can someone explain what these osgi 'bundles' are? How does that > relate to the .jars I am familiar with? The same stuff packaged up in > a different format? Who uses those? Are they any use in Debian packages? An OSGi bundle is just a jar fil

Building maven packages

2016-11-02 Thread Wookey
On Wed, 2 Nov 2016 14:21, Markus Koschany wrote: [I'm not on debian-java so keep me cc:ed please - I only found your reply via the list archive] But thanks for the quick and helpful response. > On 02.11.2016 05:52, Wookey wrote: > > Thre is also a load of stuff about osgi in the .pom files, whi

Re: Building maven packages

2016-11-02 Thread Markus Koschany
On 02.11.2016 05:52, Wookey wrote: > Hi chaps and chapesses, Hi Wookey, > > I am trying to package javalution: > http://javolution.org/ > code at: > https://svn.java.net/svn/javolution~svn > > I am very vague about java in general (I don't use the language), but > have sucessfully packaged stuf

Building maven packages

2016-11-01 Thread Wookey
Hi chaps and chapesses, I am trying to package javalution: http://javolution.org/ code at: https://svn.java.net/svn/javolution~svn I am very vague about java in general (I don't use the language), but have sucessfully packaged stuff which uses makefiles and ant, using java-helper. However maven