You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Semb Wever (JIRA)" <ji...@codehaus.org> on 2008/03/21 19:31:46 UTC

[jira] Closed: (MRELEASE-154) mvn release:perform does not inherit command line variable

     [ http://jira.codehaus.org/browse/MRELEASE-154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Semb Wever closed MRELEASE-154.
---------------------------------------

    Resolution: Won't Fix

The documentation
> Additional arguments to pass to the Maven executions, separated by spaces.
while accurate, is a little unclear. It really needs an example, 
eg -Darguments="-Duser.name=mickw -DskipTests=true"

Otherwise sorry for the erroneous bug report.

> mvn release:perform does not inherit command line variable
> ----------------------------------------------------------
>
>                 Key: MRELEASE-154
>                 URL: http://jira.codehaus.org/browse/MRELEASE-154
>             Project: Maven 2.x Release Plugin
>          Issue Type: Bug
>            Reporter: Michael Semb Wever
>            Priority: Critical
>
> When I deploy i must add -Duser.name=mickw to ensure scpexe logins in with the correct username.
> eg mvn deploy -Duser.name=mick
> But when I run "mvn release:perform" scpexe fails when it forks the sub process:
> mvn deploy site-deploy --no-plugin-updates -P null,null -DperformRelease=true
> and it's missing the -Duser.name=mickw variable.
> I need some way of setting the user.name property to make it possible to run release:perform

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira