Uploaded image for project: 'Maven Assembly Plugin'
  1. Maven Assembly Plugin
  2. MASSEMBLY-847

attachmentClassifier shouldn't throw exception

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      We want to use this plugin to generate a zip of all the javadoc binaries in the reactor so we set attachmentClassifier to javadocs. This would work perfect except it throws an exception every time it can't find a javadoc artifact. There are lots of modules, ears, wars, pom/resource type modules that generally do not have any javadocs. This means we have to add an exclude item for each one of them. This has become unmanageable as one has to remember to add to the exclude list every time a new module like this is created.

      This plugin should be changed so that it does not throw if some are missing. If this behavior needs to be configurable that is fine.

      Attachments

        Activity

          People

            Unassigned Unassigned
            dahoffer David Hoffer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: