[
http://jira.codehaus.org/browse/MECLIPSE-346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_114104
]
Siarhei Dudzin edited comment on MECLIPSE-346 at 11/16/07 8:21 PM:
-------------------------------------------------------------------
Attached a patch with the fix. To detect the EAR version it has extra checking
through referenced projects to detect whether there is a ejb-3 module in the
dependencies (not all EAR modules have direct jee 5 dependency).
It also has an extra artifact id (group 'javax.ejb' and id 'ejb-api') to check
for better detection of ejb-3 modules (tested on JBoss and Seam 2).
was:
Patch with fix
> WTP-2 support, wrong version of EAR facet is generated
> ------------------------------------------------------
>
> Key: MECLIPSE-346
> URL: http://jira.codehaus.org/browse/MECLIPSE-346
> Project: Maven 2.x Eclipse Plugin
> Issue Type: Bug
> Environment: maven-eclipse-plugin-2.5-SNAPSHOT with freshly applied
> WTP-2.0 patch
> Reporter: Siarhei Dudzin
> Fix For: 2.5
>
> Attachments: MECLIPSE-346.patch
>
>
> After using parent pom settings from test project 34 or 35 ( Revision 595865:
> /maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-35
> )
> I've generated the project. As a result I had an error "The deployment
> descriptor of the module 'jboss-seam-2.0.0.GA.jar' cannot be loaded." (using
> jboss seam as an ejb module). After checking facets I've found that the the
> ear module had ear version 1.4 in
> org.eclipse.wst.common.project.facet.core.xml:
> <installed facet="jst.ear" version="1.4"/> instead of 5.0.
> After manually changing the facet version to <installed facet="jst.ear"
> version="5.0"/> and re-adding the project to the workspace the problem go
> resolved.
--
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