You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by GitBox <gi...@apache.org> on 2020/12/04 20:35:52 UTC

[GitHub] [maven] michael-o opened a new pull request #411: [MNG-7029] Remove super POM release profile

michael-o opened a new pull request #411:
URL: https://github.com/apache/maven/pull/411


   


----------------------------------------------------------------
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.

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



[GitHub] [maven] michael-o commented on pull request #411: [MNG-7029] Remove super POM release profile

Posted by GitBox <gi...@apache.org>.
michael-o commented on pull request #411:
URL: https://github.com/apache/maven/pull/411#issuecomment-771151360


   > 
   > 
   > https://github.com/apache/maven-release/blob/master/maven-release-manager/src/main/java/org/apache/maven/shared/release/phase/AbstractRunGoalsPhase.java#L109-L113 shows profile activation by id, so please do this in the right order and merge after [MNG-7051](https://issues.apache.org/jira/browse/MNG-7051).
   
   Indeed, I will obey the order, of course. I am confused why `RunPerformGoalsPhase` uses the actvation property instead of the profile...


----------------------------------------------------------------
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.

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



[GitHub] [maven] michael-o commented on pull request #411: [MNG-7029] Remove super POM release profile

Posted by GitBox <gi...@apache.org>.
michael-o commented on pull request #411:
URL: https://github.com/apache/maven/pull/411#issuecomment-771476292






----------------------------------------------------------------
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.

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



[GitHub] [maven] rfscholte commented on pull request #411: [MNG-7029] Remove super POM release profile

Posted by GitBox <gi...@apache.org>.
rfscholte commented on pull request #411:
URL: https://github.com/apache/maven/pull/411#issuecomment-771662749


   https://maven.apache.org/maven-release/maven-release-plugin/perform-mojo.html#useReleaseProfile is already marked as deprecated


----------------------------------------------------------------
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.

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



[GitHub] [maven] michael-o commented on pull request #411: [MNG-7029] Remove super POM release profile

Posted by GitBox <gi...@apache.org>.
michael-o commented on pull request #411:
URL: https://github.com/apache/maven/pull/411#issuecomment-771665715


   The we are good to remove it for next major.


----------------------------------------------------------------
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.

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



[GitHub] [maven] asfgit closed pull request #411: [MNG-7029] Remove super POM release profile

Posted by GitBox <gi...@apache.org>.
asfgit closed pull request #411:
URL: https://github.com/apache/maven/pull/411


   


----------------------------------------------------------------
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.

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



[GitHub] [maven] michael-o commented on pull request #411: [MNG-7029] Remove super POM release profile

