ppkarwasz commented on issue #3804:
URL: 
https://github.com/apache/logging-log4j2/issues/3804#issuecomment-3232629092

   @ramanathan1504,
   
   Have you tried setting the `CI` environment variable to `true`? Some of our 
Maven profiles are activated (or deactivated) based on this flag.
   
   The profiles used during a release build are:
   
   ```sh
   CI=true ./mvnw -Pdeploy,release
   ```
   
   ⚠️ Note: the `deploy` profile is **not compatible** with `artifact:compare`. 
Since we don’t use the Maven Deploy plugin, verification is skipped with the 
message:
   
   ```
   Skipping goal because module skips install and/or deploy
   ```
   
   To accurately reproduce the release artifacts, you should run:
   
   ```sh
   CI=true ./mvnw -Prelease verify -DskipTests artifact:compare
   ```
   


-- 
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: notifications-unsubscr...@logging.apache.org

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

Reply via email to