On Mar 23, 2009, at 7:44 AM, Carvalho, Ruben wrote:

Hi,

The file jetspeed-2.1.3-postrelease/.classpath is pointing to jars in
the form of, for example,

MAVEN_REPO/jmock/jars/jmock-1.2.0.jar

Which don't exist in the repository, even after running a mvn install -p
init and mvn install.

The correct entry should be:

MAVEN_REPO/jmock/jmock/1.2.0/jmock-1.2.0.jar

Is there a maven goal that creates these /jars directories and copies
the artifact? Or should I simply use a different .classpath, in this
case which one?

The .classpath is actually for Maven-1 repositories. There is a secondary .classpath file found under etc/editors/2.1.maven2.classpath Copy that file over the .classpath and it restart Eclipse (or close and reopen the project)


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to