'lo all, I'm just trying to get the release:prepare to work on my maven test
project but can't seem to get past a final subversion failure that's
tripping up over the ./target not being in subversion.  the log is:

C:\Documents and Settings\Mark
Derricutt\IdeaProjects\maventest\testapp\testapp-model>mvn release:clean
release:prepare
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'release'.
[INFO]
----------------------------------------------------------------------------
[INFO] Building testapp-model
[INFO]    task-segment: [release:clean, release:prepare] (aggregator-style)
[INFO]
----------------------------------------------------------------------------
[INFO] [release:clean]
[INFO] Cleaning up after release...
[INFO] [release:prepare]
[INFO] Verifying that there are no local modifications...
[INFO] Executing: svn --non-interactive status
[INFO] Working directory: C:\Documents and Settings\Mark
Derricutt\IdeaProjects\maventest\testapp\testapp-model
[INFO] Checking dependencies and plugins for snapshots ...
What is the release version for "testapp-model"? (
com.theoryinpractice:testapp-model) 1.0: :
What is SCM release tag or label for "testapp-model"? (
com.theoryinpractice:testapp-model) testapp-model-1.0: :
What is the new development version for "testapp-model"? (
com.theoryinpractice:testapp-model) 1.1-SNAPSHOT: :
[INFO] Transforming 'testapp-model'...
[INFO] Executing preparation goals 'clean integration-test'...
[INFO] Executing: mvn clean integration-test --no-plugin-updates
   [INFO] Scanning for projects...
   [INFO]
----------------------------------------------------------------------------
   [INFO] Building testapp-model
   [INFO]    task-segment: [clean, integration-test]
   [INFO]
----------------------------------------------------------------------------
   [INFO] [clean:clean]
   [INFO] Deleting directory C:\Documents and Settings\Mark
Derricutt\IdeaProjects\maventest\testapp\testapp-model\target
   [INFO] Deleting directory C:\Documents and Settings\Mark
Derricutt\IdeaProjects\maventest\testapp\testapp-model\target\classes
   [INFO] Deleting directory C:\Documents and Settings\Mark
Derricutt\IdeaProjects\maventest\testapp\testapp-model\target\test-classes
   [INFO] [resources:resources]
   [INFO] Using default encoding to copy filtered resources.
   [INFO] [compiler:compile]
   [INFO] Compiling 1 source file to C:\Documents and Settings\Mark
Derricutt\IdeaProjects\maventest\testapp\testapp-model\target\classes
   [INFO] [resources:testResources]
   [INFO] Using default encoding to copy filtered resources.
   [INFO] [compiler:testCompile]
   [INFO] Compiling 1 source file to C:\Documents and Settings\Mark
Derricutt\IdeaProjects\maventest\testapp\testapp-model\target\test-classes
   [INFO] [surefire:test]
   [INFO] Surefire report directory: C:\Documents and Settings\Mark
Derricutt\IdeaProjects\maventest\testapp\testapp-model\target\surefire-reports

   -------------------------------------------------------
    T E S T S
   -------------------------------------------------------
   Running com.theoryinpractice.AppTest
   Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.09 sec

   Results :
   Tests run: 1, Failures: 0, Errors: 0, Skipped: 0

   [INFO] [jar:jar]
   [INFO] Building jar: C:\Documents and Settings\Mark
Derricutt\IdeaProjects\maventest\testapp\testapp-model\target\testapp-
model-1.0.jar
   [INFO]
------------------------------------------------------------------------
   [INFO] BUILD SUCCESSFUL
   [INFO]
------------------------------------------------------------------------
   [INFO] Total time: 6 seconds
   [INFO] Finished at: Fri Feb 16 19:42:28 NZDT 2007
   [INFO] Final Memory: 5M/12M
   [INFO]
------------------------------------------------------------------------
[INFO] Checking in modified POMs...
[INFO] Executing: svn --non-interactive commit --file
C:\DOCUME~1\MARKDE~1\LOCALS~1\Temp\maven-scm-779778155.commit "C:/Documents
and Settings/Mark
Derricutt/IdeaProjects/maventest/testapp/testapp-model/pom.xml"
[INFO] Working directory: C:\Documents and Settings\Mark
Derricutt\IdeaProjects\maventest\testapp\testapp-model
[INFO] Tagging release with the label testapp-model-1.0...
[INFO] Executing: svn --non-interactive copy --file
C:\DOCUME~1\MARKDE~1\LOCALS~1\Temp\maven-scm-204887870.commit .
svn+ssh://stumpy.talios.com/home/amrk/mvnsvn/testapp/tags/testapp-model-1.0
[INFO] Working directory: C:\Documents and Settings\Mark
Derricutt\IdeaProjects\maventest\testapp\testapp-model
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Unable to tag SCM
Provider message:
The svn tag command failed.
Command output:
svn: Commit failed (details follow):
svn: Directory 'C:\Documents and Settings\Mark
Derricutt\IdeaProjects\maventest\testapp\testapp-model\target\.svn'
containing working copy admin area is missing

[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 34 seconds
[INFO] Finished at: Fri Feb 16 19:42:47 NZDT 2007
[INFO] Final Memory: 4M/8M
[INFO]
------------------------------------------------------------------------





After this I tried setting an ignore on ./target - and retried and ended up
with:

[INFO] Checking in modified POMs...
[INFO] Executing: svn --non-interactive commit --file
C:\DOCUME~1\MARKDE~1\LOCALS~1\Temp\maven-scm-212116021.commit "C:/Documents
and Settings/Mark
Derricutt/IdeaProjects/maventest/testapp/testapp-model/pom.xml"
[INFO] Working directory: C:\Documents and Settings\Mark
Derricutt\IdeaProjects\maventest\testapp\testapp-model
[INFO] Tagging release with the label testapp-model-1.0...
[INFO] Executing: svn --non-interactive copy --file
C:\DOCUME~1\MARKDE~1\LOCALS~1\Temp\maven-scm-1011756551.commit .
svn+ssh://stumpy.talios.com/home/amrk/mvnsvn/testapp/tags/testapp-model-1.0
[INFO] Working directory: C:\Documents and Settings\Mark
Derricutt\IdeaProjects\maventest\testapp\testapp-model
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Unable to tag SCM
Provider message:
The svn tag command failed.
Command output:
svn: Commit failed (details follow):
svn: Source url '/testapp/tags/testapp-model-1.0' is from different
repository



I'm sure I'm missing something here but I can't seem to spot it.  Anyone got
any suggestions on what I could look at?

Mark

Reply via email to