Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-6206

We should produce a WARNING by using RELEASE, LATEST as versions

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.5.0
    • Fix Version/s: 3.5.2
    • Component/s: None
    • Labels:
      None

      Description

      Currently we support the usage of LATEST and RELEASE as versions for dependencies. We should encourage users to use real versions or if they really like use version ranges...

      public interface Artifact
          extends Comparable<Artifact>
      {
      
          String RELEASE_VERSION = "RELEASE";
      
          String LATEST_VERSION = "LATEST";
      
      

      https://cwiki.apache.org/confluence/display/MAVEN/Maven+3.x+Compatibility+Notes#Maven3.xCompatibilityNotes-PluginMetaversionResolution

        Attachments

          Activity

            People

            • Assignee:
              khmarbaise Karl Heinz Marbaise
              Reporter:
              khmarbaise Karl Heinz Marbaise
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: