Skip to content

Commit

Permalink
Fix jakarta.servlet-api not being inherited from alpine-server
Browse files Browse the repository at this point in the history
For some reason the inheritance of this transitive dependency stopped working over night(?), despite nothing having changed in either Alpine or Dependency-Track since the last successful build.

Building an executable WAR succeeds, but other Maven goals such as `datanucleus:enhance` or `verify` fail due to the missing servlet API.

Signed-off-by: nscuro <nscuro@protonmail.com>
  • Loading branch information
nscuro committed May 29, 2024
1 parent 1f2cc28 commit 5cad62e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,12 @@
<version>${lib.json-java.version}</version>
</dependency>

<dependency>
<groupId>jakarta.servlet</groupId>
<artifactId>jakarta.servlet-api</artifactId>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>com.github.package-url</groupId>
<artifactId>packageurl-java</artifactId>
Expand Down

0 comments on commit 5cad62e

Please sign in to comment.