jvanzyl 2002/07/10 23:47:15
Modified: . jars.list project.xml
src/java/org/apache/maven ProjectVerifier.java
Log:
o Trying maven out with the 'latest' jelly jar.
o Modified the ProjectVerifier to always consider a 'latest.jar' a
failed dependency so it tries to get it every time. There's a timestamp
check so it won't come down if it doesn't need to but it will take
a poke to try and get the 'latest' jar.
Revision Changes Path
1.43 +1 -1 jakarta-turbine-maven/jars.list
Index: jars.list
===================================================================
RCS file: /home/cvs/jakarta-turbine-maven/jars.list,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -r1.42 -r1.43
--- jars.list 11 Jul 2002 01:47:44 -0000 1.42
+++ jars.list 11 Jul 2002 06:47:15 -0000 1.43
@@ -34,7 +34,7 @@
commons-graph/jars/commons-graph-0.8.jar
commons-grant/jars/commons-grant-1.0-b1.jar
commons-io/jars/commons-io-0.2-dev.20020614.122300.jar
-commons-jelly/jars/commons-jelly-1.0-dev.20020710.093006.jar
+commons-jelly/jars/commons-jelly-latest.jar
commons-jexl/jars/commons-jexl-1.0-dev.jar
commons-lang/jars/commons-lang-1.0-dev.jar
commons-logging/jars/commons-logging-1.0.jar
1.147 +1 -1 jakarta-turbine-maven/project.xml
Index: project.xml
===================================================================
RCS file: /home/cvs/jakarta-turbine-maven/project.xml,v
retrieving revision 1.146
retrieving revision 1.147
diff -u -r1.146 -r1.147
--- project.xml 11 Jul 2002 01:47:59 -0000 1.146
+++ project.xml 11 Jul 2002 06:47:15 -0000 1.147
@@ -336,7 +336,7 @@
<dependency>
<id>commons-jelly</id>
- <version>1.0-dev.20020710.093006</version>
+ <version>latest</version>
<url>http://jakarta.apache.org/commons/sandbox/jelly/</url>
</dependency>
1.13 +2 -2
jakarta-turbine-maven/src/java/org/apache/maven/ProjectVerifier.java
Index: ProjectVerifier.java
===================================================================
RCS file:
/home/cvs/jakarta-turbine-maven/src/java/org/apache/maven/ProjectVerifier.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- ProjectVerifier.java 9 Jul 2002 20:42:06 -0000 1.12
+++ ProjectVerifier.java 11 Jul 2002 06:47:15 -0000 1.13
@@ -230,7 +230,7 @@
File jarFile = new File(
getMavenLocalRepo()+"/"+dependency.getId()+"/jars/", jar);
- if (jarFile.exists() == false)
+ if (jarFile.exists() == false || jar.endsWith("latest.jar"))
{
// The directory structure for this project may
// not exists so create it if missing.
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>