You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2020/05/22 20:02:00 UTC

[jira] [Updated] (MNG-3826) Add profile activation when project version matches a regex

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

Michael Osipov updated MNG-3826:
--------------------------------
    Fix Version/s:     (was: Issues to be reviewed for 4.x)

> Add profile activation when project version matches a regex
> -----------------------------------------------------------
>
>                 Key: MNG-3826
>                 URL: https://issues.apache.org/jira/browse/MNG-3826
>             Project: Maven
>          Issue Type: New Feature
>          Components: Profiles
>    Affects Versions: 2.0.9
>            Reporter: Dan Tran
>            Priority: Major
>
> 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 was sent by Atlassian Jira
(v8.3.4#803005)