RE: common jars between modules in EAR

2006-06-15 Thread Jeff Jensen
Did you add the common jar to the manifest of the war? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, June 15, 2006 7:44 AM To: users@maven.apache.org Subject: common jars between modules in EAR Hello all, I would like to build an ear with some

RE: common jars between modules in EAR

2006-06-15 Thread Andre . Tran
Well, yes by maven The ear and the war are set to generate a manifest: archive manifest addClasspathtrue/addClasspath /manifest /archive after verification, the classpath of the war is empty... I think the reason is probably because the

RE: common jars between modules in EAR

2006-06-15 Thread Andrew-A . Davies
/optional /dependency Along with your addClasspathtrue/addClasspath HTH -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 15 June 2006 14:31 To: users@maven.apache.org Subject: RE: common jars between modules in EAR Well, yes by maven The ear and the war

RE: common jars between modules in EAR

2006-06-15 Thread Mike Perham
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, June 15, 2006 7:44 AM To: users@maven.apache.org Subject: common jars between modules in EAR I declared in ear's pom: * the webModule simple_war and * the javaModule common_jar They are also

RE: common jars between modules in EAR

2006-06-15 Thread Andre . Tran
So the modification are: - adding for the plugin maven-war-plugin: version2.0-beta-2/version (to make sure I am using the correct version) - adding in the configuration of the war dependentWarExcludesWEB-INF/lib/*.jar/dependentWarExcludes - removing the dependency flag for

RE: common jars between modules in EAR

2006-06-15 Thread Mike Perham
warSourceExcludesWEB-INF/lib/*.jar/warSourceExcludes -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, June 15, 2006 9:51 AM To: users@maven.apache.org Subject: RE: common jars between modules in EAR So the modification are: - adding

RE: common jars between modules in EAR

2006-06-15 Thread Andre . Tran
I would like to thank very much every involved person. It is worked !) So, the solution for building an ear with some war-s and some common jar-s is the following: - pom.xml - ear |- pom.xml - war_1 |- pom.xml ... - war_n |-