Posted by GitBox <gi...@apache.org>.
michael-o commented on pull request #411:
URL: https://github.com/apache/maven/pull/411#issuecomment-770722429


   @rfscholte The profile detection (MNG-7051) will be merged soon, but still there is no way to fail explicitly here because the profile is activated with a property:
   ```
   osipovmi@deblndw011x:~/var/Projekte/maven-release (master=)
   $ grep -r performRelease .
   ./maven-release-api/src/main/java/org/apache/maven/shared/release/config/ReleaseDescriptor.java:     * If set to true, this will set the property "performRelease" to true.
   ./maven-release-manager/src/main/java/org/apache/maven/shared/release/phase/RunPerformGoalsPhase.java:                additionalArguments = additionalArguments + " -DperformRelease=true";
   ./maven-release-manager/src/main/java/org/apache/maven/shared/release/phase/RunPerformGoalsPhase.java:                additionalArguments = "-DperformRelease=true";
   ./maven-release-manager/src/main/mdo/release-descriptor.mdo:            If set to true, this will set the property "performRelease" to true.
   ./maven-release-manager/src/test/java/org/apache/maven/shared/release/exec/ForkedMavenExecutorTest.java:        String arguments = "-DperformRelease=true -Dmaven.test.skip=true";
   ./maven-release-manager/src/test/java/org/apache/maven/shared/release/exec/ForkedMavenExecutorTest.java:        verify( argMock ).setLine( "-DperformRelease=true -Dmaven.test.skip=true" );
   ./maven-release-manager/src/test/java/org/apache/maven/shared/release/phase/RunPerformGoalsPhaseTest.java:                                                                                                   eq( "-DperformRelease=true -f pom.xml" ),
   ./maven-release-manager/src/test/java/org/apache/maven/shared/release/phase/RunPerformGoalsPhaseTest.java:                                     eq( "-DperformRelease=true -f pom.xml" ),
   ./maven-release-manager/src/test/java/org/apache/maven/shared/release/phase/RunPerformGoalsPhaseTest.java:                                     eq( "-DperformRelease=true -f pom1.xml" ),
   ./maven-release-manager/src/test/java/org/apache/maven/shared/release/phase/RunPerformGoalsPhaseTest.java:                                     eq( "-DperformRelease=true -f pom.xml" ),
   ./maven-release-manager/src/test/java/org/apache/maven/shared/release/phase/RunPerformGoalsPhaseTest.java:                                     eq( "-Dmaven.test.skip=true -DperformRelease=true -f pom.xml" ),
   ./maven-release-manager/src/test/java/org/apache/maven/shared/release/phase/RunPerformGoalsPhaseTest.java:                                     eq( "-DperformRelease=true -f pom.xml" ),
   ./maven-release-plugin/src/it/projects/perform/MRELEASE-459/verify.groovy:def addArgsExpr = /\Q[DEBUG] Additional arguments: \E(?:-Dhttps.protocols=TLSv1.2 )?-P(.+)\Q-DperformRelease=true -f pom.xml\E/
   ./maven-release-plugin/src/it/projects/perform/MRELEASE-459/verify.groovy:// M2:  [DEBUG] Additional arguments: -P custom-release -DperformRelease=true -f pom.xml
   ./maven-release-plugin/src/it/projects/perform/MRELEASE-459/verify.groovy:// M3:  [DEBUG] Additional arguments: -P it-repo,it-repo,custom-release -DperformRelease=true -f pom.xml
   ./maven-release-plugin/src/main/java/org/apache/maven/plugins/release/PerformReleaseMojo.java:     * If set to true, the release plugin sets the property "performRelease" to true, which activates the profile
   ```
   
   Still any objections to merge this?


----------------------------------------------------------------
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.

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



[GitHub] [maven] michael-o commented on pull request #411: [MNG-7029] Remove super POM release profile

Posted by GitBox <gi...@apache.org>.
michael-o commented on pull request #411:
URL: https://github.com/apache/maven/pull/411#issuecomment-771551462


   I prefer hard failure with deprecation of that config option.


----------------------------------------------------------------
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.

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



[GitHub] [maven] michael-o commented on pull request #411: [MNG-7029] Remove super POM release profile

Posted by GitBox <gi...@apache.org>.
michael-o commented on pull request #411:
URL: https://github.com/apache/maven/pull/411#issuecomment-771476292


   The question is should that be completely removed from MRELEASE or moved to the profile altogether to fail explicitly?


----------------------------------------------------------------
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.

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



[GitHub] [maven] rfscholte commented on pull request #411: [MNG-7029] Remove super POM release profile

Posted by GitBox <gi...@apache.org>.
rfscholte commented on pull request #411:
URL: https://github.com/apache/maven/pull/411#issuecomment-771662749


   https://maven.apache.org/maven-release/maven-release-plugin/perform-mojo.html#useReleaseProfile is already marked as deprecated


----------------------------------------------------------------
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.

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



[GitHub] [maven] asfgit closed pull request #411: [MNG-7029] Remove super POM release profile

Posted by GitBox <gi...@apache.org>.
asfgit closed pull request #411:
URL: https://github.com/apache/maven/pull/411


   


----------------------------------------------------------------
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.

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



[GitHub] [maven] rfscholte commented on pull request #411: [MNG-7029] Remove super POM release profile

Posted by GitBox <gi...@apache.org>.
rfscholte commented on pull request #411:
URL: https://github.com/apache/maven/pull/411#issuecomment-771154905


   Most likely quite old code still hanging around, never removed to preserve backwards compatibility.


----------------------------------------------------------------
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.

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



[GitHub] [maven] rfscholte commented on pull request #411: [MNG-7029] Remove super POM release profile

Posted by GitBox <gi...@apache.org>.
rfscholte commented on pull request #411:
URL: https://github.com/apache/maven/pull/411#issuecomment-771148561


   https://github.com/apache/maven-release/blob/master/maven-release-manager/src/main/java/org/apache/maven/shared/release/phase/AbstractRunGoalsPhase.java#L109-L113 shows profile activation by id, so please do this in the right order and merge after MNG-7051.


----------------------------------------------------------------
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.

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