You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "henri-tremblay (via GitHub)" <gi...@apache.org> on 2025/12/09 05:52:03 UTC

Re: [I] [MRELEASE-1124] The preparationProfiles are also active during perform [maven-release]

henri-tremblay commented on issue #1305:
URL: https://github.com/apache/maven-release/issues/1305#issuecomment-3630464439

   I just tripped on this one and I've been debugging for hours.
   ```
               <plugin>
                   <groupId>org.apache.maven.plugins</groupId>
                   <artifactId>maven-release-plugin</artifactId>
                   <configuration>
                       <preparationProfiles>releasePrepare</preparationProfiles>
                       <releaseProfiles>releasePerform</releaseProfiles>
                   </configuration>
               </plugin>
   ```
   and then
   ```
       <profiles>
           <profile>
               <id>releasePrepare</id>
               <!-- ... -->
           </profile>
           <profile>
               <id>releasePerform</id>
               <!-- ... -->
           </profile>
       </profiles>
   
   ```
   during the perform phase the 2 profiles are enabled. It works normally during the prepare phase.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org