Thanks for the help. Agreed that as long as Maven plugins are up to date it should generally work with Maven 2.x. One of the things that is not upgraded I believe is the Maven reactor (which figures out the build order) - and we have had trouble with this in the past in earlier Maven versions. (NPE!)
How should I best put in such a patch for the pom.xml under debian/? I'm afraid it's ten years ago since I last tried to make a Debian package by hand.. Well, I'm getting doubtful as to the possibility to get it included in Debian proper, as it seems to be quite a large job to also package all the dependencies in newer versions in Debian (as we need them all to be OSGi bundles), something like jdeb and our own Debian repository at apache.org is probably an easier workaround. Would jdeb still install into /usr/share/maven-repo ? We have previously used Install4j which makes a crude single-deb [1] that goes into /opt/taverna*, and I was hoping we could do something slightly more Debian like and go into /usr/share/maven-repo and friends, and at least have a debian/ control files and .deb packages for each of our upstream repositories. [1] http://updates.taverna.org.uk/deb/ On 27 January 2015 at 11:49, Emmanuel Bourg <ebo...@apache.org> wrote: > Le 27/01/2015 12:34, Stian Soiland-Reyes a écrit : > >> Is there a debian/maven* rule I can add to edit/remove the >> <prerequisites> element at build time? > > Hi Stian, there is no such rule but this can be easily patched. Most of > the time Maven 2 is good enough to build the Debian packages. Even if > the core Maven used is old the plugins are more recent and up to the work. > > I don't know if you intend to submit your package to Debian for > inclusion in the official repository, but if this is just a private > package I recommend using jdeb instead, it's easier to use and > integrates well with Maven. > > Emmanuel Bourg > > > -- > To UNSUBSCRIBE, email to debian-java-requ...@lists.debian.org > with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org > Archive: https://lists.debian.org/54c77b36.7070...@apache.org > -- Stian Soiland-Reyes Apache Taverna (incubating) http://orcid.org/0000-0001-9842-9718 -- To UNSUBSCRIBE, email to debian-java-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/caprnxtkvrxqgwfhseaefkb6puairmjye8rc_b_w6mlauynu...@mail.gmail.com