Hi all.
From what I can gather, the release plugin has been fixed to work with
the flattened eclipse based project structure.
I have 4 directories, all at the same level so that they work with
eclipse.
<workspace dir>\FireDragon (the J2EE Multi Module Project)
<workspace dir>\FireDragonResources (the resources project)
<workspace dir>\FireDragonWeb (the web/war project)
<workspace dir>\FireDragonEAR (the ear project).
The multi module build project has this in it:
<modules>
<module>../FireDragonResources</module>
<module>../FireDragonWeb</module>
<module>../FireDragonEAR</module>
</modules>
And each of the modules (Resources, WAR, EAR) have this as the parent:
<parent>
<groupId>au.com.warpspeed.firedragon</groupId>
<artifactId>FireDragon</artifactId>
<version>1.0.5-SNAPSHOT</version>
<relativePath>../FireDragon/pom.xml</relativePath>
</parent>
The project builds fine, so all of that is ok.
However, when I do a release:prepare, I get this as the final bit of the
output:
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
------------------------------------------------------------------------
[INFO] FireDragon - J2EE Multi Module Project ................
SUCCESS [13.125s]
[INFO] FireDragon - Resources Project ........................
SUCCESS [3.875s]
[INFO] FireDragon - WAR Project ..............................
SUCCESS [3:36.109s]
[INFO] FireDragon - EAR Project ..............................
SUCCESS [1:10.562s]
[INFO]
------------------------------------------------------------------------
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 5 minutes 7 seconds
[INFO] Finished at: Sat Jul 12 21:38:26 EST 2008
[INFO] Final Memory: 19M/41M
[INFO]
------------------------------------------------------------------------
[INFO] Checking in modified POMs...
[INFO] Executing: svn --username chris --password ***** --non-interactive
commit --file C:\DOCUME~1\Chris\LOCALS~1\Temp\maven-scm-108910589.commi
t --targets C:\DOCUME~1\Chris\LOCALS~1\Temp\maven-scm-3540-targets
[INFO] Working directory: C:\Documents and Settings\Chris\My
Documents\IBM\rationalsdp7.0\workspace\FireDragon
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Unable to commit files
Provider message:
The svn command failed.
Command output:
svn: 'C:\Documents and Settings\Chris\My
Documents\IBM\rationalsdp7.0\workspace' is not a working copy
svn: Can't open file 'C:\Documents and Settings\Chris\My
Documents\IBM\rationalsdp7.0\workspace\.svn\entries': The system cannot find
the path specified.
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 5 minutes 24 seconds
[INFO] Finished at: Sat Jul 12 21:38:28 EST 2008
[INFO] Final Memory: 7M/13M
[INFO]
------------------------------------------------------------------------
Is the release plugin not really fixed (as claimed since beta-6 and I'm
using beta-8) or have I done something else that is wrong?
-Chris
--
View this message in context:
http://www.nabble.com/Release-Issues-with-Eclipse-Projects-tp18418791p18418791.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]