Details

    • Type: Wish
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.1.1
    • Fix Version/s: None
    • Component/s: effective-pom
    • Labels:
      None
    • Environment:

      Description

      Executing
      mvn help:effective-pom -Doutput=pom-effective.txt
      with

      <profiles>
         <profile>
              <id>default</id>
              <activation>
              <activeByDefault>true</activeByDefault>
              </activation>
              <properties>
                      <maven.scm.username>MyUserId</maven.scm.username>
                      <maven.scm.password>MyVerySecretPassword</maven.scm.password>
              </properties>
         </profile>
      </profiles>
      </settings>
      

      in
      %userprofile%\.m2\settings.xml

      results in an pom-effective.txt
      which contains

              <properties>
                      <maven.scm.username>MyUserId</maven.scm.username>
                      <maven.scm.password>MyVerySecretPassword</maven.scm.password>
              </properties>
      

      As (in our case) the pom-effective.txt should be checked in version control system for later debug support we strongly need to hide the password analog to
      "MPH-44 Hide passwords for effective-settings":

              <properties>
                      <maven.scm.username>MyUserId</maven.scm.username>
                      <maven.scm.password>***</maven.scm.password>
              </properties>
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                trippeltrappel Stefan Cordes
              • Votes:
                1 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: