You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Anthony Cunningham <an...@gmail.com> on 2010/05/05 09:27:28 UTC

Maven Release Plugin Fatal Error

I'm trying to use the release plugin with my Maven build. Currently when I
execute the command mvn release:prepare -DdryRun=true I get the following
error:

C:\workspace\myclient_pin_mailer\myclient_pin_encryptor>*mvn release:prepare
-DdryRun=true*
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'release'.
[INFO] org.apache.maven.plugins: checking for updates from central
[INFO] org.codehaus.mojo: checking for updates from central
[INFO]
------------------------------------------------------------------------
[INFO] Building pin-encryptor
[INFO]    task-segment: [release:prepare] (aggregator-style)
[INFO]
------------------------------------------------------------------------
[INFO] [release:prepare {execution: default-cli}]
[INFO] Verifying that there are no local modifications...
[INFO] Executing: cmd.exe /X /C "svn --non-interactive status"
[INFO] Working directory:
C:\workspace\myclient_pin_mailer\myclient_pin_encryptor
[INFO] Checking dependencies and plugins for snapshots ...
What is the release version for "pin-encryptor"?
(com.myclientbank.pinmailer.encryptor:pin-encryptor) 1.0: :
What is SCM release tag or label for "pin-encryptor"?
(com.myclientbank.pinmailer.encryptor:pin-encryptor) pin-encryptor-1.
0: :
What is the new development version for "pin-encryptor"?
(com.myclientbank.pinmailer.encryptor:pin-encryptor) 1.1-SNAPSHOT:
:
[INFO] Transforming 'pin-encryptor'...
[INFO] Not generating release POMs
[INFO] Executing preparation goals - since this is simulation mode it is
running against the original project, not the r
ewritten ones
[INFO] Executing goals 'clean verify'...
[INFO]
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
[INFO] *Local repository location:
'C:\workspace\myclient_pin_mailer\myclient_pin_encryptor\file:\c:\data\repository'
is NOT a
directory.*
[INFO]
------------------------------------------------------------------------
[INFO] Trace
java.lang.IllegalArgumentException: Local repository location:
'C:\workspace\myclient_pin_mailer\myclient_pin_encryptor\file:\
c:\data\repository' is NOT a directory.
       at
org.apache.maven.shared.invoker.MavenCommandLineBuilder.setEnvironmentPaths(MavenCommandLineBuilder.java:359)

As you can see from the output for some reason it concatenates the workspace
path and the local repository path and decides that they are not valid. Does
anyone know what's going wrong here?

Cheers,

Tony