brett 2004/12/03 23:07:08
Modified: src/java/org/apache/maven Tag: MAVEN-1_0-BRANCH
ArtifactListBuilder.java
Log:
has to match exactly, as a path can contain SNAPSHOT
Revision Changes Path
No revision
No revision
1.14.4.5 +2 -2 maven/src/java/org/apache/maven/ArtifactListBuilder.java
Index: ArtifactListBuilder.java
===================================================================
RCS file: /home/cvs/maven/src/java/org/apache/maven/ArtifactListBuilder.java,v
retrieving revision 1.14.4.4
retrieving revision 1.14.4.5
diff -u -r1.14.4.4 -r1.14.4.5
--- ArtifactListBuilder.java 4 Dec 2004 06:59:05 -0000 1.14.4.4
+++ ArtifactListBuilder.java 4 Dec 2004 07:07:07 -0000 1.14.4.5
@@ -61,7 +61,7 @@
// The jar override option has been set and we have a
property
// for the this dependency so override the path with the user
// specified value.
- if ( Character.isDigit( mavenJarProperty.charAt( 0 ) ) ||
mavenJarProperty.indexOf( "SNAPSHOT" ) >= 0 )
+ if ( Character.isDigit( mavenJarProperty.charAt( 0 ) ) ||
"SNAPSHOT".equals( mavenJarProperty ) )
{
// User is requesting a specific version of a dependency
// be used.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]