Uploaded image for project: 'Maven POMs'
  1. Maven POMs
  2. MPOM-243

WARNING: release:perform issues [WARNING] The requested profile "pom.xml" could not be activated because it does not exist.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • ASF-23
    • None
    • asf
    • None

    Description

      Since version 23 the following log output is emitted with every release-perform:

      [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
      

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              kwin Konrad Windszus
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: