Artifacts in lib of ear and lib of war for Maven projects
----------------------------------------------------------
Key: JBIDE-5669
URL:
https://issues.redhat.com/browse/JBIDE-5669
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: maven, server, z - Legacy - integration
Affects Versions: 3.1.0.M4, 3.1.0.CR1
Environment: OS X 1.6.2, Eclipse Galieo for JEE 32-bit
Reporter: Oliver Freivogel
Assignee: Snjezana Peco
Priority: Major
Fix For: 3.1.0.CR2
Attachments: file_structure.jpg
Artefacts used by EJB Modules are addded to the ear lib folder (correct) and also added
to war's lib folder (incorrect). Further the ejb module itself is also added to the
war's lib folder. the result are java.lang.ClassCastExceptions, because the classes
are found twice and loaded by different classloaders.
I did:
1. import existing maven project
2. Add ear modul to server
3. Clean server