You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

First, checkout xwork also, and run "mvn install" – this gives you the snapshot of XWork as well as the POM for resolving transitive dependencies like oscore.

Second, in the webwork CVS checkout, run "ant common.jar". This will cause Ivy to fetch the other dependencies you need.

Then, for each of the missing dependencies, install using "mvn install:install-file" Below are examples, but of course the path to your ".ivy-cache" directory will differ, and it's possible that you would end up with a different SNAPSHOTted version of plexus-container-default.

mvn install:install-file -DartifactId=dwr -DgroupId=dwr -Dpackaging=jar -Dversion=1.1.3-beta \
    -Dfile=/Users/germuska/.ivy-cache/dwr/dwr/jars/dwr-1.1-beta-3.jar

mvn install:install-file -DartifactId=plexus-container-default -DgroupId=org.codehaus.plexus \
    -Dpackaging=jar -Dversion=1.0-alpha-10-SNAPSHOT \
    -Dfile=/Users/germuska/.ivy-cache/org.codehaus.plexus/plexus-container-default/jars/plexus-container-default-1.0-alpha-10-20060215.222714-5.jar

Finally, I had to modify pom.xml to define a location for the dom3 dependencies, since I don't have Java 5 on this machine. There's a comment in pom.xml acknowledging that this needs to happen. I'm assuming at least one part of the sticking point is that no public Maven2 repo has a dom3 jar (as far as I could find.)

Ah, yes – one other thing; the webwork pom.xml should include spring-mock as a test-scoped dependency.

After all those, mvn eclipse:eclipse seems to do just what it should.

Thanks Joe Germuska for reporting this to the user forum.

  • No labels