Uploaded image for project: 'Maven Dependency Plugin'
  1. Maven Dependency Plugin
  2. MDEP-580

Recognize source of name for automatic modules

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.2
    • Component/s: resolve
    • Labels:
      None

      Description

      There are 2 kinds of automatic modules:

      • based of the filename
      • from the Automatic-Module-Name attribute in the MANIFEST file.

      The latter can be considered safe to refer to, since the maintainer has picked this name. Using it should still be done with care

      To show the difference I'd propose a subtle difference in their display:

      • – name.from.filename (auto)
      • – name.from.manifest [auto]

      Just like with versions the brackets refer to a locked item, we can do the same here.

        Activity

        Hide
        hudson Hudson added a comment -

        UNSTABLE: Integrated in Jenkins build maven-plugins #9055 (See https://builds.apache.org/job/maven-plugins/9055/)
        MDEP-580 Recognize source of name for automatic modules
        Use (auto) for filename based and [auto] for manifest based automatic module names (rfscholte: http://svn.apache.org/viewvc/?view=rev&rev=1804774)

        • (add) maven-dependency-plugin/src/it/projects/mdep-580_display-manifest-automodules
        • (add) maven-dependency-plugin/src/it/projects/mdep-580_display-manifest-automodules/invoker.properties
        • (add) maven-dependency-plugin/src/it/projects/mdep-580_display-manifest-automodules/pom.xml
        • (add) maven-dependency-plugin/src/it/projects/mdep-580_display-manifest-automodules/verify.groovy
        • (edit) maven-dependency-plugin/src/main/java/org/apache/maven/plugins/dependency/resolvers/ResolveDependenciesMojo.java
        Show
        hudson Hudson added a comment - UNSTABLE: Integrated in Jenkins build maven-plugins #9055 (See https://builds.apache.org/job/maven-plugins/9055/ ) MDEP-580 Recognize source of name for automatic modules Use (auto) for filename based and [auto] for manifest based automatic module names (rfscholte: http://svn.apache.org/viewvc/?view=rev&rev=1804774 ) (add) maven-dependency-plugin/src/it/projects/mdep-580_display-manifest-automodules (add) maven-dependency-plugin/src/it/projects/mdep-580_display-manifest-automodules/invoker.properties (add) maven-dependency-plugin/src/it/projects/mdep-580_display-manifest-automodules/pom.xml (add) maven-dependency-plugin/src/it/projects/mdep-580_display-manifest-automodules/verify.groovy (edit) maven-dependency-plugin/src/main/java/org/apache/maven/plugins/dependency/resolvers/ResolveDependenciesMojo.java

          People

          • Assignee:
            rfscholte Robert Scholte
            Reporter:
            rfscholte Robert Scholte
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development