Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.7, 2.8
-
None
-
Linux SLES10, java 1.5, Eclipse 3.4
-
Patch
Description
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.
Attachments
Attachments
Issue Links
- is duplicated by
-
MECLIPSE-293 javaee-api artifact version issue (EE5)
- Closed
- is related to
-
MECLIPSE-350 Allow to bypass the automatic search of JEE (and related) APIs versions
- Closed