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
|- pom
WEB-INF/lib/*.jar
> -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 for the
So the modification are:
- adding for the plugin maven-war-plugin:
"2.0-beta-2"
(to make sure I am using the correct version)
- adding in the configuration of the war
"WEB-INF/lib/*.jar"
- removing the dependency flag for common_jar
The classpath of the war is now correct. But t
> -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 ar
users@maven.apache.org
Subject: RE: common jars between modules in EAR
Well, yes by maven
The ear and the war are set to generate a manifest:
true
after verification, the classpath of the war is empty...
I think the reason is probably becaus
Well, yes by maven
The ear and the war are set to generate a manifest:
true
after verification, the classpath of the war is empty...
I think the reason is probably because the jar has being declared as
'provided' in the war.
So the n
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 wa