You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Thai Ha (JIRA)" <ji...@codehaus.org> on 2013/11/20 03:48:45 UTC

[jira] (MECLIPSE-749) JEE6 dependencies are not detected correctly when generating WTP settings

Thai Ha created MECLIPSE-749:
--------------------------------

             Summary: JEE6 dependencies are not detected correctly when generating WTP settings
                 Key: MECLIPSE-749
                 URL: https://jira.codehaus.org/browse/MECLIPSE-749
             Project: Maven Eclipse Plugin
          Issue Type: Sub-task
          Components: WTP support
    Affects Versions: 2.9
            Reporter: Thai Ha
         Attachments: servlet25app.zip, servlet30app.zip

JEE6 dependencies (like geronimo-servlet_3.0_spec) are not detected correctly, as a result, the generated WTP file (org.eclipse.wst.common.project.facet.core.xml) uses wrong version (should be 3.0 instead 2.4) for web facet
(<installed facet="jst.web" version="2.4"/>)

Steps to duplicate issue
1. Unzip servlet30app.zip
2. Execute "mvn eclipse:eclipse" in servlet30app folder
3. The generated file .settings/org.eclipse.wst.common.project.facet.core.xml use servlet 2.4 facet (<installed facet="jst.web" version="2.4"/>)

Expected result:
- The version should be 3.0 (<installed facet="jst.web" version="3.0"/>)

Additional information:
I also attached servlet25app.zip which works correctly for JEE5


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira