Skip to content

Commit 9870de4

Browse files
committed
Added HK2 dependency injection to Jersey sample
1 parent 8fa6041 commit 9870de4

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

samples/jersey/pet-store/pom.xml

+12
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,18 @@
4848
<version>${jersey.version}</version>
4949
</dependency>
5050

51+
<dependency>
52+
<groupId>org.glassfish.jersey.inject</groupId>
53+
<artifactId>jersey-hk2</artifactId>
54+
<version>${jersey.version}</version>
55+
<exclusions>
56+
<exclusion>
57+
<groupId>javax.inject</groupId>
58+
<artifactId>javax.inject</artifactId>
59+
</exclusion>
60+
</exclusions>
61+
</dependency>
62+
5163
<!-- https://mvnrepository.com/artifact/io.symphonia/lambda-logging -->
5264
<dependency>
5365
<groupId>io.symphonia</groupId>

0 commit comments

Comments
 (0)