Dependencies resolve in Maven when cutting a release. You don't need to set them in the poject.xml just use SNAPSHOT:
http://maven.apache.org/reference/user-guide.html#Resolving%20SNAPSHOT%20Dependencies
When you use this goal before cutting a release, it will adjust the dependencies in your project.xml so that they match the appropriate version, then build the release.
-Mark
[EMAIL PROTECTED] wrote:
tobrien 2004/01/28 13:05:55
Modified: math project.xml
Log:
Project dependencies for commons-collctions and commons-lang were pointing to the SNAPSHOT of both. When this was iriginally done, it was agreed that pointing to a SNAPSHOT was not an option for a release. Now that compatible version of these to component have been released, the versions have been updated. Commons Math now depends on collections 2.1 and lang 2.0.
Revision Changes Path
1.37 +4 -4 jakarta-commons/math/project.xml
Index: project.xml
===================================================================
RCS file: /home/cvs/jakarta-commons/math/project.xml,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -r1.36 -r1.37
--- project.xml 26 Jan 2004 03:09:15 -0000 1.36
+++ project.xml 28 Jan 2004 21:05:55 -0000 1.37
@@ -71,11 +71,11 @@
</dependency>
<dependency>
<id>commons-collections</id>
- <version>SNAPSHOT</version>
+ <version>2.1</version>
</dependency>
<dependency>
<id>commons-lang</id>
- <version>SNAPSHOT</version>
+ <version>2.0</version>
</dependency>
<dependency>
<id>commons-logging</id>
@@ -84,7 +84,7 @@
<dependency>
<id>commons-discovery</id>
<version>SNAPSHOT</version>
- </dependency>
+ </dependency>
</dependencies>
<issueTrackingUrl>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Mark Diggory Software Developer Harvard MIT Data Center http://www.hmdc.harvard.edu
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
