You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by to...@gi-de.com on 2008/01/28 15:17:30 UTC
How to change workingDirectory for release:perform?
Hi,
any solution in sight?
I have exactly the same problem, using maven-release-plugin:2.0-beta-7
C:\LocalViewsMaven\gide-common-main\pdv_cms\GDCAMS\src\gide-common>mvn
-Dbasedir=C:\Release -DworkingDirectory=C:\Release -X release:perform
[DEBUG] Configuring mojo
'org.apache.maven.plugins:maven-release-plugin:2.0-beta-7:perform' -->
[DEBUG] (s) basedir =
C:\LocalViewsMaven\gide-common-main\pdv_cms\GDCAMS\src\gide-common
[DEBUG] (f) project = MavenProject:
com.gide.common:gide-common:3.2.0-SNAPSHOT @
C:\LocalViewsMaven\gide-common-main\pdv_cms\GDCAMS\src\gide-common\pom.xml
[DEBUG] (f) reactorProjects = [MavenProject:
com.gide.common:gide-common:3.2.0-SNAPSHOT @
C:\LocalViewsMaven\gide-common-main\pdv_cms\GDCAMS\src\gide-common\pom.xml]
[DEBUG] (f) scmCommentPrefix = [maven-release-plugin]
[DEBUG] (f) settings = org.apache.maven.settings.Settings@10c0f66
[DEBUG] (f) useReleaseProfile = true
[DEBUG] (f) workingDirectory =
C:\LocalViewsMaven\gide-common-main\pdv_cms\GDCAMS\src\gide-common\target\checkout
[DEBUG] -- end configuration --
[INFO] [release:perform]
[INFO] Checking out the project to perform the release ...
[DEBUG] viewName = 'reinhart-d167961-maven' ; configSpec = 'load
/pdv_cms/GDCAMS/src/gide-common'
[DEBUG] executing checkout command...
[DEBUG] Tag: gide-common-3.1.0
[DEBUG] Running with CLEARCASE null
[INFO] Executing:
C:\LocalViewsMaven\gide-common-main\pdv_cms\GDCAMS\src\gide-common\target>>cleartool
mkview -snapshot -tag reinhart-d167961-maven-checkout -vws
\\d167961\kmdata\reinhart-d167961-maven-checkout.vws
C:\LocalViewsMaven\gide-common-main\pdv_cms\GDCAMS\src\gide-common\target\checkout
[ERROR] The cleartool command failed.
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Unable to checkout from SCM
Provider message:
The cleartool command failed.
Command output:
cleartool: Error: A view cannot be created under another view's storage
directory or snapshot view storage directory.
[INFO]
------------------------------------------------------------------------
[DEBUG] Trace
org.apache.maven.BuildFailureException: Unable to checkout from SCM
Provider message:
The cleartool command failed.
Command output:
=> The parameters -Dbasedir and -DworkingDirectory are not passed to the
plugin.
thanx, Torsten
Re: How to change workingDirectory for release:perform?
Posted by Anders Hammar <an...@hammar.net>.
I've run into the same problem with specifying workingDirectory as a system
property on the command line. Couldn't find a jira filed by you (or anyone
else) so I created one:
http://jira.codehaus.org/browse/MRELEASE-382
Please update it regarding basedir also not being picked up!
/Anders
torsten.reinhard wrote:
>
> Hi,
>
> any solution in sight?
> I have exactly the same problem, using maven-release-plugin:2.0-beta-7
>
> C:\LocalViewsMaven\gide-common-main\pdv_cms\GDCAMS\src\gide-common>mvn
> -Dbasedir=C:\Release -DworkingDirectory=C:\Release -X release:perform
>
> [DEBUG] Configuring mojo
> 'org.apache.maven.plugins:maven-release-plugin:2.0-beta-7:perform' -->
> [DEBUG] (s) basedir =
> C:\LocalViewsMaven\gide-common-main\pdv_cms\GDCAMS\src\gide-common
> [DEBUG] (f) project = MavenProject:
> com.gide.common:gide-common:3.2.0-SNAPSHOT @
> C:\LocalViewsMaven\gide-common-main\pdv_cms\GDCAMS\src\gide-common\pom.xml
> [DEBUG] (f) reactorProjects = [MavenProject:
> com.gide.common:gide-common:3.2.0-SNAPSHOT @
> C:\LocalViewsMaven\gide-common-main\pdv_cms\GDCAMS\src\gide-common\pom.xml]
> [DEBUG] (f) scmCommentPrefix = [maven-release-plugin]
> [DEBUG] (f) settings = org.apache.maven.settings.Settings@10c0f66
> [DEBUG] (f) useReleaseProfile = true
> [DEBUG] (f) workingDirectory =
> C:\LocalViewsMaven\gide-common-main\pdv_cms\GDCAMS\src\gide-common\target\checkout
> [DEBUG] -- end configuration --
> [INFO] [release:perform]
> [INFO] Checking out the project to perform the release ...
> [DEBUG] viewName = 'reinhart-d167961-maven' ; configSpec = 'load
> /pdv_cms/GDCAMS/src/gide-common'
> [DEBUG] executing checkout command...
> [DEBUG] Tag: gide-common-3.1.0
> [DEBUG] Running with CLEARCASE null
> [INFO] Executing:
> C:\LocalViewsMaven\gide-common-main\pdv_cms\GDCAMS\src\gide-common\target>>cleartool
> mkview -snapshot -tag reinhart-d167961-maven-checkout -vws
> \\d167961\kmdata\reinhart-d167961-maven-checkout.vws
> C:\LocalViewsMaven\gide-common-main\pdv_cms\GDCAMS\src\gide-common\target\checkout
> [ERROR] The cleartool command failed.
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Unable to checkout from SCM
> Provider message:
> The cleartool command failed.
> Command output:
> cleartool: Error: A view cannot be created under another view's storage
> directory or snapshot view storage directory.
>
> [INFO]
> ------------------------------------------------------------------------
> [DEBUG] Trace
> org.apache.maven.BuildFailureException: Unable to checkout from SCM
> Provider message:
> The cleartool command failed.
> Command output:
>
> => The parameters -Dbasedir and -DworkingDirectory are not passed to the
> plugin.
>
> thanx, Torsten
>
--
View this message in context: http://www.nabble.com/How-to-change-workingDirectory-for-release%3Aperform--tp15136167p20126145.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org