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


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

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

From Andrew Schurman <arcticwaters@gmail.com>
Newsgroups linux.debian.maint.java
Subject Re: maven-debian-helper=2.0~exp2 rebuild
Date 2015-12-02 09:30 +0100
Message-ID <qBaXw-4EG-19@gated-at.bofh.it> (permalink)
References <qyQzU-3OH-9@gated-at.bofh.it> <qznYS-18E-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Fri, 2015-11-27 at 10:52 +0100, Emmanuel Bourg wrote:
> 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.

The bundle type provided by the maven-bundle-plugin defines the install
phase with a versionless maven-install-plugin goal.

...
  <install>
    org.apache.maven.plugins:maven-install-plugin:install,
    org.apache.felix:maven-bundle-plugin:install
  </install>
...

I think this comes back to our conversation about Maven 3 searching for
that metadata file unless a version is explicit specified.

Looking at maven-bundle-plugin:2.4.0, none of the goals specify a
version (the default ones defined in maven-core do). Curious that the
install plugin is the only one complaining...

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

If we can get away with just installing the plugin rather than
generating metadata, so much the better. Just keep this in mind as you
may run into it again for another project type.

Cheers,
Andrew

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