Git Product home page Git Product logo

Comments (4)

ctrueden avatar ctrueden commented on August 11, 2024

Fixed with PR #36. Thanks @adbrown85!

from nar-maven-plugin.

ctrueden avatar ctrueden commented on August 11, 2024

Hi Andy,

Found today that I couldn't attach a sources jar to a project using
NAR.

Sorry for the delay in reply, and thanks for the contribution. I merged
your PR #36 intended to fix this.

After searching for the message I came across NAR-193

How did you find this? I thought the Maven JIRA deleted all references to
NAR bugs. If you still have access to them somehow, I would love to migrate
them to GitHub.

Regards,
Curtis

On Wed, Aug 14, 2013 at 5:39 PM, Andy Brown [email protected]:

Found today that I couldn't attach a sources jar to a project using NAR.
After searching for the message I came across NAR-193, reported by Tony Lin:

NOT adding sources to artifacts with classifier as Maven only supports one
classifier per artifact. Current artifact [xxxxx] has a [] classifier.

Problem reproduce:

  1. run mvn org.apache.maven.plugins:maven-source-plugin:2.1.2:jar-no-fork
    on
    any NAR project
  2. sources are not packaged with the warning "NOT adding sources to
    artifacts with classifier as Maven only supports one classifier per
    artifact. Current artifact [xxxxx] has a [] classifier."

After google, it seems the root cause is related to the classifier
specified in "/src/main/resources/META-INF/plexus/components.xml". The
classifier must be null but not empty. The solution can be removing the
classifier tag in components.xml.

There is a very similar bug found in other plugin and can be referred as
the example: https://bugs.eclipse.org/bugs/show_bug.cgi?id=351908


Reply to this email directly or view it on GitHubhttps://github.com//issues/35
.

from nar-maven-plugin.

adbrown85 avatar adbrown85 commented on August 11, 2024

Sorry for the delay in reply, and thanks for the contribution. I merged your PR #36 intended to fix this.

You're welcome! Thanks for keeping NAR going!

How did you find this? I thought the Maven JIRA deleted all references to NAR bugs. If you still have access to them somehow, I would love to migrate them to GitHub.

It turned out that ticket just happened to be cached by Google, so I was able to still get to it (by clicking on the arrow beside the URL in the search result.) I suppose it'd be possible to search for the other tickets one-by-one and see if they're still cached as well... Just tried a few and it looks like some are and some aren't. For example, NAR-189 is cached but NAR-190 isn't. It looks like you can still get at least the title and the first sentence or two of most of them though.

from nar-maven-plugin.

ctrueden avatar ctrueden commented on August 11, 2024

@adbrown85: Thanks for the info. I also tried the Wayback Machine, but it doesn't look like anything from the NAR category was archived. Oh well.

from nar-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.