From acc79341739d2869b06d6d33aac1d0e79e782e0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yoann=20Rodi=C3=A8re?= Date: Wed, 17 Oct 2018 09:05:13 +0200 Subject: [PATCH] HHH-12990 Remove unnecessary dependencies to JSR-250 when generating JAXB classes It seems these dependencies were not necessary at all, even before the previous patches. --- gradle/libraries.gradle | 1 - hibernate-core/hibernate-core.gradle | 1 - tooling/metamodel-generator/hibernate-jpamodelgen.gradle | 1 - 3 files changed, 3 deletions(-) diff --git a/gradle/libraries.gradle b/gradle/libraries.gradle index e7ccc1e5b9..dc9db985f3 100644 --- a/gradle/libraries.gradle +++ b/gradle/libraries.gradle @@ -68,7 +68,6 @@ ext { interceptor: 'javax.interceptor:javax.interceptor-api:1.2', // required by JAXB from JDK 9 as it is not available anymore in JDK 9 activation: 'javax.activation:javax.activation-api:1.2.0', - jsr250_api: 'javax.annotation:jsr250-api:1.0', // logging logging: 'org.jboss.logging:jboss-logging:3.3.2.Final', diff --git a/hibernate-core/hibernate-core.gradle b/hibernate-core/hibernate-core.gradle index 29bdf5d35f..db25d5ce3b 100644 --- a/hibernate-core/hibernate-core.gradle +++ b/hibernate-core/hibernate-core.gradle @@ -51,7 +51,6 @@ dependencies { xjc( libraries.jaxb2_basics ) xjc( libraries.jaxb2_basics_ant ) xjc( libraries.activation ) - xjc( libraries.jsr250_api ) provided( libraries.jacc ) provided( libraries.validation ) diff --git a/tooling/metamodel-generator/hibernate-jpamodelgen.gradle b/tooling/metamodel-generator/hibernate-jpamodelgen.gradle index e0b7fc7e8f..2232c7f247 100644 --- a/tooling/metamodel-generator/hibernate-jpamodelgen.gradle +++ b/tooling/metamodel-generator/hibernate-jpamodelgen.gradle @@ -24,7 +24,6 @@ dependencies { xjc( libraries.jaxb2_basics ) xjc( libraries.jaxb2_basics_ant ) xjc( libraries.activation ) - xjc( libraries.jsr250_api ) testCompile libraries.junit testCompile libraries.jpa