[
https://issues.apache.org/jira/browse/NETBEANS-4877?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Niklas Matthies updated NETBEANS-4877:
--------------------------------------
Description:
The editor shows warnings for the LATEST and RELEASE metaversions for regular
dependencies, although those metaversions have only been deprecated/removed for
plugin versions. The text of the warning is
"'[dependencyManagement.]dependencies.dependency.version' for
<groupId>:<artifactId>:jar is either LATEST or RELEASE (both of them are being
deprecated)". This is incorrect.
Expected behavior: Don't ever show that warning for {{<dependency>}} elements
(as opposed to {{<plugin>}} elements).
(There is a hint "No metaversions for plugins". Disabling it doesn't change the
behavior for non-plugin versions, which makse sense; but it also indicates that
there shouldn't be a warning for non-plugin versions.)
was:
The editor shows warnings for the LATEST and RELEASE metaversions for regular
dependencies, although those metaversions have only been deprecated/removed for
plugin versions. The text of the warning is
"'[dependencyManagement.]dependencies.dependency.version' for
{groupId}:{artifactId}:jar is either LATEST or RELEASE (both of them are being
deprecated)". This is incorrect.
Expected behavior: Don't ever show that warning for {{<dependency>}} elements
(as opposed to {{<plugin>}} elements).
(There is a hint "No metaversions for plugins". Disabling it doesn't change the
behavior for non-plugin versions, which makse sense; but it also indicates that
there shouldn't be a warning for non-plugin versions.)
> Wrong warning on Maven metaversions for non-plugin dependencies
> ---------------------------------------------------------------
>
> Key: NETBEANS-4877
> URL: https://issues.apache.org/jira/browse/NETBEANS-4877
> Project: NetBeans
> Issue Type: Bug
> Components: projects - Maven
> Affects Versions: 12.0
> Reporter: Niklas Matthies
> Priority: Major
>
> The editor shows warnings for the LATEST and RELEASE metaversions for regular
> dependencies, although those metaversions have only been deprecated/removed
> for plugin versions. The text of the warning is
> "'[dependencyManagement.]dependencies.dependency.version' for
> <groupId>:<artifactId>:jar is either LATEST or RELEASE (both of them are
> being deprecated)". This is incorrect.
> Expected behavior: Don't ever show that warning for {{<dependency>}} elements
> (as opposed to {{<plugin>}} elements).
> (There is a hint "No metaversions for plugins". Disabling it doesn't change
> the behavior for non-plugin versions, which makse sense; but it also
> indicates that there shouldn't be a warning for non-plugin versions.)
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists