[ http://jira.codehaus.org/browse/MEAR-46?page=all ]
David Blevins reopened MEAR-46: ------------------------------- Hi Stephane, I'm not sure I follow you. There is no "ejb-client" element in an application.xml. The <module><java></java></module> in an application.xml is for application clients (aka ejb clients). Are you saying you understand this but the plugin likes to use it's <javaModule> tag to deal with third party libs or are you saying something else? > Java modules do not work > ------------------------ > > Key: MEAR-46 > URL: http://jira.codehaus.org/browse/MEAR-46 > Project: Maven 2.x Ear Plugin > Issue Type: Bug > Affects Versions: 2.1, 2.2, 2.0 > Reporter: David Blevins > Assigned To: Stephane Nicoll > Attachments: corrected-tests.patch > > > EJB clients are specified in an application.xml via > <module><java>pathTo.jar</java></module> > However the tests that use the "javaModule" element, do not generate the > above entry as they should. In general the support for this is broken. Any > jar with a "META-INF/application-client.xml" file should be added to the > application.xml unless it is explicitly excluded via a <javaModule> entry > with the <exclude>true</exclude> tag. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira