Uploaded image for project: 'Maven Eclipse Plugin (RETIRED)'
  1. Maven Eclipse Plugin (RETIRED)
  2. MECLIPSE-694 Add JEE6 support
  3. MECLIPSE-749

JEE6 dependencies are not detected correctly when generating WTP settings

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 2.9
    • None
    • WTP support
    • None

    Description

      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

      Attachments

        1. servlet25app.zip
          2 kB
        2. servlet30app.zip
          2 kB

        Activity

          People

            rfscholte Robert Scholte
            hathanhthai@yahoo.com Thai Ha
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: