maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Scholte (JIRA)" <j...@codehaus.org>
Subject [jira] (MPH-86) Hide passwords for effective-pom
Date Sat, 02 Feb 2013 14:30:13 GMT

     [ https://jira.codehaus.org/browse/MPH-86?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Robert Scholte updated MPH-86:
------------------------------

    Description: 
Executing
{{mvn help:effective-pom -Doutput=pom-effective.txt}}
with
{code:xml}
<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>
{code}
in 
{{%userprofile%\.m2\settings.xml}}

results in an pom-effective.txt
which contains
{code:xml}
        <properties>
                <maven.scm.username>MyUserId</maven.scm.username>
                <maven.scm.password>MyVerySecretPassword</maven.scm.password>
        </properties>
{code}
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":

{code:xml}
        <properties>
                <maven.scm.username>MyUserId</maven.scm.username>
                <maven.scm.password>***</maven.scm.password>
        </properties>
{code}

  was:
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>


    
> Hide passwords for effective-pom
> --------------------------------
>
>                 Key: MPH-86
>                 URL: https://jira.codehaus.org/browse/MPH-86
>             Project: Maven 2.x Help Plugin
>          Issue Type: Bug
>    Affects Versions: 2.1.1
>         Environment: Apache Maven 3.0.3 (r1075438; 2011-02-28 18:31:09+0100)
> Maven home: C:\Program Files (x86)\RscApplications\Maven3\bin\..
> Java version: 1.6.0, vendor: IBM Corporation
> Java home: C:\programs\ejbdeploy_base_v7\java\jre
> Default locale: de_DE, platform encoding: Cp1252
> OS name: "windows 7", version: "6.1 build 7601 service pack 1", arch: "x86", family:
"windows"
>            Reporter: Stefan Cordes
>
> Executing
> {{mvn help:effective-pom -Doutput=pom-effective.txt}}
> with
> {code:xml}
> <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>
> {code}
> in 
> {{%userprofile%\.m2\settings.xml}}
> results in an pom-effective.txt
> which contains
> {code:xml}
>         <properties>
>                 <maven.scm.username>MyUserId</maven.scm.username>
>                 <maven.scm.password>MyVerySecretPassword</maven.scm.password>
>         </properties>
> {code}
> 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":
> {code:xml}
>         <properties>
>                 <maven.scm.username>MyUserId</maven.scm.username>
>                 <maven.scm.password>***</maven.scm.password>
>         </properties>
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message