maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Petr Kozelka (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (MRELEASE-154) mvn release:perform does not inherit command line variable
Date Mon, 07 Jan 2008 01:00:57 GMT

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

Petr Kozelka commented on MRELEASE-154:
---------------------------------------

This problem also happens for other commandline arguments, like --settings. Therefore I cannot
use specialized settings.xml for releases :(
It would be really nice to avoid calling maven from its plugin. At least not as separate JVM.

> 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

        

Mime
View raw message