I'd recommend

maven multiproject:install -Dmaven.test.skip=true -Dmaven.itest.skip=true

which will ensure you get up to date copies of everything in your local repo.

In any case, running maven in openejb ought to copy openejb-core-2.0-SNAPSHOT.jar to your local maven repo by itself. Check the console output...

thanks
david jencks

On Oct 1, 2004, at 10:55 AM, Craig Johannsen wrote:

Hi Karan,

This is the same problem I had a couple of days ago. See emails with subject "2 Connector tests failed". Here are the steps I took to work around the problem, which will be fixed when the Maven repository contains an up-to-date version of openejb-core-2.0-SNAPSHOT.jar:
1.) Get the source of the related projects (openejb, howl, activemq, etc): "maven getotherprojects"
2.) Change to the geronimo/openejb directory and run: "maven".
3.) Assuming the openejb build succeeded or at least built the jars, copy the openejb-core-2.0-SNAPSHOT.jar from geronimo/openejb/modules/core/target directory to the local maven repository directory .maven/repository/openejb/jars (or wherever the local maven repository happens to be).
4.) Change to the geronimo directory and run: "maven" to build using the new openejb-core-2.0-SNAPSHOT.jar file. This should fix the missing "org.openejb.client.naming" package issue.


Alternatively, possibly the Maven repository is already up to date but for some reason the openejb-core-2.0-SNAPSHOT.jar in your local repository is not being replaced. You could manually delete it and then try running "maven -Dmodules=client-builder" to see if that fixed the problem.

Cheers,
Craig

karan singh malhi wrote:

hi ,
i disabled maven to run tests, and the build failed.



[snip]


/home/karan/geronimo/modules/client-builder/src/java/org/apache/ geronimo/client/builder/AppClientModuleBuilder.java:74: package org.openejb.client.naming does not exist






Reply via email to