Skip to content

Commit

Permalink
Merge pull request #159 from orchitech/fix-cleanup2
Browse files Browse the repository at this point in the history
Cleanup and upgrade dependencies to fix various CVEs
  • Loading branch information
karelmaxa authored Sep 22, 2023
2 parents 26306fb + b657929 commit 1241155
Show file tree
Hide file tree
Showing 79 changed files with 1,622 additions and 998 deletions.
1 change: 1 addition & 0 deletions openam-audit/openam-audit-configuration/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@
</dependency>

<!-- Test Dependencies -->

<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
Expand Down
11 changes: 8 additions & 3 deletions openam-audit/openam-audit-context/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,15 @@
<artifactId>forgerock-audit-core</artifactId>
</dependency>

<!-- XXX This can be removed when Commons switches to Jakarta as well -->
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<scope>provided</scope>
<groupId>jakarta.inject</groupId>
<artifactId>jakarta.inject-api</artifactId>
</dependency>

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

<dependency>
Expand Down
5 changes: 2 additions & 3 deletions openam-audit/openam-audit-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,8 @@
</dependency>

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

<dependency>
Expand Down
5 changes: 2 additions & 3 deletions openam-authentication/openam-auth-adaptive/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,8 @@
</dependency>

<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<scope>provided</scope>
<groupId>jakarta.servlet</groupId>
<artifactId>jakarta.servlet-api</artifactId>
</dependency>
</dependencies>
</project>
5 changes: 2 additions & 3 deletions openam-authentication/openam-auth-application/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,8 @@

<dependencies>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<scope>provided</scope>
<groupId>jakarta.servlet</groupId>
<artifactId>jakarta.servlet-api</artifactId>
</dependency>
</dependencies>
</project>
5 changes: 2 additions & 3 deletions openam-authentication/openam-auth-cert/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,8 @@

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

<dependency>
Expand Down
9 changes: 4 additions & 5 deletions openam-authentication/openam-auth-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,13 @@
</dependency>

<dependency>
<groupId>org.glassfish</groupId>
<artifactId>javax.security.auth.message</artifactId>
<groupId>jakarta.security.auth.message</groupId>
<artifactId>jakarta.security.auth.message-api</artifactId>
</dependency>

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

<dependency>
Expand Down
5 changes: 2 additions & 3 deletions openam-authentication/openam-auth-fr-oath/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,8 @@
</dependency>

<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<scope>provided</scope>
<groupId>jakarta.servlet</groupId>
<artifactId>jakarta.servlet-api</artifactId>
</dependency>
</dependencies>
</project>
6 changes: 3 additions & 3 deletions openam-authentication/openam-auth-hotp/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@

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

<dependency>
<groupId>com.sun.mail</groupId>
<artifactId>javax.mail</artifactId>
<artifactId>jakarta.mail</artifactId>
</dependency>
</dependencies>
</project>
5 changes: 2 additions & 3 deletions openam-authentication/openam-auth-httpbasic/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,8 @@

<dependencies>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<scope>provided</scope>
<groupId>jakarta.servlet</groupId>
<artifactId>jakarta.servlet-api</artifactId>
</dependency>
</dependencies>
</project>
5 changes: 2 additions & 3 deletions openam-authentication/openam-auth-msisdn/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,8 @@

<dependencies>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<scope>provided</scope>
<groupId>jakarta.servlet</groupId>
<artifactId>jakarta.servlet-api</artifactId>
</dependency>
</dependencies>
</project>
5 changes: 2 additions & 3 deletions openam-authentication/openam-auth-oath/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,8 @@
</dependency>

<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<scope>provided</scope>
<groupId>jakarta.servlet</groupId>
<artifactId>jakarta.servlet-api</artifactId>
</dependency>
</dependencies>
</project>
5 changes: 2 additions & 3 deletions openam-authentication/openam-auth-oauth2/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,8 @@
</dependency>

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

<dependency>
Expand Down
5 changes: 2 additions & 3 deletions openam-authentication/openam-auth-oidc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,8 @@
</dependency>

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

<dependency>
Expand Down
6 changes: 2 additions & 4 deletions openam-authentication/openam-auth-persistentcookie/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,9 @@
</dependency>

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

