Skip to content

Commit 8ed03db

Browse files
authored
[#2589] bugfix(deps): make Jakarta EE API dependencies optional and non-trans… (#2590)
* bugfix(deps): make Jakarta EE API dependencies optional and non-transitive * removed no-longer-necessary exclusion
1 parent 3cf30d8 commit 8ed03db

3 files changed

Lines changed: 3 additions & 6 deletions

File tree

samples/web/pom.xml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -118,12 +118,6 @@
118118
<groupId>jakarta.servlet.jsp.jstl</groupId>
119119
<artifactId>jakarta.servlet.jsp.jstl-api</artifactId>
120120
<scope>test</scope>
121-
<exclusions>
122-
<exclusion>
123-
<groupId>jakarta.servlet</groupId>
124-
<artifactId>*</artifactId>
125-
</exclusion>
126-
</exclusions>
127121
</dependency>
128122
<dependency>
129123
<groupId>org.apache.tomcat</groupId>

support/cdi/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
<dependency>
4545
<groupId>jakarta.ejb</groupId>
4646
<artifactId>jakarta.ejb-api</artifactId>
47+
<optional>true</optional>
4748
</dependency>
4849
<dependency>
4950
<groupId>org.projectlombok</groupId>

web/pom.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,12 @@
4343
<dependency>
4444
<groupId>jakarta.servlet.jsp</groupId>
4545
<artifactId>jakarta.servlet.jsp-api</artifactId>
46+
<optional>true</optional>
4647
</dependency>
4748
<dependency>
4849
<groupId>jakarta.servlet</groupId>
4950
<artifactId>jakarta.servlet-api</artifactId>
51+
<optional>true</optional>
5052
</dependency>
5153
<dependency>
5254
<groupId>org.owasp.encoder</groupId>

0 commit comments

Comments
 (0)