Coder Social home page Coder Social logo

Comments (6)

joeymink avatar joeymink commented on July 23, 2024

As it turns out, you can have the p2-maven-plugin bundle a test-jar artifact like so:

<artifact>
  <id>sample.groupid:sample.artifactid:jar:tests:0.0.1-SNAPSHOT</id>
</artifact>

However, the resulting plugin jar file and the Bundle-Name look exactly the same as if you had left off the extension and classifier shown above. i.e.,

<artifact>
  <id>sample.groupid:sample.artifactid:0.0.1-SNAPSHOT</id>
</artifact>

from p2-maven-plugin.

tombujok avatar tombujok commented on July 23, 2024

Snapshot version deployed to repo. Could you retest with the newest snapshot?

from p2-maven-plugin.

tombujok avatar tombujok commented on July 23, 2024

Did you have time to check the fix?

from p2-maven-plugin.

joeymink avatar joeymink commented on July 23, 2024

Test this fix just now with a pom that had the default and test artifacts specified:

sample.groupid:sample.artifactid:0.0.1-SNAPSHOT sample.groupid:sample.artifactid:jar:tests:0.0.1-SNAPSHOT

And it worked! I received 2 jar files, one named
groupid.artifactid_version.jar,
the other named
groupid.artifactid.tests_version.jar

from p2-maven-plugin.

tombujok avatar tombujok commented on July 23, 2024

Perfect! Thanks.

from p2-maven-plugin.

joeymink avatar joeymink commented on July 23, 2024

Thank you! This will be immediately useful to me!

from p2-maven-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.