[ 
https://jira.codehaus.org/browse/MECLIPSE-587?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Scholte closed MECLIPSE-587.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.9
         Assignee: Robert Scholte

Fixed in [rev. 1154560|http://svn.apache.org/viewvc?rev=1154560&view=rev]
As you might see I've implemented a more general way to solve this, not just 
fixing the specific "5"-issue.


> 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
>            Assignee: Robert Scholte
>             Fix For: 2.9
>
>         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

        

Reply via email to