Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-3826

Add profile activation when project version matches a regex

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Won't Do
    • 2.0.9
    • None
    • Profiles
    • None

    Description

      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

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            dantran Dan Tran
            Votes:
            10 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment