Details
-
Type:
New Feature
-
Status:
Closed
-
Priority:
Trivial
-
Resolution: Won't Fix
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: model additions
-
Labels:None
Description
It would be nice to be able to indicate in the POM that the project is under active development. Then, calling one of the *:install or *:deploy goals would instead call *:install-snapshot or *:deploy-snapshot.
Is it possible to add attributes to existing tags? If so, this could be implemented something like this:
<!-- The version of the project under development, e.g.
1.1, 1.2, 2.0-dev -->
<currentVersion snapshot="true">1.0-dev</currentVersion>
in the future, *-snapshot will be removed, but that behaviour can be enabled - the trigger will simply be the existence of -SNAPSHOT in the version.