Skip to content

Commit 8164ea6

Browse files
RANGER-4706: Migrate from com.sun.jersey 1.x to glassfish jersey 2.x
Change-Id: I73b1859163c8c873c7414b14e085842e15f44c83
1 parent 94e7034 commit 8164ea6

File tree

151 files changed

+6835
-4363
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

151 files changed

+6835
-4363
lines changed

agents-audit/dest-hdfs/pom.xml

Lines changed: 119 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,41 @@
3232
<securesm.version>1.2</securesm.version>
3333
</properties>
3434
<dependencies>
35+
<dependency>
36+
<groupId>jakarta.activation</groupId>
37+
<artifactId>jakarta.activation-api</artifactId>
38+
<version>${jakarta.activation-api.version}</version>
39+
</dependency>
40+
<dependency>
41+
<groupId>jakarta.ws.rs</groupId>
42+
<artifactId>jakarta.ws.rs-api</artifactId>
43+
<version>${jakarta.ws.rs-api.version}</version>
44+
</dependency>
45+
<dependency>
46+
<groupId>javax.servlet</groupId>
47+
<artifactId>javax.servlet-api</artifactId>
48+
<version>${javax.servlet.version}</version>
49+
</dependency>
50+
<dependency>
51+
<groupId>joda-time</groupId>
52+
<artifactId>joda-time</artifactId>
53+
<version>${joda.time.version}</version>
54+
</dependency>
55+
<dependency>
56+
<groupId>net.java.dev.jna</groupId>
57+
<artifactId>jna</artifactId>
58+
<version>${jna.version}</version>
59+
</dependency>
60+
<dependency>
61+
<groupId>net.java.dev.jna</groupId>
62+
<artifactId>jna-platform</artifactId>
63+
<version>${jna.version}</version>
64+
</dependency>
65+
<dependency>
66+
<groupId>org.apache.commons</groupId>
67+
<artifactId>commons-lang3</artifactId>
68+
<version>${commons.lang3.version}</version>
69+
</dependency>
3570
<dependency>
3671
<groupId>org.apache.hadoop</groupId>
3772
<artifactId>hadoop-common</artifactId>
@@ -90,6 +125,90 @@
90125
<artifactId>slf4j-api</artifactId>
91126
<version>${slf4j.version}</version>
92127
</dependency>
128+
<dependency>
129+
<groupId>javax.inject</groupId>
130+
<artifactId>javax.inject</artifactId>
131+
<version>${javax.inject.version}</version>
132+
<scope>runtime</scope>
133+
</dependency>
134+
<dependency>
135+
<groupId>org.glassfish.hk2</groupId>
136+
<artifactId>class-model</artifactId>
137+
<version>${glassfish.hk2.version}</version>
138+
<scope>runtime</scope>
139+
</dependency>
140+
<dependency>
141+
<groupId>org.glassfish.hk2</groupId>
142+
<artifactId>hk2</artifactId>
143+
<version>${glassfish.hk2.version}</version>
144+
<scope>runtime</scope>
145+
</dependency>
146+
<dependency>
147+
<groupId>org.glassfish.hk2</groupId>
148+
<artifactId>hk2-api</artifactId>
149+
<version>${glassfish.hk2.version}</version>
150+
<scope>runtime</scope>
151+
</dependency>
152+
<dependency>
153+
<groupId>org.glassfish.hk2</groupId>
154+
<artifactId>hk2-core</artifactId>
155+
<version>${glassfish.hk2.version}</version>
156+
<scope>runtime</scope>
157+
</dependency>
158+
<dependency>
159+
<groupId>org.glassfish.hk2</groupId>
160+
<artifactId>hk2-locator</artifactId>
161+
<version>${glassfish.hk2.version}</version>
162+
<scope>runtime</scope>
163+
</dependency>
164+
<dependency>
165+
<groupId>org.glassfish.hk2</groupId>
166+
<artifactId>hk2-runlevel</artifactId>
167+
<version>${glassfish.hk2.version}</version>
168+
<scope>runtime</scope>
169+
</dependency>
170+
<dependency>
171+
<groupId>org.glassfish.hk2</groupId>
172+
<artifactId>hk2-utils</artifactId>
173+
<version>${glassfish.hk2.version}</version>
174+
<scope>runtime</scope>
175+
</dependency>
176+
<dependency>
177+
<groupId>org.glassfish.hk2.external</groupId>
178+
<artifactId>jakarta.inject</artifactId>
179+
<version>${glassfish.hk2.version}</version>
180+
<scope>runtime</scope>
181+
</dependency>
182+
<dependency>
183+
<groupId>org.glassfish.jersey.core</groupId>
184+
<artifactId>jersey-client</artifactId>
185+
<version>${jersey-client.version}</version>
186+
<scope>runtime</scope>
187+
</dependency>
188+
<dependency>
189+
<groupId>org.glassfish.jersey.core</groupId>
190+
<artifactId>jersey-common</artifactId>
191+
<version>${jersey-client.version}</version>
192+
<scope>runtime</scope>
193+
</dependency>
194+
<dependency>
195+
<groupId>org.glassfish.jersey.ext</groupId>
196+
<artifactId>jersey-entity-filtering</artifactId>
197+
<version>${jersey-client.version}</version>
198+
<scope>runtime</scope>
199+
</dependency>
200+
<dependency>
201+
<groupId>org.glassfish.jersey.inject</groupId>
202+
<artifactId>jersey-hk2</artifactId>
203+
<version>${jersey-client.version}</version>
204+
<scope>runtime</scope>
205+
</dependency>
206+
<dependency>
207+
<groupId>org.glassfish.jersey.media</groupId>
208+
<artifactId>jersey-media-json-jackson</artifactId>
209+
<version>${jersey-client.version}</version>
210+
<scope>runtime</scope>
211+
</dependency>
93212

