Skip to content

Commit

Permalink
fix(deps): Remove dependency javax.xml.bind:jaxb-api (#287)
Browse files Browse the repository at this point in the history
There is no need to include this library as a direct dependency for Grails applications.
Any libraries/modules that depend on it declares it themselves.
  • Loading branch information
matrei authored Mar 9, 2024
1 parent ae44312 commit 6b8d702
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,6 @@ public void apply(GeneratorContext generatorContext) {
.groupId("org.apache.tomcat")
.artifactId("tomcat-jdbc")
.runtime());
generatorContext.addDependency(Dependency.builder()
.groupId("javax.xml.bind")
.lookupArtifactId("jaxb-api")
.runtime());
}

@Override
Expand Down
5 changes: 0 additions & 5 deletions grails-forge-core/src/main/resources/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,6 @@
<artifactId>el-impl</artifactId>
<version>2.2.1-b05</version>
</dependency>
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<version>2.3.1</version>
</dependency>
<dependency>
<groupId>org.fusesource.jansi</groupId>
<artifactId>jansi</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ class HibernateGormSpec extends ApplicationContextSpec implements CommandOutputF
template.contains("runtimeOnly(\"org.glassfish.web:el-impl:2.2.1-b05\")")
template.contains("runtimeOnly(\"org.apache.tomcat:tomcat-jdbc\")")
template.contains("runtimeOnly(\"com.h2database:h2\")")
template.contains("runtimeOnly(\"javax.xml.bind:jaxb-api:2.3.1\")")
}

void "test dependencies are present for buildSrc"() {
Expand Down

0 comments on commit 6b8d702

Please sign in to comment.