Re: how to package Maven-based projects with modules and inter-module dependencies

2014-10-16 Thread Eugene Zhukov
On Wed, Oct 15, 2014 at 11:39 PM, Hilko Bengen wrote: > * Emmanuel Bourg: > >>> Can you explain to me why this works? All of this still appears like >>> black magic to me... >> Sorry I can't be more specific, maven-debian-helper is insanely complex >> and even if I updated it a bit I still don't g

Re: how to package Maven-based projects with modules and inter-module dependencies

2014-10-15 Thread Andrew Schurman
> > com.github.spullara.mustache.java:compiler is a bundle. Inform mh_make > > that dependencies of type jar which may match this library should be > > transformed into bundles automatically? > > I don't really understand the question. Experimentation shows that > answering "yes" adds a line > >

Re: how to package Maven-based projects with modules and inter-module dependencies

2014-10-15 Thread Emmanuel Bourg
Le 15/10/2014 22:39, Hilko Bengen a écrit : > now, I have managed to build my package, but I still get a lintian > warning (as with some java packages before): > > W: libmustache-java: missing-classpath libasm4-java, libguava-java, > libmaven-plugin-tools-java, libplexus-compiler-java > > Is th

Re: how to package Maven-based projects with modules and inter-module dependencies

2014-10-15 Thread Hilko Bengen
* Emmanuel Bourg: >> Can you explain to me why this works? All of this still appears like >> black magic to me... > Sorry I can't be more specific, maven-debian-helper is insanely complex > and even if I updated it a bit I still don't grasp it completely. It certainly does seem like black magic.

Re: how to package Maven-based projects with modules and inter-module dependencies

2014-10-15 Thread Emmanuel Bourg
Le 15/10/2014 22:18, Hilko Bengen a écrit : > Can you explain to me why this works? All of this still appears like > black magic to me... Sorry I can't be more specific, maven-debian-helper is insanely complex and even if I updated it a bit I still don't grasp it completely. Emmanuel Bourg --

Re: how to package Maven-based projects with modules and inter-module dependencies

2014-10-15 Thread Hilko Bengen
* Emmanuel Bourg: > Le 15/10/2014 01:02, Hilko Bengen a écrit : > >> What can I do to fix this? > > Multi modules projects are often tricky. My strategy is to start with > the core module only and ignore the others. After a somewhat fresh look, I noticed that the core module (mustache.compiler) i

Re: how to package Maven-based projects with modules and inter-module dependencies

2014-10-15 Thread Emmanuel Bourg
Le 15/10/2014 01:02, Hilko Bengen a écrit : > What can I do to fix this? Multi modules projects are often tricky. My strategy is to start with the core module only and ignore the others. Then I add the modules one by one. Also note that the order of the modules declared in the debian/*.poms file

how to package Maven-based projects with modules and inter-module dependencies

2014-10-14 Thread Hilko Bengen
Hi, I have been looking at building Debian packages from mustache.java (http://github.com/spullara/mustache.java), yet another dependency for (newer versions of) ElasticSearch. I tried preparing the package using current mh_make, but there have been problems: There are multiple modules that decla