[
http://jira.codehaus.org/browse/MENFORCER-22?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_123278
]
Ben Lidgey commented on MENFORCER-22:
-------------------------------------
Is it possible to activate a profile if the project version is a SNAPSHOT (or
not)? I couldn't see anything in the profile docs?
We have a CruiseControl server built that checks out the latest version of a
project from the head and builds it, so we would need to activate the profile
to check for snapshots if the project version is not a SNAPSHOT.
> create a rule to check the current project is not a snapshot
> ------------------------------------------------------------
>
> Key: MENFORCER-22
> URL: http://jira.codehaus.org/browse/MENFORCER-22
> Project: Maven 2.x Enforcer Plugin
> Issue Type: New Feature
> Components: Standard Rules
> Affects Versions: 1.0-alpha-3
> Reporter: Brian Fox
> Assignee: Brian Fox
> Fix For: 1.0
>
>
> There is already a rule to check that dependencies cannot be a snapshot,
> create a rule to ensure the current project is not a snapshot.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira