[
https://jira.codehaus.org/browse/MECLIPSE-587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=275148#comment-275148
]
Robert Scholte edited comment on MECLIPSE-587 at 8/6/11 8:58 AM:
-----------------------------------------------------------------
MECLIPSE-350 is a way to bypass it.
was (Author: rfscholte):
This is a way to bypass it.
> maven-eclipse-plugin creates wrong
> org.eclipse.wst.common.project.facet.core.xml for ear-projects when
> javaee:javaee-api s used
> -------------------------------------------------------------------------------------------------------------------------------
>
> Key: MECLIPSE-587
> URL: https://jira.codehaus.org/browse/MECLIPSE-587
> Project: Maven 2.x Eclipse Plugin
> Issue Type: Bug
> Components: WTP support
> Affects Versions: 2.7, 2.8
> Environment: Linux SLES10, java 1.5, Eclipse 3.4
> Reporter: Gilbert Blom
> Attachments: maven-eclipse-plugin.patch
>
>
> When creating an ear-project with maven-eclipse-plugin 2.7, the created file
> .settings/org.eclipse.wst.common.project.facet.core.xml is incorrect.
> This is the content of the generated file:
> <faceted-project>
> <fixed facet="jst.ear"/>
> <installed facet="jst.ear" version="5"/>
> </faceted-project>
> The correct content should be:
> <faceted-project>
> <fixed facet="jst.ear"/>
> <installed facet="jst.ear" version="5.0"/>
> </faceted-project>
> So version should be '5.0', not '5'.
> Investigation of the code showed that the way the plugin detects the version
> is flawed. When dependency javaee:javaee-api with version 5 is used, this 5
> is put in the file.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira