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

Hudson commented on MENFORCER-204:
----------------------------------

FAILURE: Integrated in Jenkins build maven-enforcer #242 (See 
[https://builds.apache.org/job/maven-enforcer/242/])
[MENFORCER-204] Add new rule: should be able to make sure that project artifact 
is a Snapshot

Adding a RequireSnapshotVersion rule, which is the opposite of the 
RequireReleaseVersion rule. (gboue: 
[http://svn.apache.org/viewvc/?view=rev&rev=1761637])
* (add) 
enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequireSnapshotVersion.java
* (edit) enforcer-rules/src/site/apt/index.apt
* (add) enforcer-rules/src/site/apt/requireSnapshotVersion.apt.vm
* (add) 
enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/TestRequireSnapshotVersion.java
* (add) maven-enforcer-plugin/src/it/projects/require-snapshot-version_failure
* (add) 
maven-enforcer-plugin/src/it/projects/require-snapshot-version_failure/invoker.properties
* (add) 
maven-enforcer-plugin/src/it/projects/require-snapshot-version_failure/pom.xml
* (add) maven-enforcer-plugin/src/it/projects/require-snapshot-version_success
* (add) 
maven-enforcer-plugin/src/it/projects/require-snapshot-version_success/pom.xml


> Add new rule: should be able to make sure that project artifact is a Snapshot
> -----------------------------------------------------------------------------
>
>                 Key: MENFORCER-204
>                 URL: https://issues.apache.org/jira/browse/MENFORCER-204
>             Project: Maven Enforcer Plugin
>          Issue Type: New Feature
>          Components: Standard Rules
>    Affects Versions: 2.0
>            Reporter: Adrien Lecharpentier
>            Assignee: Guillaume Boué
>         Attachments: MENFORCER-RequireSnapshotVersion.patch
>
>
> As it is currently possible to validate the current project is a release, we 
> should have to inverse rule: validate the current project is a snapshot.
> The use case: in CI, ensure that the current project is in snapshot version 
> before doing a `mvn deploy`. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to