<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
Expand Down
5 changes: 2 additions & 3 deletions openam-authentication/openam-auth-push/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,8 @@
</dependency>

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

<dependency>
Expand Down
5 changes: 2 additions & 3 deletions openam-authentication/openam-auth-saml2/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,8 @@
</dependency>

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

<dependency>
Expand Down
10 changes: 2 additions & 8 deletions openam-authentication/openam-auth-scripted/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,8 @@

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

<dependency>
Expand All @@ -56,10 +55,5 @@
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
</dependency>

<dependency>
<groupId>org.easytesting</groupId>
<artifactId>fest-assert</artifactId>
</dependency>
</dependencies>
</project>
5 changes: 2 additions & 3 deletions openam-authentication/openam-auth-windowsdesktopsso/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,8 @@

<dependencies>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<scope>provided</scope>
<groupId>jakarta.servlet</groupId>
<artifactId>jakarta.servlet-api</artifactId>
</dependency>
</dependencies>
</project>
5 changes: 2 additions & 3 deletions openam-cli/openam-cli-impl/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,8 @@
</dependency>

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

<dependency>
Expand Down
9 changes: 4 additions & 5 deletions openam-common-auth-ui/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,13 @@

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

<dependency>
<groupId>javax.servlet.jsp</groupId>
<artifactId>jsp-api</artifactId>
<groupId>jakarta.servlet.jsp</groupId>
<artifactId>jakarta.servlet.jsp-api</artifactId>
</dependency>

<dependency>
Expand Down
16 changes: 4 additions & 12 deletions openam-console/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,6 @@
<artifactId>maven-war-plugin</artifactId>

<configuration>
<packagingExcludes>
WEB-INF/lib/jersey-core-1.1.5.2.jar,
WEB-INF/lib/jaxb-api-1.0.6.jar,
WEB-INF/lib/jaxb-libs-1.0.6.jar,
WEB-INF/lib/jaxb-xjc-1.0.6.jar,
</packagingExcludes>

<archive>
<manifestEntries>
<Specification-Title>Wren:AM Admin Console</Specification-Title>
Expand Down Expand Up @@ -168,14 +161,13 @@
</dependency>

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

<dependency>
<groupId>javax.servlet.jsp</groupId>
<artifactId>jsp-api</artifactId>
<groupId>jakarta.servlet.jsp</groupId>
<artifactId>jakarta.servlet.jsp-api</artifactId>
</dependency>

<dependency>
Expand Down
5 changes: 2 additions & 3 deletions openam-core-rest/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,8 @@
</dependency>

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

<dependency>
Expand Down
27 changes: 13 additions & 14 deletions openam-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -324,8 +324,8 @@
</dependency>

<dependency>
<groupId>javax.xml</groupId>
<artifactId>jaxrpc-api</artifactId>
<groupId>jakarta.xml.rpc</groupId>
<artifactId>jakarta.xml.rpc-api</artifactId>
</dependency>

<dependency>
Expand Down Expand Up @@ -359,24 +359,23 @@
</dependency>

<dependency>
<groupId>javax.servlet</groupId>
<artifactId>jstl</artifactId>
<groupId>jakarta.servlet.jsp.jstl</groupId>
<artifactId>jakarta.servlet.jsp.jstl-api</artifactId>
</dependency>

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

<dependency>
<groupId>javax.servlet.jsp</groupId>
<artifactId>jsp-api</artifactId>
<groupId>jakarta.servlet.jsp</groupId>
<artifactId>jakarta.servlet.jsp-api</artifactId>
</dependency>

<dependency>
<groupId>com.sun.mail</groupId>
<artifactId>javax.mail</artifactId>
<artifactId>jakarta.mail</artifactId>
</dependency>

<dependency>
Expand Down Expand Up @@ -407,13 +406,13 @@
</dependency>

<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<groupId>org.easytesting</groupId>
<artifactId>fest-assert</artifactId>
</dependency>

<dependency>
<groupId>org.easytesting</groupId>
<artifactId>fest-assert</artifactId>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
</dependency>

<dependency>
Expand Down
Loading

0 comments on commit 1241155

Please sign in to comment.