Skip to content
This repository was archived by the owner on Dec 19, 2023. It is now read-only.

Commit caca696

Browse files
authored
Removed dep on el-api (#133)
* removed hibernate-validator as transitive dep * removed dep on el-api * gradle fix
1 parent ce165d1 commit caca696

File tree

2 files changed

+9
-20
lines changed

2 files changed

+9
-20
lines changed

spring-auto-restdocs-core/pom.xml

Lines changed: 9 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,6 @@
5656
<groupId>javax.validation</groupId>
5757
<artifactId>validation-api</artifactId>
5858
</dependency>
59-
<dependency>
60-
<groupId>org.hibernate</groupId>
61-
<artifactId>hibernate-validator</artifactId>
62-
<version>5.3.4.Final</version>
63-
<scope>test</scope>
64-
</dependency>
6559
<dependency>
6660
<groupId>org.apache.commons</groupId>
6761
<artifactId>commons-lang3</artifactId>
@@ -80,16 +74,6 @@
8074
<artifactId>mockito-core</artifactId>
8175
<scope>test</scope>
8276
</dependency>
83-
<dependency>
84-
<groupId>javax.el</groupId>
85-
<artifactId>javax.el-api</artifactId>
86-
</dependency>
87-
<dependency>
88-
<groupId>javax.servlet</groupId>
89-
<artifactId>javax.servlet-api</artifactId>
90-
<version>3.1.0</version>
91-
<scope>provided</scope>
92-
</dependency>
9377
<dependency>
9478
<groupId>org.slf4j</groupId>
9579
<artifactId>slf4j-api</artifactId>
@@ -100,9 +84,15 @@
10084
<scope>test</scope>
10185
</dependency>
10286
<dependency>
103-
<groupId>org.glassfish.web</groupId>
104-
<artifactId>javax.el</artifactId>
105-
<version>2.2.6</version>
87+
<groupId>org.hibernate</groupId>
88+
<artifactId>hibernate-validator</artifactId>
89+
<version>5.3.4.Final</version>
90+
<scope>test</scope>
91+
</dependency>
92+
<dependency>
93+
<groupId>org.apache.tomcat.embed</groupId>
94+
<artifactId>tomcat-embed-el</artifactId>
95+
<version>8.5.16</version>
10696
<scope>test</scope>
10797
</dependency>
10898
</dependencies>

spring-auto-restdocs-example/build.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ dependencies {
4646
compile group: 'org.springframework.boot', name: 'spring-boot-starter-security'
4747
compile group: 'org.springframework.security.oauth', name: 'spring-security-oauth2'
4848
compile group: 'org.springframework.data', name: 'spring-data-commons'
49-
compile group: 'javax.el', name: 'javax.el-api'
5049
compile group: 'capital.scalable', name: 'spring-auto-restdocs-core', version: version
5150
testCompile(group: 'org.springframework.boot', name: 'spring-boot-starter-test') {
5251
exclude(module: 'commons-logging')

0 commit comments

Comments
 (0)