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)

2010-12-17 Thread Wayne Fay
> 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

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)

2010-12-16 Thread Diego Lin
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

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)

2010-12-15 Thread sim085
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

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)

2010-12-15 Thread Maxime Gréau
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

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)

2010-12-15 Thread Wayne Fay
> 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