Exclude jakarta.transaction-api from commons-dbcp2 (#2772)

This commit is contained in:
Domenico Sibilio
2024-07-11 13:45:00 +02:00
committed by GitHub
parent c6201fa2fa
commit ab1e762a65

11
pom.xml
View File

@@ -851,6 +851,17 @@
<groupId>org.apache.commons</groupId>
<artifactId>commons-dbcp2</artifactId>
<version>${dependency.commons-dbcp.version}</version>
<exclusions>
<!-- Exclude jakarta.transaction-api so that other repositories importing
the alfresco-repository as a dependency, not having community-repo as
a parent, and therefore not sharing the dependencyManagement with it,
won't inherit the outdated jakarta.transaction-api version coming from
this library -->
<exclusion>
<groupId>jakarta.transaction</groupId>
<artifactId>jakarta.transaction-api</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.google.code.gson</groupId>