Uploaded image for project: 'Maven Eclipse Plugin (RETIRED)'
  1. Maven Eclipse Plugin (RETIRED)
  2. MECLIPSE-733

Incomplete / inconsistent JEE6 Support

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 2.9
    • None
    • WTP support
    • None
    • Patch

    Description

      Hi,

      having a look the source of the jee version determination, it looks like the determination is not consistent concerning the jee version since, since the version cannot be properly determined if there are gernonimo spec files for servlet (v3) or for ejb 3.1. For ejb version 3.0 the source contains the following if condition:

      > if ( version == null )
      > {
      > if ( IdeUtils.getArtifactVersion( new String[]

      { "geronimo-ejb_3.0_spec" }

      , project.getDependencies(), 3 ) != null )
      > return JeeDescriptor.EJB_3_0;
      > }

      so why is there no if condigition checking for the geronimo-ejb_3.1_spec to determine if ejb 3.1 is used? The same check is
      also missing for the servlet api (3.0) as well. The attached patch will add the two missing if conditions for the missing servlet and ejb spec of geronimo.

      Attachments

        Activity

          People

            rfscholte Robert Scholte
            kickmetondy Andreas Wuest
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: