-
Bug
-
Resolution: Done
-
Major
-
7.1.0.DR1
-
None
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.