maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Hobson (JIRA)" <j...@codehaus.org>
Subject [jira] Updated: (MNG-3826) Add profile activation when project version matches a regex
Date Tue, 11 Nov 2008 09:38:13 GMT

     [ http://jira.codehaus.org/browse/MNG-3826?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Mark Hobson updated MNG-3826:
-----------------------------

    Summary: Add profile activation when project version matches a regex  (was: Add profile's
activation  when artifact version is not snapshot)

Updated issue from just matching snapshot versions to matching a regex on the version.  This
would allow profiles to be activated for different stages of a project's iteration, e.g. major,
minor, bug fix, etc.  Very handy for running clirr against a project when API changes are
not allowed, for example.

> Add profile activation when project version matches a regex
> -----------------------------------------------------------
>
>                 Key: MNG-3826
>                 URL: http://jira.codehaus.org/browse/MNG-3826
>             Project: Maven 2
>          Issue Type: New Feature
>          Components: Profiles
>    Affects Versions: 2.0.9
>            Reporter: Dan Tran
>
> Here is the related discussion
> by Dan Tran Nov 06, 2008; 01:07pm :: Rate this Message: - Use ratings to moderate (?)
> Activate a profile when project.version is not SNAPSHOT
> is it possible?
> -D
> by Stephen Connolly-2 Nov 06, 2008; 01:35pm :: Rate this Message: - Use ratings to moderate
(?)
> AFAIK, No... the core does not support it and plugins cannot activate
> profiles as the active profiles have been decided before the validate phase
> by Dan Tran Nov 06, 2008; 01:39pm :: Rate this Message: - Use ratings to moderate (?)
> sounds like a new feature to request for maven-profile component
> by mihobson Nov 07, 2008; 01:26am :: Rate this Message: - Use ratings to moderate (?)
> I've been wanting this for a while but figured it'd be solved by
> custom profile activators, currently sitting in trunk:
> http://docs.codehaus.org/display/MAVEN/Custom+Profile+Activators
> Perhaps a new snapshot profile activator would be best for the
> short-term.  Have you raised an issue I could watch?
> Cheers,
> Mark

-- 
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

        

Mime
View raw message