Re: How to start if upstream source contains pom.xml

2014-07-21 Thread Matthew Vernon
Thorsten Glaser writes: > On Fri, 18 Jul 2014, Andreas Tille wrote: > > > Reason: POM 'org.richfaces:richfaces-bom' not found in repository: System > > is offline. > > > > org.richfaces:richfaces-bom:pom:debian > > I think you reached the point of yak-shaving: where you > have to package th

Re: How to start if upstream source contains pom.xml

2014-07-20 Thread Emmanuel Bourg
Le 20/07/2014 23:20, Andreas Tille a écrit : > Any idea what I'm doing wrong here? You have done nothing wrong. This project uses a kind of dependency I wasn't aware of and I don't think maven-debian-helper handles it properly. shrinkwrap-bom is imported with a scope 'import', this is new to me.

Re: How to start if upstream source contains pom.xml

2014-07-20 Thread Andreas Tille
Hi again, just for the record: mh_make keeps on failing to create a valid debian/ dir for me: I downloaded https://github.com/arquillian/arquillian-core/archive/1.1.5.Final.tar.gz untared it and did run mh_make by ignoring anything that was missing and ended up again in: ... Resolving org.

Re: How to start if upstream source contains pom.xml

2014-07-18 Thread Andreas Tille
Hi Thorsten, On Fri, Jul 18, 2014 at 03:01:15PM +0200, Thorsten Glaser wrote: > > Reason: POM 'org.richfaces:richfaces-bom' not found in repository: System > > is offline. > > > > org.richfaces:richfaces-bom:pom:debian > > I think you reached the point of yak-shaving: where you > have to pack

Re: How to start if upstream source contains pom.xml

2014-07-18 Thread Thorsten Glaser
On Fri, 18 Jul 2014, Andreas Tille wrote: > Reason: POM 'org.richfaces:richfaces-bom' not found in repository: System is > offline. > > org.richfaces:richfaces-bom:pom:debian I think you reached the point of yak-shaving: where you have to package this dependency for Debian first, before you c

Re: How to start if upstream source contains pom.xml

2014-07-18 Thread Andreas Tille
Hi Emmanuel, On Fri, Jul 18, 2014 at 02:15:22PM +0200, Emmanuel Bourg wrote: > Le 18/07/2014 13:57, Andreas Tille a écrit : > > > Is the solution to get at least "some" debian packaging stuff by ignoring > > javax.mail? > > Yes I think so, as I understand this is the only dependency you didn't

Re: How to start if upstream source contains pom.xml

2014-07-18 Thread Emmanuel Bourg
Le 18/07/2014 13:57, Andreas Tille a écrit : > Is the solution to get at least "some" debian packaging stuff by ignoring > javax.mail? Yes I think so, as I understand this is the only dependency you didn't ignore. Regarding javamail, the package is in NEW but can be replaced temporarily by libg

Re: How to start if upstream source contains pom.xml

2014-07-18 Thread Andreas Tille
On Fri, Jul 18, 2014 at 01:30:09PM +0200, Emmanuel Bourg wrote: > Le 18/07/2014 13:27, Andreas Tille a écrit : > > > I went trough the whole mh_make process by trying to hit y/n/ > > wherever it seemed to be reasonable but there is even no such thing like > > a log file. I attached a tarball of t

Re: How to start if upstream source contains pom.xml

2014-07-18 Thread Emmanuel Bourg
Le 18/07/2014 13:27, Andreas Tille a écrit : > I went trough the whole mh_make process by trying to hit y/n/ > wherever it seemed to be reasonable but there is even no such thing like > a log file. I attached a tarball of the debian/ as it was created. > > Do you get something else? I just need

Re: How to start if upstream source contains pom.xml

2014-07-18 Thread Andreas Tille
On Fri, Jul 18, 2014 at 01:17:36PM +0200, Emmanuel Bourg wrote: > Le 18/07/2014 13:09, Andreas Tille a écrit : > > > Is this because of the missing dependencies or is anything else wrong > > here? > > This is probably caused by the missing dependencies. I suggest to just > ignore them, write them

Re: How to start if upstream source contains pom.xml

2014-07-18 Thread Emmanuel Bourg
Le 18/07/2014 13:09, Andreas Tille a écrit : > Is this because of the missing dependencies or is anything else wrong > here? This is probably caused by the missing dependencies. I suggest to just ignore them, write them down for later investigation, and continue the mh_make process. The resulting

Re: How to start if upstream source contains pom.xml

2014-07-18 Thread Andreas Tille
Hi Emmanuel, On Thu, Jul 17, 2014 at 10:14:38AM +0200, Emmanuel Bourg wrote: > > What would be the correct answer at this point of the process. > > The right answer here is: s/.*/debian/ > But mh_make shouldn't ask as there is not ambiguity here, I'll see if I > can improve that. If you install t

Re: How to start if upstream source contains pom.xml

2014-07-17 Thread Thorsten Glaser
On Thu, 17 Jul 2014, Andreas Tille wrote: > > dpkg --search /usr/share/java/commons-fileupload.jar > dpkg failed to execute successfully > > apt-file search /usr/share/java/commons-fileupload.jar > Found libcommons-fileupload-java IIUC, this is the point where you should back out, apt-get insta

Re: How to start if upstream source contains pom.xml

2014-07-17 Thread Emmanuel Bourg
Le 17/07/2014 06:25, Andreas Tille a écrit : > What would be the correct answer at this point of the process. The right answer here is: s/.*/debian/ But mh_make shouldn't ask as there is not ambiguity here, I'll see if I can improve that. If you install the libcommons-fileupload-java package befo

Re: How to start if upstream source contains pom.xml

2014-07-16 Thread Andreas Tille
Hi Emmanuel, On Wed, 16 Jul 2014 , Emmanuel Bourg wrote: > When dealing with a Maven project you "just" have to checkout the code > and run mh_make. If all goes well this will create the packaging files > and match the dependencies with the Debian packages. I checked this and was stumbling upon

Re: How to start if upstream source contains pom.xml

2014-07-16 Thread Emmanuel Bourg
Le 16/07/2014 22:34, Andreas Tille a écrit : > Any hint would be really welcome. Hi Andreas, When dealing with a Maven project you "just" have to checkout the code and run mh_make. If all goes well this will create the packaging files and match the dependencies with the Debian packages. I took

How to start if upstream source contains pom.xml

2014-07-16 Thread Andreas Tille
Hi, I intend to package imeji[1] in Debian Science team. Unfortunately I'm not that skilled with Java packaging. For maven based packages I found MavenBuilder[2] but this page looks quite outdated refering to debhelper (>= 5), cdbs, openjdk-6-jdk which lloks somehow ancient. I wonder if so