You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Anders Hammar (JIRA)" <ji...@codehaus.org> on 2008/10/22 16:44:19 UTC
[jira] Commented: (MRELEASE-382) Specifying workingDirectory as
system property on CL is not picked up by release:perform
[ http://jira.codehaus.org/browse/MRELEASE-382?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=151583#action_151583 ]
Anders Hammar commented on MRELEASE-382:
----------------------------------------
If I have a pom in the current directory in which I specify workingDirectory (see below) it works. Why not from command line?
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>a.b.c.maven.dev</groupId>
<artifactId>release-test</artifactId>
<packaging>pom</packaging>
<version>1.0-SNAPSHOT</version>
<name>Test of release</name>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.0-beta-7</version>
<configuration>
<workingDirectory>c:\mvn-release</workingDirectory>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-scm-plugin</artifactId>
<version>1.1</version>
</plugin>
</plugins>
</pluginManagement>
</build>
</project>
> Specifying workingDirectory as system property on CL is not picked up by release:perform
> ----------------------------------------------------------------------------------------
>
> Key: MRELEASE-382
> URL: http://jira.codehaus.org/browse/MRELEASE-382
> Project: Maven 2.x Release Plugin
> Issue Type: Bug
> Components: scm
> Affects Versions: 2.0-beta-7
> Environment: Win XP SP2, SUN JDK 1.5.0_16-b02, mvn 2.1.0-M1
> Reporter: Anders Hammar
>
> Running the release:perform mojo from command line in an empty directory (no pom) with the -DworkingDirectory flag, the specified workingDirectory is not picked up. This results in the workingDirectory being used something like 'CUR_DIR/null/target/checkout'.
> The command being issued:
> mvn release:perform -DconnectionUrl="scm:clearcase:VIEW_NAME:load /VOB/PATH" -Dtag=TAG_NAME -DworkingDirectory=c:\mvn-test\checkout
--
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