[ 
https://issues.apache.org/jira/browse/MPOM-243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17491660#comment-17491660
 ] 

Konrad Windszus commented on MPOM-243:
--------------------------------------

[~hboutemy] This was originally reported due to 
https://issues.apache.org/jira/browse/SLING-9189 which was using ASF parent 23 
(not Maven Parent). But I agree with your analysis that just using ASF parent 
23 was not enough to trigger this issue, as this only appears when using 
{{releaseProfiles}} (which was not present in ASF Parent 23).
Still I would recommend to not revert this approach, as running most things 
during prepare is not that useful. For javadoc I agree though that this should 
probably part of all builds (not only release prepare). In any case let us use 
dedicated issue for improving/modifying the release behaviour. 

> WARNING: release:perform issues [WARNING] The requested profile "pom.xml" 
> could not be activated because it does not exist.
> ---------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MPOM-243
>                 URL: https://issues.apache.org/jira/browse/MPOM-243
>             Project: Maven POMs
>          Issue Type: Bug
>          Components: asf
>    Affects Versions: MAVEN-34, ASF-23
>            Reporter: Konrad Windszus
>            Priority: Minor
>             Fix For: MAVEN-35, ASF-24
>
>
> Since version 23 the following log output is emitted with every 
> release-perform:
> {code}
> [INFO] [INFO] 
> ------------------------------------------------------------------------
> [INFO] [INFO] BUILD SUCCESS
> [INFO] [INFO] 
> ------------------------------------------------------------------------
> [INFO] [INFO] Total time:  25.851 s
> [INFO] [INFO] Finished at: 2020-03-09T19:59:04+01:00
> [INFO] [INFO] 
> ------------------------------------------------------------------------
> [INFO] [WARNING] The requested profile "pom.xml" could not be activated 
> because it does not exist.
> [INFO] phase cleanup
> [INFO] Cleaning up after release...
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> {code}
> Although it doesn't seem to have functional impact the warning is annoying.
> Most probably this is related to the profile activation in 
> https://github.com/apache/maven-apache-parent/blob/591f84284d4bce53ca2ee686c1d84b16e8029716/pom.xml#L234
> Compare also with 
> https://issues.apache.org/jira/browse/MRELEASE-1038?focusedCommentId=17024760&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-17024760.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to