|
150 | 150 |
|
151 | 151 | <properties> |
152 | 152 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 153 | + <jaxrs.version>2.1.1</jaxrs.version> |
153 | 154 | </properties> |
154 | 155 | <dependencies> |
155 | | - |
156 | | - <!-- JAXRS Implementation --> |
157 | | - <dependency> |
158 | | - <groupId>jakarta.ws.rs</groupId> |
159 | | - <artifactId>jakarta.ws.rs-api</artifactId> |
160 | | - <version>3.1.0</version> |
161 | | - </dependency> |
162 | | - <dependency> |
163 | | - <groupId>jakarta.activation</groupId> |
164 | | - <artifactId>jakarta.activation-api</artifactId> |
165 | | - <version>2.1.2</version> |
166 | | - </dependency> |
167 | | - <dependency> |
168 | | - <groupId>org.glassfish.jersey.core</groupId> |
169 | | - <artifactId>jersey-client</artifactId> |
170 | | - <version>3.1.5</version> |
171 | | - </dependency> |
| 156 | + <!-- |
| 157 | + JAXRS Implementation |
| 158 | + You can change any of this, for example if you use Jersey 2.0 or a different implementation |
| 159 | + (codehaus has one, I think). |
| 160 | + --> |
172 | 161 | <dependency> |
173 | | - <groupId>org.glassfish.jersey.inject</groupId> |
174 | | - <artifactId>jersey-hk2</artifactId> |
175 | | - <version>3.1.5</version> |
| 162 | + <groupId>javax.ws.rs</groupId> |
| 163 | + <artifactId>javax.ws.rs-api</artifactId> |
| 164 | + <version>${jaxrs.version}</version> |
176 | 165 | </dependency> |
177 | 166 | <dependency> |
178 | | - <groupId>org.glassfish.jersey.media</groupId> |
179 | | - <artifactId>jersey-media-json-binding</artifactId> |
180 | | - <version>3.1.2</version> |
| 167 | + <groupId>org.apache.cxf</groupId> |
| 168 | + <artifactId>cxf-rt-rs-client</artifactId> |
| 169 | + <version>3.5.10</version> |
181 | 170 | </dependency> |
182 | 171 |
|
183 | 172 | <!-- JSON support --> |
|
207 | 196 | <version>4.13.1</version> |
208 | 197 | <scope>test</scope> |
209 | 198 | </dependency> |
210 | | - |
211 | | - <!-- must include JAXB manually post Java 9 --> |
212 | | - <dependency> |
213 | | - <groupId>jakarta.xml.bind</groupId> |
214 | | - <artifactId>jakarta.xml.bind-api</artifactId> |
215 | | - <version>4.0.1</version> |
216 | | - </dependency> |
217 | 199 | </dependencies> |
218 | 200 |
|
219 | 201 | <build> |
|
231 | 213 | <plugin> |
232 | 214 | <groupId>org.apache.maven.plugins</groupId> |
233 | 215 | <artifactId>maven-surefire-plugin</artifactId> |
234 | | - <version>2.20</version> |
| 216 | + <version>2.22.2</version> |
235 | 217 | <configuration> |
236 | 218 | <systemPropertyVariables> |
237 | 219 | <CONJUR_ACCOUNT>${env.CONJUR_ACCOUNT}</CONJUR_ACCOUNT> |
238 | 220 | <CONJUR_APPLIANCE_URL>${env.CONJUR_APPLIANCE_URL}</CONJUR_APPLIANCE_URL> |
239 | 221 | <CONJUR_AUTHN_LOGIN>${env.CONJUR_AUTHN_LOGIN}</CONJUR_AUTHN_LOGIN> |
240 | 222 | <CONJUR_AUTHN_API_KEY>${env.CONJUR_AUTHN_API_KEY}</CONJUR_AUTHN_API_KEY> |
241 | 223 | </systemPropertyVariables> |
242 | | - <argLine>--add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.net=ALL-UNNAMED</argLine> |
243 | 224 | </configuration> |
244 | 225 | </plugin> |
245 | 226 |
|
|
0 commit comments