hmm, I thought the plugin dependencies were working better than that.

Try

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


The itest plugin provides hooks to set up and tear down an environment (such as starting geronimo and deploying and starting packages on it). In the middle it runs unit tests in the "itest" directory. maven.itest.skip and maven.itest.failure.ignore parallel the corresponding properties for tests.

thanks
david jencks

On Oct 1, 2004, at 12:40 PM, karan singh malhi wrote:

Even after doing a multiproject install, the build failed.
i ran the following

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

Here is the output:-

+----------------------------------------
| Executing multiproject:install-callback OpenEJB :: Integration Tests
| Memory: 32M/38M
+----------------------------------------
Attempting to download tranql-1.0-SNAPSHOT.jar.
Attempting to download geronimo-kernel-1.0-SNAPSHOT.jar.
Attempting to download geronimo-core-1.0-SNAPSHOT.jar.
Attempting to download geronimo-remoting-1.0-SNAPSHOT.jar.
Attempting to download geronimo-security-1.0-SNAPSHOT.jar.
Attempting to download openejb-core-2.0-SNAPSHOT.jar.
Attempting to download openejb-assembly-2.0-SNAPSHOT.jar.

rar:install:


build:end:

    [copy] Copying 1 file to /home/karan/geronimo/openejb/etc
build:start:

multiproject:install-callback:
[echo] Running ejb:install for OpenEJB :: Integration Tests
Tag library requested that is not present: 'geronimo:deploy' in plugin: 'null'
ejb:init:
java:prepare-filesystem:


java:compile:
[depend] Deleted 0 out of date files in 0 seconds
[echo] Compiling to /home/karan/geronimo/openejb/modules/itests/target/classes


java:jar-resources:

test:prepare-filesystem:

test:test-resources:

test:compile:

test:test:
    [echo] NOTICE: Skipping tests; they seem to have passed already
    [echo] No tests to run.


ejb:ejb:
[echo] Building ejb openejb-itests-2.0-SNAPSHOT
Copying: from '/home/karan/geronimo/openejb/modules/itests/target/openejb-itests -2.0-SNAPSHOT.jar' to: '/home/karan/.maven/repository/openejb/ejbs/openejb-itests-2.0- SNAPSHOT.jar'
Copying: from '/home/karan/geronimo/openejb/modules/itests/project.xml' to: '/home/karan/.maven/repository/openejb/poms/openejb-itests-2.0- SNAPSHOT.pom'


BUILD FAILED
File...... /home/karan/.maven/cache/maven-multiproject-plugin-1.3.1/plugin.jelly
Element... maven:reactor
Line...... 217
Column.... 9
Unable to obtain goal [multiproject:install-callback] -- /home/karan/geronimo/openejb/modules/itests/maven.xml:21:35: <attainGoal> No goal [itest]
Total time: 16 minutes 33 seconds
Finished at: Fri Oct 01 15:31:00 EDT 2004



On Fri, 2004-10-01 at 14:11, David Jencks wrote:
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