michael-o commented on pull request #429: URL: https://github.com/apache/maven/pull/429#issuecomment-770262880
This is fishy: ``` mosipov@bsd1srv:~/var/Projekte/maven-resolver (master=) $ ~/apache-maven/bin/mvn help:active-profiles -P?release-profile,?abc -N [INFO] Scanning for projects... [WARNING] The requested optional profiles [abc, release-profile] could not be activated or de-activated because they do not exist. [INFO] [INFO] --------------< org.apache.maven.resolver:maven-resolver >-------------- [INFO] Building Maven Artifact Resolver 1.7.0-SNAPSHOT [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-help-plugin:3.2.0:active-profiles (default-cli) @ maven-resolver --- [INFO] Active Profiles for Project 'org.apache.maven.resolver:maven-resolver:pom:1.7.0-SNAPSHOT': The following profiles are active: - disable-java8-doclint (source: external) - release-profile (source: ) [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.875 s [INFO] Finished at: 2021-01-30T19:46:57+01:00 [INFO] ------------------------------------------------------------------------ [WARNING] The requested optional profiles [abc, release-profile] could not be activated or de-activated because they do not exist. ``` Please note that `release-profile` comes from Super POM, but is activated with a property. So this profile isn't there, but why does the MHELP claim otherwise. On the contrary: ``` mosipov@bsd1srv:~/var/Projekte/maven-resolver (master=) $ ~/apache-maven/bin/mvn help:active-profiles -Prelease-profile -N [INFO] Scanning for projects... [ERROR] The requested profiles [release-profile] could not be activated or de-activated because they do not exist. -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the '-e' switch. [ERROR] Re-run Maven using the '-X' switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MissingProfilesException ``` and ``` mosipov@bsd1srv:~/var/Projekte/maven-resolver (master=) $ ~/apache-maven/bin/mvn help:active-profiles -N -DperformRelease [INFO] Scanning for projects... [INFO] [INFO] --------------< org.apache.maven.resolver:maven-resolver >-------------- [INFO] Building Maven Artifact Resolver 1.7.0-SNAPSHOT [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-help-plugin:3.2.0:active-profiles (default-cli) @ maven-resolver --- [INFO] Active Profiles for Project 'org.apache.maven.resolver:maven-resolver:pom:1.7.0-SNAPSHOT': The following profiles are active: - disable-java8-doclint (source: external) - release-profile (source: ) [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.893 s [INFO] Finished at: 2021-01-30T19:49:14+01:00 [INFO] ------------------------------------------------------------------------ ``` This confuses me here. Do you see the diference? ---------------------------------------------------------------- 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: us...@infra.apache.org