Details
-
Type:
New Feature
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.2
-
Component/s: maven-plugin
-
Labels:None
-
Complexity:Intermediate
Description
It would be helpful if the deploy plugin had the ability to check the local workspace against the scm (svn, cvs, etc.) to make sure that everything is up to date and there are not local changes before deploying the artifact. This would mainly be useful when deploying snapshots since the release plugin already handles this for release versions.
This would be useful to prevent someone (or at least warn them) from deploying a snapshot that cannot be reproduced.
IMHO, the Deploy Plugin should not be concerned with SCM stuff, these are two different domains. I believe it would be more sensible to extend the Maven SCM Plugin with such a check such that users can bind the SCM Plugin into the build.