> I do not know if the error is because I lack some configuration setting or
> else because Geronimo does not realise that the ehb module needs the
> persistence module and therefore one should be deplpoyed before the other.
The manual way to fix this: unpack the EAR that Maven produced, and
unpac
ssage-
From: sim085 [mailto:sim...@hotmail.com]
Sent: Thursday, 16 December 2010 06:35
To: users@maven.apache.org
Subject: Re: How to package a JAR file in an EAR file so that this can
be accessed by all other modules (ex: EJB, WAR, etc)
I do have com.test.persistence project listed unde
I do have com.test.persistence project listed under the dependencies and in
fact this is added to the ear file just like the other projects (ejb and
war). However when I try to deploy the ear file I get the error from
geronimo.
I do not know if the error is because I lack some configuration sett
Hi
If your request is only to include a JAR file in a EAR, don't use the module
configuration for this. You can declare the JAR lib as a dependency in your
pom like this :
com.test.persistence
persistence
1.0-SNAPSHOT
...
org.apache.maven.plugins
maven-ear-plugin
/lib
> Does anyone know how thtough maven I can package a JAR in an EAR file so
> that this can be used by any other module within that EAR file?
This is a pretty straight-forward thing, usually. I know that we are
doing it for numerous projects and there are countless others using
Maven for this purpo
Hello, I have a problem when trying to package a JAR file in an EAR file. In
short my EAR file has three modules; and EJB module, a JAR module and a WAR
module. The EJB module makes use of the JAR module. My POM is as follows;
...
com.test.persistence
persistence