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.xml
in ear's pom:
* the list of webModule war_* as webModule
* the list of common jar_s as javaModule (also declared as dependencies)
In war's pom, the jar are declared as dependency and excluded with the
setting:
<warSourceExcludes>WEB-INF/lib/*.jar</warSourceExcludes>
To make sure to use the correct version of plugin maven-war-plugin:
<version>2.0-beta-2</version>
In ear and war, set for generating the classpath:
<archive>
<manifest>
<addClasspath>true</addClasspath>
</manifest>
</archive>
I hope this helps :)
Andre
------------------------------------------------------------------------------------------------------------
This message is intended for the addressee or its representative only.
Any form of unauthorized use, publication, reproduction, copying or
disclosure of the content of this e-mail is not permitted. If you are
not the intended recipient of this e-mail message and its contents,
please notify the sender immediately and delete this message and
all its attachments subsequently.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]