[
https://issues.apache.org/jira/browse/MNG-6206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16018965#comment-16018965
]
ASF GitHub Bot commented on MNG-6206:
-------------------------------------
GitHub user dejan2609 opened a pull request:
https://github.com/apache/maven/pull/120
[MNG-6206] display deprecation build warning in case when dependencies use
metaversions (LATEST or RELEASE)
JIRA ticket: [MNG-6206: We should produce a WARNING by using RELEASE,
LATEST as versions](https://issues.apache.org/jira/browse/MNG-6206)
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/dejan2609/maven
MNG-6206-deprecating-metaversions-for-dependencies
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/maven/pull/120.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #120
----
commit b1e934839812ff207b0046a2e6fd4969f08a789c
Author: dejan2609 <[email protected]>
Date: 2017-05-20T14:57:55Z
[MNG-6206] display deprecation build warning in case when dependencies use
metaversions (LATEST or RELEASE)
----
> 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
> Priority: Minor
> Fix For: 3.5.1-candidate, 3.6.0
>
>
> 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)