94213
<!-- Test -->
95214
<dependency>
@@ -98,10 +217,5 @@
98217
<version>${slf4j.version}</version>
99218
<scope>test</scope>
100219
</dependency>
101-
<dependency>
102-
<groupId>org.testng</groupId>
103-
<artifactId>testng</artifactId>
104-
<scope>test</scope>
105-
</dependency>
106220
</dependencies>
107221
</project>

agents-audit/dest-solr/pom.xml

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,24 @@
115115
<artifactId>slf4j-api</artifactId>
116116
<version>${slf4j.version}</version>
117117
</dependency>
118+
<dependency>
119+
<groupId>jakarta.ws.rs</groupId>
120+
<artifactId>jakarta.ws.rs-api</artifactId>
121+
<version>${jakarta.ws.rs-api.version}</version>
122+
<scope>provided</scope>
123+
</dependency>
124+
<dependency>
125+
<groupId>org.glassfish.jersey.core</groupId>
126+
<artifactId>jersey-client</artifactId>
127+
<version>${jersey-client.version}</version>
128+
<scope>provided</scope>
129+
</dependency>
130+
<dependency>
131+
<groupId>org.glassfish.jersey.media</groupId>
132+
<artifactId>jersey-media-json-jackson</artifactId>
133+
<version>${jersey-client.version}</version>
134+
<scope>provided</scope>
135+
</dependency>
118136

119137
<!-- Test -->
120138
<dependency>
@@ -123,10 +141,5 @@
123141
<version>${slf4j.version}</version>
124142
<scope>test</scope>
125143
</dependency>
126-
<dependency>
127-
<groupId>org.testng</groupId>
128-
<artifactId>testng</artifactId>
129-
<scope>test</scope>
130-
</dependency>
131144
</dependencies>
132145
</project>

agents-audit/orc-util/pom.xml

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,24 @@
7575
<artifactId>slf4j-api</artifactId>
7676
<version>${slf4j.version}</version>
7777
</dependency>
78+
<dependency>
79+
<groupId>jakarta.ws.rs</groupId>
80+
<artifactId>jakarta.ws.rs-api</artifactId>
81+
<version>${jakarta.ws.rs-api.version}</version>
82+
<scope>provided</scope>
83+
</dependency>
84+
<dependency>
85+
<groupId>org.glassfish.jersey.core</groupId>
86+
<artifactId>jersey-client</artifactId>
87+
<version>${jersey-client.version}</version>
88+
<scope>provided</scope>
89+
</dependency>
90+
<dependency>
91+
<groupId>org.glassfish.jersey.media</groupId>
92+
<artifactId>jersey-media-json-jackson</artifactId>
93+
<version>${jersey-client.version}</version>
94+
<scope>provided</scope>
95+
</dependency>
7896

7997
<!-- Test -->
8098
<dependency>
@@ -83,10 +101,5 @@
83101
<version>${slf4j.version}</version>
84102
<scope>test</scope>
85103
</dependency>
86-
<dependency>
87-
<groupId>org.testng</groupId>
88-
<artifactId>testng</artifactId>
89-
<scope>test</scope>
90-
</dependency>
91104
</dependencies>
92105
</project>

0 commit comments

Comments
 (0)