Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-5463

Unnecessary dependencies in hibernate5 QS

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.1.0.DR2
    • 7.1.0.DR1
    • Quickstarts
    • None

    Description

      Following dependencies seem unnecessary in hibernate5 QS pom.xml file:

              <!-- Import the Common Annotations API (JSR-250), we use provided
                  scope as the API is included in JBoss EAP -->
              <dependency>
                  <groupId>org.jboss.spec.javax.annotation</groupId>
                  <artifactId>jboss-annotations-api_1.2_spec</artifactId>
                  <scope>provided</scope>
              </dependency>
      
              <!-- Import the JAX-RS API, we use provided scope as the API is included in JBoss EAP -->
              <dependency>
                  <groupId>org.jboss.spec.javax.ws.rs</groupId>
                  <artifactId>jboss-jaxrs-api_2.0_spec</artifactId>
                  <scope>provided</scope>
              </dependency>
      
              <!-- Import the JPA API, we use provided scope as the API is included in JBoss EAP -->
              <dependency>
                  <groupId>org.hibernate.javax.persistence</groupId>
                  <artifactId>hibernate-jpa-2.1-api</artifactId>
                  <scope>provided</scope>
              </dependency>
      

      And this one is commented out already:

              <!-- dependency> <groupId>org.jboss.spec.javax.servlet</groupId>-->
                  <artifactId>jboss-servlet-api_3.1_spec</artifactId> <scope>provided</scope>
                  </dependency>
      

      QS builds and deploys successfully without these dependencies.

      In case these dependencies are not needed, please remove them so users don't get confused. Otherwise please explain in the comment in pom.xml, why they are needed.

      Attachments

        Activity

          People

            sgilda_jira Sande Gilda (Inactive)
            nziakova@redhat.com Nikoleta Ziakova (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: