[ 
http://jira.codehaus.org/browse/MECLIPSE-266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_101609
 ] 

Thierry Levieux commented on MECLIPSE-266:
------------------------------------------

Sorry, I was probably tired this day, facets are generated by 
maven-eclipse-plugin, 
not maven-ear-plugin !!! 
Also, you're right, these parameters seem to be wrong (Crtl-v / Crtl-c ?!).

Which maven-eclipse-plugin & eclipse-wtp versions are you using ?
I know that one way the plugin applies the ear version is to find the j2ee
version in the dependencies (javaee-api", "j2ee" or "geronimo-spec-j2ee).

Do you have any of them in your pom ?

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

        

Reply via email to