Uploaded image for project: 'Maven Release Plugin'
  1. Maven Release Plugin
  2. MRELEASE-1038

releaseProfiles get overriden by exec.pomFileName

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.0.0-M1
    • 3.0.0-M4, 3.0.0-M2
    • perform
    • None

    Description

      Profiles specified in <configuration>.<releaseProfiles> are overrided by the pom file name.

      This come from : org.apache.maven.shared.release.config.ReleaseUtils line 130 :

      if ( properties.containsKey( "exec.activateProfiles" ) )
      {
          builder.setActivateProfiles( Arrays.asList( properties.getProperty( "exec.pomFileName" ).split( "," ) ) );
      }
      

      this look like a failed copy/paste

       

      Attachments

        Issue Links

          Activity

            People

              olamy Olivier Lamy
              bmessager Benoit MESSAGER
              Votes:
              3 Vote for this issue
              Watchers:
              16 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m