Skip to content

Commit

Permalink
fix(deps): Remove dependency org.glassfish.web:el-impl
Browse files Browse the repository at this point in the history
There is no need for this dependency.
An el-impl is already provided by Spring Boot/tomcat-embed-el.
tomcat-embed-el is also used for other servlet containers.

Related: spring-projects/spring-boot#24744
  • Loading branch information
matrei committed Mar 11, 2024
1 parent a42f039 commit 18cb0e3
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,6 @@ public void apply(GeneratorContext generatorContext) {
.groupId("org.grails.plugins")
.artifactId("hibernate5")
.compile());
generatorContext.addDependency(Dependency.builder()
.groupId("org.glassfish.web")
.lookupArtifactId("el-impl")
.runtime());
generatorContext.addDependency(Dependency.builder()
.groupId("org.apache.tomcat")
.artifactId("tomcat-jdbc")
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 @@ -12,11 +12,6 @@
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>org.glassfish.web</groupId>
<artifactId>el-impl</artifactId>
<version>2.2.1-b05</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 @@ -60,7 +60,7 @@ class GradleSpec extends ApplicationContextSpec implements CommandOutputFixture
settingsGradle.contains("maven { url \"https://repo.grails.org/grails/core/\" }")
settingsGradle.contains("gradlePluginPortal()")
settingsGradle.contains("id \"org.grails.grails-web\" version \"6.1.2\"")
settingsGradle.contains("id \"org.grails.plugins.views-json\" version \"3.1.1\"")
settingsGradle.contains("id \"org.grails.plugins.views-json\" version \"3.1.2\"")
!settingsGradle.contains("id \"org.grails.grails-gsp\" version \"6.1.2\"")
!settingsGradle.contains("id \"com.bertramlabs.asset-pipeline\" version \"4.3.0\"")
}
Expand All @@ -77,8 +77,8 @@ class GradleSpec extends ApplicationContextSpec implements CommandOutputFixture
settingsGradle.contains("maven { url \"https://repo.grails.org/grails/core/\" }")
settingsGradle.contains("gradlePluginPortal()")
settingsGradle.contains("id \"org.grails.grails-web\" version \"6.1.2\"")
settingsGradle.contains("id \"org.grails.plugins.views-markup\" version \"3.1.1\"")
!settingsGradle.contains("id \"org.grails.plugins.views-json\" version \"3.1.1\"")
settingsGradle.contains("id \"org.grails.plugins.views-markup\" version \"3.1.2\"")
!settingsGradle.contains("id \"org.grails.plugins.views-json\" version \"3.1.2\"")
!settingsGradle.contains("id \"org.grails.grails-gsp\" version \"6.1.1\"")
!settingsGradle.contains("id \"com.bertramlabs.asset-pipeline\" version \"4.3.0\"")
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ class HibernateGormSpec extends ApplicationContextSpec implements CommandOutputF

then:
template.contains('implementation("org.grails.plugins:hibernate5")')
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\")")
}
Expand Down

0 comments on commit 18cb0e3

Please sign in to comment.