[
http://jira.codehaus.org/browse/MECLIPSE-266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_101751
]
Thierry Levieux commented on MECLIPSE-266:
------------------------------------------
The maven-ear-plugin does not generate the ear facet version (see my last
comment).
What's your maven-eclipse-plugin version ?
Two comments:
- The jboss j2ee library is not managed by the tool that resolves the jee
version, I suppose because jboss uses a legacy version ...
- I'm not sure the j2ee process resolution is transitive, you probably have to
declare the j2ee library
within your EAR dependencies ... what I do myself.
So if you add the following dependency in your ear and then run mvn
eclipe:eclipse, it should work:
<dependency>
<groupId>javaee</groupId>
<artifactId>javaee-api</artifactId>
<version>1.4</version>
<scope>provided</scope>
</dependency>
Thierry
> plugin applies java facet to ear project
> ----------------------------------------
>
> Key: MECLIPSE-266
> URL: http://jira.codehaus.org/browse/MECLIPSE-266
> Project: Maven 2.x Eclipse Plugin
> Issue Type: Bug
> Components: WTP support
> Affects Versions: 2.3
> Environment: Windows XP
> Reporter: Srepfler Srgjan
>
> In .settings/org.eclipse.wst.common.project.facet.core.xml of the EAR module
> I'm getting this:
> <faceted-project>
> <fixed facet="jst.java"/>
> <fixed facet="jst.ear"/>
> <installed facet="jst.ear" version="1.3"/>
> <installed facet="jst.java" version="1.4"/>
> </faceted-project>
> This is a wrong facet on a EAR module and I can't compile if I don't edit
> this file manually (I can't do it from the project properties - facets dialog)
--
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