diff options
author | Bjørn Christian Seime <bjorncs@yahooinc.com> | 2023-09-04 13:42:44 +0200 |
---|---|---|
committer | Bjørn Christian Seime <bjorncs@yahooinc.com> | 2023-09-04 16:31:44 +0200 |
commit | bb436916fd27e669ba0107761312d1cd4229a303 (patch) | |
tree | 3a3719375bed566d760b540c590a79b7f167ad13 /container-dev | |
parent | d52e759812a446ae454f2829ee12e6d6e669592d (diff) |
Use Guice 6.0
https://github.com/google/guice/wiki/Guice600
We cannot upgrade to 7.x as we export javax.inject from container.
6.x supports both the old javax.inject and the new jakarta.inject replacement.
Diffstat (limited to 'container-dev')
-rw-r--r-- | container-dev/pom.xml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/container-dev/pom.xml b/container-dev/pom.xml index 96aa120d42f..76ed8b1e3d4 100644 --- a/container-dev/pom.xml +++ b/container-dev/pom.xml @@ -55,7 +55,12 @@ <dependency> <groupId>com.google.inject</groupId> <artifactId>guice</artifactId> - <classifier>no_aop</classifier> + <exclusions> + <exclusion> + <groupId>jakarta.inject</groupId> + <artifactId>jakarta.inject-api</artifactId> + </exclusion> + </exclusions> </dependency> <dependency> <groupId>net.java.dev.jna</groupId> |