[
https://jira.jboss.org/jira/browse/JBIDE-5669?page=com.atlassian.jira.plu...
]
Snjezana Peco commented on JBIDE-5669:
--------------------------------------
Using a declaration (type) in the pom.xml file, you decide which libraries will be
deployed. If you don't want some library to be deployed, set type to
"provided".
Is the deployed project valid when you create it using the maven command line or using Run
As>Maven package ? If the project created this way is a valid project, there is a
problem in the m2eclipse WTP plugin.
Could you send an example of the project?
Artifacts in lib of ear and lib of war for Maven projects
----------------------------------------------------------
Key: JBIDE-5669
URL:
https://jira.jboss.org/jira/browse/JBIDE-5669
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: integration, JBossAS, maven
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
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
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira