This is a current limitation of Maven and how we're doing the build system. The first thing you should do with the build, from the geronimo directory, is

        maven build

then if you want to do a clean build

        maven rebuild

or (after you've ran maven build before) you can then clean everything down via

        maven clean

After you've cleaned you must do 'maven build' next.
Basically the build installs the geronimo-*-DEV.jar files in your local repository - unfortunately Maven checks the dependency list for the clean goal (hence your problem).


One way to fix this is for us to deploy the current -DEV.jar files into the maven repository. It'd be nice to turn off dependency checking for the clean goal somehow which would totally fix the issue.


On Tuesday, August 19, 2003, at 11:04 pm, Aaron Mulder wrote:

On Tue, 19 Aug 2003, Alex Blewitt wrote:
If you've got a repository already, try maven -o clean. That way, it
doesn't try to download (and fail) to get the latest SNAPSHOT releases.

Didn't help. I don't think we have a geronimo-core-DEV source
file on ibiblio anyway! (See http://www.ibiblio.org/maven/). I think the
web build is just referring to a remote file instead of a local one.
However, I have little Maven mojo and don't know how to fix this. (I also
don't know what ${variables} are set by Maven for use in Ant tags in the
maven.xml file, if there are any Maven mavens listening!)


Aaron

+----------------------------------------
| Executing (clean): Geronimo :: Web
| Memory: 9M/14M
+----------------------------------------
You are working offline so the build will continue, but mx4j-SNAPSHOT.jar
may be out of date!
You are working offline so the build will continue, but
mx4j-tools-SNAPSHOT.jar may be out of date!
You are working offline so the build will continue, but
servletapi-SNAPSHOT.jar may be out of date!


BUILD FAILED
File...... file:/home/ammulder/cvs/geronimo/
Element... maven:reactor
Line...... 37
Column.... 7
The build cannot continue because of the following unsatisfied dependency:


geronimo-core-DEV.jar

Total time:  11 seconds



James ------- http://radio.weblogs.com/0112098/



Reply via email to