Skip to content

Commit

Permalink
[pom] Allow jakarta jsp api at latest as provided scope.
Browse files Browse the repository at this point in the history
  • Loading branch information
hazendaz committed Aug 18, 2024
1 parent a4ff272 commit 867fb3f
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,21 @@
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<configuration>
<rules>
<enforceBytecodeVersion>
<excludes>
<!-- JSP Api requires java 17 but is provided so we can safely ignore this -->
<exclude>jakarta.servlet.jsp:jakarta.servlet.jsp-api</exclude>
</excludes>
</enforceBytecodeVersion>
</rules>
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
Expand Down

0 comments on commit 867fb3f

Please sign in to comment.