maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dan Tran (JIRA)" <j...@codehaus.org>
Subject [jira] Created: (MNG-3826) Add profile's activation when artifact version is not snapshot
Date Sat, 08 Nov 2008 17:35:13 GMT
Add profile's activation  when artifact version is not snapshot
---------------------------------------------------------------

                 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