javax.inject/javax.inject is an ancient jar, which is not a bundle,
nor JPMS-enabled. Add a repackaged alternative, which is at least
a proper module.
JIRA: OLDPARENT-247
Change-Id: I295652f45a5dbe52f6d9c64042af3b2642ac3769
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
<scope>compile</scope>
</dependency>
<dependency>
- <groupId>javax.inject</groupId>
+ <groupId>com.guicedee.services</groupId>
<artifactId>javax.inject</artifactId>
<scope>compile</scope>
</dependency>
<groupId>com.google.truth</groupId>
<artifactId>truth</artifactId>
</dependency>
+ <dependency>
+ <groupId>com.guicedee.services</groupId>
+ <artifactId>javax.inject</artifactId>
+ </dependency>
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
</dependency>
<!-- Annotations -->
+ <!-- FIXME: ODLPARENT-246: remove this declaration -->
<dependency>
<groupId>javax.inject</groupId>
<artifactId>javax.inject</artifactId>
<version>1</version>
<optional>true</optional>
</dependency>
+ <!-- A better alternative for javax.inject, from https://guicedee.com/ -->
+ <dependency>
+ <groupId>com.guicedee.services</groupId>
+ <artifactId>javax.inject</artifactId>
+ <version>1.0.19.9</version>
+ <scope>provided</scope>
+ <optional>true</optional>
+ </dependency>
<!-- jung, a graph library -->
<dependency>