Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.java > #8604

Re: maven-debian-helper=2.0~exp2 rebuild

From Emmanuel Bourg <ebourg@apache.org>
Newsgroups linux.debian.maint.java
Subject Re: maven-debian-helper=2.0~exp2 rebuild
Date 2015-11-27 11:00 +0100
Message-ID <qznYS-18E-3@gated-at.bofh.it> (permalink)
References <qyQzU-3OH-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi Chris,

Thank you very much for the rebuild and the thorough analysis.

Le 25/11/2015 23:09, Chris West a écrit :

> Missing plugins could be one of two things:
>  1) I believe maven-debian-helper Requires maven2 Recommends
>       maven-install-plugin, which the builders may previously have
>       been installing, and this round has not been?  That is, the
>       packages were possibly broken anyway, and it just happens that
>       this build has caught them.
>  2) It is believed that maven3 requires some plugins present, even
>       if they're not used during the build, whereas maven 2 would not.

The recommended packages aren't installed by pbuilder, so I don't think
the different dependencies of maven2 and maven explain this behavior.

I took a look at the abego-treelayout package, it's a very simple
project with a single module that fails to build if the install plugin
isn't installed. Curiously the pom.xml doesn't reference the install
plugin at all. If I change the Maven packaging from bundle to jar it
builds fine. So there is a weird interaction with the bundle plugin.

I'll add a dependency on libmaven-install-plugin-java in
maven-debian-helper 2.0~exp3.


> maven2-settings-debian, which is probably a bug in these packages, e.g.
> https://sources.debian.net/src/spatial4j/0.3-1/debian/rules/#L10

Good catch. settings-debian.xml moved to /etc/maven/, I could add a
symlink but I prefer getting rid of /etc/maven2, so I'll update the
packages affected.


> multimodule-project-dir, which I don't get at all but causes later failures:
> 
>     dh_testdir
>      mvn-debian package
>       -Dmaven.multiModuleProjectDirectory system property is not set.
>           Check $M2_HOME environment variable and mvn script match.

multiModuleProjectDirectory is a new property required by Maven 3.3.9,
I'll add it in 2.0~exp3.

Emmanuel Bourg

Back to linux.debian.maint.java | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

maven-debian-helper=2.0~exp2 rebuild Chris West <solo-debian-java@goeswhere.com> - 2015-11-25 23:20 +0100
  Re: maven-debian-helper=2.0~exp2 rebuild Emmanuel Bourg <ebourg@apache.org> - 2015-11-27 11:00 +0100
    Re: maven-debian-helper=2.0~exp2 rebuild Andrew Schurman <arcticwaters@gmail.com> - 2015-12-02 09:30 +0100
      Re: maven-debian-helper=2.0~exp2 rebuild Emmanuel Bourg <ebourg@apache.org> - 2015-12-02 10:00 +0100
        Re: maven-debian-helper=2.0~exp2 rebuild Andrew Schurman <arcticwaters@gmail.com> - 2015-12-02 23:00 +0100
          Re: maven-debian-helper=2.0~exp2 rebuild Emmanuel Bourg <ebourg@apache.org> - 2015-12-09 09:40 +0100

csiph-web