Maven Help Plugin
  1. Maven Help Plugin
  2. MPH-38

mvn help:active-profiles won't show the active profiles in settings.xml

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Duplicate
    • Affects Version/s: 2.1
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      linux (never tried it in windows), sun's jdk 1.5.0_12

      Description

      settings.xml has this

      <activeProfiles>
      <activeProfile>appserverConfig</activeProfile>
      </activeProfiles>

      pom.xml of MavenProject2 project has this

      <profile>
      <id>appserverConfig-dev-2</id>
      <activation>
      <activeByDefault>true</activeByDefault>
      <property>
      <name>env</name>
      <value>dev-2</value>
      </property>
      </activation>
      <properties>
      <appserver.home>/path/to/another/dev/appserver2</appserver.home>
      </properties>
      </profile>

      I tried mvn help:active-profiles using the maven 2.1-SNAPSHOT I only got

      • appserverConfig-dev-2 (source: pom)

      appserverConfig defined in settings.xml is not shown

        Issue Links

          Activity

          agramirez created issue -
          agramirez made changes -
          Field Original Value New Value
          Attachment apache-maven-2.1-659801-bin.zip [ 36661 ]
          Siveton Vincent made changes -
          Link This issue is related to MNG-3732 [ MNG-3732 ]
          Siveton Vincent made changes -
          Fix Version/s 2.2 [ 14536 ]
          Brett Porter made changes -
          Resolution Duplicate [ 3 ]
          Fix Version/s 2.2 [ 14536 ]
          Assignee Brett Porter [ brettporter ]
          Status Open [ 1 ] Closed [ 6 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 10:22:20 UTC 2015 [ 1428229340951 ]
          Mark Thomas made changes -
          Workflow jira [ 12721452 ] Default workflow, editable Closed status [ 12762907 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 23:56:10 UTC 2015 [ 1428278170928 ]
          Mark Thomas made changes -
          Workflow jira [ 12958995 ] Default workflow, editable Closed status [ 12995862 ]

            People

            • Assignee:
              Brett Porter
              Reporter:
              agramirez
            • Votes:
              3 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development