Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-1427

struts2-api-2.0.0-SNAPSHOT.pom has servlet-api listed with "compile" scope, should be provided

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0
    • Component/s: XML Configuration
    • Labels:
      None

      Description

      struts2-api-2.0.0-SNAPSHOT.pom has servlet-api listed with "compile" scope, which means it gets included in resulting WARs. I believe this would be better set as <scope>provided</scope>.

      <dependency>
      <groupId>javax.servlet</groupId>
      <artifactId>servlet-api</artifactId>
      <version>2.4</version>
      <scope>provided</scope>
      </dependency>

        Attachments

          Activity

            People

            • Assignee:
              husted Ted Husted
              Reporter:
              mraible Matt Raible
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: