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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.5.0
    • 3.5.2
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: