jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Maven 2.x Help Plugin
  • MPH-86

Hide passwords for effective-pom

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: 2.1.1
  • Fix Version/s: None
  • Labels:
    None
  • Environment:
    Hide
    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"
    Show
    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"

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>

Issue Links

relates to

Improvement - An improvement or enhancement to an existing feature or task. MPH-44 Hide passwords for effective-settings

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
There are no comments yet on this issue.

People

  • Assignee:
    Unassigned
    Reporter:
    Stefan Cordes
Vote (1)
Watch (0)

Dates

  • Created:
    20/Jan/12 2:11 AM
    Updated:
    20/Jan/12 2:12 AM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.