maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karl Heinz Marbaise (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MNG-6206) We should produce a WARNING by using RELEASE, LATEST as versions
Date Wed, 07 Jun 2017 17:20:18 GMT

    [ https://issues.apache.org/jira/browse/MNG-6206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16041247#comment-16041247
] 

Karl Heinz Marbaise commented on MNG-6206:
------------------------------------------

Hi dejan2609, I have merged the change to Maven master. 

> We should produce a WARNING by using RELEASE, LATEST as versions
> ----------------------------------------------------------------
>
>                 Key: MNG-6206
>                 URL: https://issues.apache.org/jira/browse/MNG-6206
>             Project: Maven
>          Issue Type: Improvement
>    Affects Versions: 3.5.0
>            Reporter: Karl Heinz Marbaise
>            Assignee: Karl Heinz Marbaise
>            Priority: Minor
>             Fix For: 3.5.1
>
>
> 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...
> {code:java}
> public interface Artifact
>     extends Comparable<Artifact>
> {
>     String RELEASE_VERSION = "RELEASE";
>     String LATEST_VERSION = "LATEST";
> {code}
> https://cwiki.apache.org/confluence/display/MAVEN/Maven+3.x+Compatibility+Notes#Maven3.xCompatibilityNotes-PluginMetaversionResolution



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message