Elffuss BraidHub

kikocis/java-driver public

Merge pull request #818 from datastax/3.0.x_warnings_fixes

Fix various javac and javadoc warnings
Changeset503af700a0780ef0a39c15beae22c98ebad051203daa28b43cba2bba34c1c0b5
AuthorAlexandre Dutra <adutra@users.noreply.github.com> · 2017-03-02 10:58 +01:00
CommitterGitHub <noreply@github.com> · 2017-03-02 10:58 +01:00
Parentsb7d84d56c31c, 139d88f37c84

Browse the files at this changeset

20 files changed

modified driver-core/src/main/java/com/datastax/driver/core/Connection.java +2 −1
@@ -1211,6 +1211,7 @@
12111211
12121212 ChannelFuture future = channel.close();
12131213 future.addListener(new ChannelFutureListener() {
1214+ @Override
12141215 public void operationComplete(ChannelFuture future) {
12151216 factory.allChannels.remove(channel);
12161217 if (future.cause() != null) {
@@ -1421,7 +1422,7 @@
14211422 pipeline.addLast("ssl", sslOptions.newSSLHandler(channel));
14221423 }
14231424
1424- // pipeline.addLast("debug", new LoggingHandler(LogLevel.INFO));
1425+ // pipeline.addLast("debug", new LoggingHandler(LogLevel.INFO));
14251426
14261427 pipeline.addLast("frameDecoder", new Frame.Decoder());
14271428 pipeline.addLast("frameEncoder", frameEncoder);
modified driver-core/src/main/java/com/datastax/driver/core/DataType.java +1 −1
@@ -709,7 +709,7 @@
709709 * The driver provides a minimal support for such types through
710710 * instances of this class.
711711 * <p/>
712- * A codec for custom types can be obtained via {@link TypeCodec#custom(CustomType)}.
712+ * A codec for custom types can be obtained via {@link TypeCodec#custom(DataType.CustomType)}.
713713 */
714714 public static class CustomType extends DataType {
715715
modified driver-core/src/main/java/com/datastax/driver/core/TypeCodec.java +4 −2
@@ -90,8 +90,10 @@
9090 * the wrapper Java class instead, and implement the appropriate interface
9191 * (e.g. {@link com.datastax.driver.core.TypeCodec.PrimitiveBooleanCodec} for primitive {@code boolean} types;
9292 * there is one such interface for each Java primitive type).</li>
93- * <li>TypeCodec implementations should not consume {@link ByteBuffer} instances by performing read operations
94- * that modify their current position; if necessary, codecs should {@link ByteBuffer#duplicate()} duplicate} them.</li>
93+ * <li>When deserializing, TypeCodec implementations should not consume {@link ByteBuffer} instances
94+ * by performing relative read operations that modify their current position;
95+ * codecs should instead prefer absolute read methods, or, if necessary, they should
96+ * {@link ByteBuffer#duplicate() duplicate} their byte buffers prior to reading them.</li>
9597 * </ol>
9698 *
9799 * @param <T> The codec's Java type
modified driver-core/src/main/java/com/datastax/driver/core/policies/FallthroughRetryPolicy.java +1 −1
@@ -24,7 +24,7 @@
2424 /**
2525 * A retry policy that never retries (nor ignores).
2626 * <p/>
27- * All of the methods of this retry policy unconditionally return {@link RetryDecision#rethrow()}.
27+ * All of the methods of this retry policy unconditionally return {@link RetryPolicy.RetryDecision#rethrow()}.
2828 * If this policy is used, retry logic will have to be implemented in business code.
2929 */
3030 public class FallthroughRetryPolicy implements RetryPolicy {
modified driver-core/src/main/java/com/datastax/driver/core/utils/UUIDs.java +0 −2
@@ -35,8 +35,6 @@
3535 private UUIDs() {
3636 }
3737
38- ;
39-
4038 // http://www.ietf.org/rfc/rfc4122.txt
4139 private static final long START_EPOCH = makeEpoch();
4240 private static final long CLOCK_SEQ_AND_NODE = makeClockSeqAndNode();
modified driver-core/src/test/java/com/datastax/driver/core/ClusterInitTest.java +2 −2
@@ -44,6 +44,7 @@
4444 import static com.datastax.driver.core.TestUtils.ipOfNode;
4545 import static com.datastax.driver.core.TestUtils.nonQuietClusterCloseOptions;
4646 import static org.mockito.Mockito.*;
47+import static org.scassandra.http.client.PrimingRequest.then;
4748
4849 public class ClusterInitTest {
4950 private static final Logger logger = LoggerFactory.getLogger(ClusterInitTest.class);
@@ -278,8 +279,7 @@
278279 primingClient.prime(
279280 PrimingRequest.queryBuilder()
280281 .withQuery("SELECT * FROM system.peers")
281- .withColumnTypes(ScassandraCluster.SELECT_PEERS)
282- .withRows(rows)
282+ .withThen(then().withRows(rows).withColumnTypes(ScassandraCluster.SELECT_PEERS))
283283 .build());
284284 }
285285 }
modified driver-core/src/test/java/com/datastax/driver/core/ConnectionReleaseTest.java +5 −4
@@ -28,6 +28,7 @@
2828 import java.util.concurrent.TimeoutException;
2929
3030 import static org.assertj.core.api.Assertions.assertThat;
31+import static org.scassandra.http.client.PrimingRequest.then;
3132 import static org.testng.Assert.fail;
3233
3334 public class ConnectionReleaseTest extends ScassandraTestBase {
@@ -66,20 +67,20 @@
6667 primingClient.prime(
6768 PrimingRequest.queryBuilder()
6869 .withQuery("mock query")
69- .withRows(ImmutableMap.of("key", 1))
70- .withFixedDelay(10000)
70+ .withThen(then().withRows(ImmutableMap.of("key", 1))
71+ .withFixedDelay(10000L))
7172 .build()
7273 );
7374 primingClient.prime(
7475 PrimingRequest.queryBuilder()
7576 .withQuery("select c from test1 where k=1")
76- .withRows(ImmutableMap.of("c", "hello"))
77+ .withThen(then().withRows(ImmutableMap.of("c", "hello")))
7778 .build()
7879 );
7980 primingClient.prime(
8081 PrimingRequest.queryBuilder()
8182 .withQuery("select n from test2 where c='hello'")
82- .withRows(ImmutableMap.of("n", "world"))
83+ .withThen(then().withRows(ImmutableMap.of("n", "world")))
8384 .build()
8485 );
8586
modified driver-core/src/test/java/com/datastax/driver/core/HostAssert.java +7 −0
@@ -123,6 +123,7 @@
123123 public HostAssert goesDownWithin(long duration, TimeUnit unit) {
124124 final CountDownLatch downSignal = new CountDownLatch(1);
125125 StateListener upListener = new StateListenerBase() {
126+ @Override
126127 public void onDown(Host host) {
127128 downSignal.countDown();
128129 }
@@ -141,31 +142,37 @@
141142 return this;
142143 }
143144
145+ @SuppressWarnings("deprecation")
144146 public HostAssert hasWorkload(String workload) {
145147 assertThat(actual.getDseWorkload()).isNotNull().isEqualTo(workload);
146148 return this;
147149 }
148150
151+ @SuppressWarnings("deprecation")
149152 public HostAssert hasNoWorkload() {
150153 assertThat(actual.getDseWorkload()).isNull();
151154 return this;
152155 }
153156
157+ @SuppressWarnings("deprecation")
154158 public HostAssert hasDseVersion(VersionNumber versionNumber) {
155159 assertThat(actual.getDseVersion()).isNotNull().isEqualTo(versionNumber);
156160 return this;
157161 }
158162
163+ @SuppressWarnings("deprecation")
159164 public HostAssert hasNoDseVersion() {
160165 assertThat(actual.getDseVersion()).isNull();
161166 return this;
162167 }
163168
169+ @SuppressWarnings("deprecation")
164170 public HostAssert hasDseGraph() {
165171 assertThat(actual.isDseGraphEnabled()).isTrue();
166172 return this;
167173 }
168174
175+ @SuppressWarnings("deprecation")
169176 public HostAssert hasNoDseGraph() {
170177 assertThat(actual.isDseGraphEnabled()).isFalse();
171178 return this;
modified driver-core/src/test/java/com/datastax/driver/core/RequestHandlerTest.java +6 −2
@@ -20,10 +20,14 @@
2020 import org.scassandra.http.client.PrimingRequest;
2121 import org.testng.annotations.Test;
2222
23+import java.util.Collections;
24+import java.util.List;
25+import java.util.Map;
2326 import java.util.concurrent.TimeUnit;
2427 import java.util.concurrent.TimeoutException;
2528
2629 import static org.assertj.core.api.Assertions.assertThat;
30+import static org.scassandra.http.client.PrimingRequest.then;
2731
2832 public class RequestHandlerTest {
2933
@@ -35,11 +39,11 @@
3539 try {
3640 // Use a mock server that takes a constant time to reply
3741 scassandra.start();
42+ List<Map<String, ?>> rows = Collections.<Map<String, ?>>singletonList(ImmutableMap.of("key", 1));
3843 scassandra.primingClient().prime(
3944 PrimingRequest.queryBuilder()
4045 .withQuery("mock query")
41- .withRows(ImmutableMap.of("key", 1))
42- .withFixedDelay(10)
46+ .withThen(then().withRows(rows).withFixedDelay(10L))
4347 .build()
4448 );
4549
modified driver-core/src/test/java/com/datastax/driver/core/ScassandraCluster.java +3 −2
@@ -27,6 +27,7 @@
2727
2828 import java.net.InetAddress;
2929 import java.net.InetSocketAddress;
30+import java.util.Collections;
3031 import java.util.List;
3132 import java.util.Map;
3233 import java.util.TreeSet;
@@ -364,7 +365,7 @@
364365 .withQuery(query)
365366 .withThen(then()
366367 .withColumnTypes(metadata)
367- .withRows(row)
368+ .withRows(Collections.<Map<String, ?>>singletonList(row))
368369 .build())
369370 .build());
370371 }
@@ -386,7 +387,7 @@
386387 .withQuery("select cluster_name from system.local")
387388 .withThen(then()
388389 .withColumnTypes(SELECT_CLUSTER_NAME)
389- .withRows(clusterNameRow)
390+ .withRows(Collections.<Map<String, ?>>singletonList(clusterNameRow))
390391 .build())
391392 .build());
392393
modified driver-core/src/test/java/com/datastax/driver/core/SpeculativeExecutionTest.java +10 −14
@@ -35,6 +35,7 @@
3535 import static com.datastax.driver.core.Assertions.assertThat;
3636 import static com.datastax.driver.core.TestUtils.nonQuietClusterCloseOptions;
3737 import static org.mockito.Mockito.*;
38+import static org.scassandra.http.client.PrimingRequest.then;
3839
3940 public class SpeculativeExecutionTest {
4041 ScassandraCluster scassandras;
@@ -84,7 +85,7 @@
8485 public void should_not_start_speculative_execution_if_first_execution_completes_successfully() {
8586 scassandras.node(1).primingClient().prime(PrimingRequest.queryBuilder()
8687 .withQuery("mock query")
87- .withRows(row("result", "result1"))
88+ .withThen(then().withRows(row("result", "result1")))
8889 .build()
8990 );
9091
@@ -104,14 +105,14 @@
104105 scassandras.node(1).primingClient().prime(PrimingRequest.queryBuilder()
105106 .withQuery("mock query")
106107 .withConsistency(Consistency.TWO)
107- .withResult(Result.read_request_timeout)
108+ .withThen(then().withResult(Result.read_request_timeout))
108109 .build()
109110 );
110111
111112 scassandras.node(1).primingClient().prime(PrimingRequest.queryBuilder()
112113 .withQuery("mock query")
113114 .withConsistency(Consistency.ONE)
114- .withRows(row("result", "result1"))
115+ .withThen(then().withRows(row("result", "result1")))
115116 .build()
116117 );
117118
@@ -134,14 +135,13 @@
134135 public void should_start_speculative_execution_if_first_execution_takes_too_long() {
135136 scassandras.node(1).primingClient().prime(PrimingRequest.queryBuilder()
136137 .withQuery("mock query")
137- .withFixedDelay(400)
138- .withRows(row("result", "result1"))
138+ .withThen(then().withRows(row("result", "result1")).withFixedDelay(400L))
139139 .build()
140140 );
141141
142142 scassandras.node(2).primingClient().prime(PrimingRequest.queryBuilder()
143143 .withQuery("mock query")
144- .withRows(row("result", "result2"))
144+ .withThen(then().withRows(row("result", "result2")))
145145 .build()
146146 );
147147 long execStartCount = errors.getSpeculativeExecutions().getCount();
@@ -163,15 +163,13 @@
163163 // execution1 starts with host1, which will time out at t=1000
164164 .prime(PrimingRequest.queryBuilder()
165165 .withQuery("mock query")
166- .withFixedDelay(2000)
167- .withRows(row("result", "result1"))
166+ .withThen(then().withRows(row("result", "result1")).withFixedDelay(2000L))
168167 .build());
169168 // at t=1000, execution1 moves to host3, which eventually succeeds at t=1500
170169 scassandras.node(3).primingClient()
171170 .prime(PrimingRequest.queryBuilder()
172171 .withQuery("mock query")
173- .withFixedDelay(500)
174- .withRows(row("result", "result3"))
172+ .withThen(then().withRows(row("result", "result3")).withFixedDelay(500L))
175173 .build());
176174 // meanwhile, execution2 starts at t=200, using host2 which times out at t=1200
177175 // at that time, the query plan is empty so execution2 fails
@@ -179,8 +177,7 @@
179177 scassandras.node(2).primingClient()
180178 .prime(PrimingRequest.queryBuilder()
181179 .withQuery("mock query")
182- .withFixedDelay(2000)
183- .withRows(row("result", "result2"))
180+ .withThen(then().withRows(row("result", "result2")).withFixedDelay(2000L))
184181 .build());
185182 long execStartCount = errors.getSpeculativeExecutions().getCount();
186183
@@ -247,8 +244,7 @@
247244 // execution1 starts with host1, which will time out at t=1000
248245 .prime(PrimingRequest.queryBuilder()
249246 .withQuery("mock query")
250- .withFixedDelay(2000)
251- .withRows(row("result", "result1"))
247+ .withThen(then().withRows(row("result", "result1")).withFixedDelay(2000L))
252248 .build());
253249
254250 Session session = cluster.connect();
modified driver-core/src/test/java/com/datastax/driver/core/TestUtils.java +3 −3
@@ -129,13 +129,13 @@
129129 data.setUUID(i, (UUID) value);
130130 break;
131131 case LIST:
132- data.setList(i, (List) value);
132+ data.setList(i, (List<?>) value);
133133 break;
134134 case SET:
135- data.setSet(i, (Set) value);
135+ data.setSet(i, (Set<?>) value);
136136 break;
137137 case MAP:
138- data.setMap(i, (Map) value);
138+ data.setMap(i, (Map<?, ?>) value);
139139 break;
140140 default:
141141 throw new RuntimeException("Missing handling of " + type);
modified driver-core/src/test/java/com/datastax/driver/core/exceptions/ExceptionsScassandraTest.java +2 −1
@@ -30,6 +30,7 @@
3030 import static com.datastax.driver.core.ConsistencyLevel.LOCAL_ONE;
3131 import static org.assertj.core.api.Assertions.assertThat;
3232 import static org.assertj.core.api.Assertions.fail;
33+import static org.scassandra.http.client.PrimingRequest.then;
3334 import static org.scassandra.http.client.Result.*;
3435
3536 public class ExceptionsScassandraTest {
@@ -115,7 +116,7 @@
115116 protected void simulateError(int hostNumber, Result result) {
116117 scassandras.node(hostNumber).primingClient().prime(PrimingRequest.queryBuilder()
117118 .withQuery("mock query")
118- .withResult(result)
119+ .withThen(then().withResult(result))
119120 .build());
120121 }
121122
modified driver-core/src/test/java/com/datastax/driver/core/policies/AbstractRetryPolicyIntegrationTest.java +7 −5
@@ -39,6 +39,7 @@
3939 import static org.assertj.core.api.Assertions.assertThat;
4040 import static org.mockito.Matchers.*;
4141 import static org.mockito.Mockito.times;
42+import static org.scassandra.http.client.PrimingRequest.then;
4243 import static org.scassandra.http.client.Result.overloaded;
4344 import static org.scassandra.http.client.Result.server_error;
4445
@@ -109,12 +110,13 @@
109110 }
110111
111112 protected void simulateError(int hostNumber, Result result, Config config) {
112- PrimingRequestBuilder builder = PrimingRequest.queryBuilder()
113- .withQuery("mock query")
114- .withResult(result);
113+ PrimingRequest.Then.ThenBuilder then = then().withResult(result);
114+ PrimingRequestBuilder builder = PrimingRequest.queryBuilder().withQuery("mock query");
115115
116116 if (config != null)
117- builder = builder.withConfig(config);
117+ then = then.withConfig(config);
118+
119+ builder = builder.withThen(then);
118120
119121 scassandras.node(hostNumber).primingClient().prime(builder.build());
120122 }
@@ -122,7 +124,7 @@
122124 protected void simulateNormalResponse(int hostNumber) {
123125 scassandras.node(hostNumber).primingClient().prime(PrimingRequest.queryBuilder()
124126 .withQuery("mock query")
125- .withRows(row("result", "result1"))
127+ .withThen(then().withRows(row("result", "result1")))
126128 .build());
127129 }
128130
modified driver-core/src/test/java/com/datastax/driver/core/policies/LatencyAwarePolicyTest.java +3 −2
@@ -27,6 +27,7 @@
2727 import static org.assertj.core.api.Assertions.assertThat;
2828 import static org.assertj.core.api.Assertions.fail;
2929 import static org.scassandra.http.client.PrimingRequest.queryBuilder;
30+import static org.scassandra.http.client.PrimingRequest.then;
3031 import static org.scassandra.http.client.Result.read_request_timeout;
3132 import static org.scassandra.http.client.Result.unavailable;
3233
@@ -106,7 +107,7 @@
106107 primingClient.prime(
107108 queryBuilder()
108109 .withQuery(query)
109- .withResult(unavailable)
110+ .withThen(then().withResult(unavailable))
110111 .build()
111112 );
112113 LatencyAwarePolicy latencyAwarePolicy = LatencyAwarePolicy.builder(new RoundRobinPolicy())
@@ -150,7 +151,7 @@
150151 primingClient.prime(
151152 queryBuilder()
152153 .withQuery(query)
153- .withResult(read_request_timeout)
154+ .withThen(then().withResult(read_request_timeout))
154155 .build()
155156 );
156157
modified driver-dist/pom.xml +0 −38
@@ -70,44 +70,6 @@
7070 </goals>
7171 <configuration>
7272 <includeDependencySources>true</includeDependencySources>
73- <!-- optional dependencies from other modules (must be explicitly declared here in order to be correctly resolved) -->
74- <additionalDependencies>
75- <additionalDependency>
76- <groupId>org.xerial.snappy</groupId>
77- <artifactId>snappy-java</artifactId>
78- <version>${snappy.version}</version>
79- </additionalDependency>
80- <additionalDependency>
81- <groupId>net.jpountz.lz4</groupId>
82- <artifactId>lz4</artifactId>
83- <version>${lz4.version}</version>
84- </additionalDependency>
85- <additionalDependency>
86- <groupId>org.hdrhistogram</groupId>
87- <artifactId>HdrHistogram</artifactId>
88- <version>${hdr.version}</version>
89- </additionalDependency>
90- <additionalDependency>
91- <groupId>com.fasterxml.jackson.core</groupId>
92- <artifactId>jackson-core</artifactId>
93- <version>${jackson.version}</version>
94- </additionalDependency>
95- <additionalDependency>
96- <groupId>com.fasterxml.jackson.core</groupId>
97- <artifactId>jackson-databind</artifactId>
98- <version>${jackson.version}</version>
99- </additionalDependency>
100- <additionalDependency>
101- <groupId>joda-time</groupId>
102- <artifactId>joda-time</artifactId>
103- <version>${joda.version}</version>
104- </additionalDependency>
105- <additionalDependency>
106- <groupId>javax.json</groupId>
107- <artifactId>javax.json-api</artifactId>
108- <version>${jsr353-api.version}</version>
109- </additionalDependency>
110- </additionalDependencies>
11173 </configuration>
11274 </execution>
11375 </executions>
modified driver-examples/pom.xml +9 −0
@@ -53,6 +53,15 @@
5353
5454 <plugins>
5555
56+ <plugin>
57+ <groupId>org.codehaus.mojo</groupId>
58+ <artifactId>clirr-maven-plugin</artifactId>
59+ <version>2.7</version>
60+ <configuration>
61+ <skip>true</skip>
62+ </configuration>
63+ </plugin>
64+
5665 <plugin>
5766 <groupId>org.apache.maven.plugins</groupId>
5867 <artifactId>maven-install-plugin</artifactId>
modified driver-mapping/src/main/java/com/datastax/driver/mapping/AnnotationChecks.java +3 −3
@@ -57,7 +57,7 @@
5757 /**
5858 * Checks that a field is only annotated with the given mapping annotations, and that its "frozen" annotations are valid.
5959 */
60- static void validateAnnotations(Field field, String classDescription, Class<? extends Annotation>... allowed) {
60+ static void validateAnnotations(Field field, String classDescription, Class<?>... allowed) {
6161 Class<? extends Annotation> invalid = validateAnnotations(field.getAnnotations(), allowed);
6262 if (invalid != null)
6363 throw new IllegalArgumentException(String.format("Annotation @%s is not allowed on field %s of %s %s",
@@ -69,7 +69,7 @@
6969 }
7070
7171 // Returns the offending annotation if there is one
72- private static Class<? extends Annotation> validateAnnotations(Annotation[] annotations, Class<? extends Annotation>... allowed) {
72+ private static Class<? extends Annotation> validateAnnotations(Annotation[] annotations, Class<?>... allowed) {
7373 for (Annotation annotation : annotations) {
7474 Class<? extends Annotation> actual = annotation.annotationType();
7575 if (actual.getPackage().equals(MAPPING_PACKAGE) && !contains(allowed, actual))
@@ -85,7 +85,7 @@
8585 return false;
8686 }
8787
88- static void checkValidComputed(Field field) {
88+ private static void checkValidComputed(Field field) {
8989 Computed computed = field.getAnnotation(Computed.class);
9090 if (computed != null && computed.value().isEmpty()) {
9191 throw new IllegalArgumentException(String.format("Field %s: attribute 'value' of annotation @Computed is mandatory for computed fields", field.getName()));
modified driver-tests/pom.xml +15 −0
@@ -61,7 +61,18 @@
6161 </developers>
6262
6363 <build>
64+
6465 <plugins>
66+
67+ <plugin>
68+ <groupId>org.codehaus.mojo</groupId>
69+ <artifactId>clirr-maven-plugin</artifactId>
70+ <version>2.7</version>
71+ <configuration>
72+ <skip>true</skip>
73+ </configuration>
74+ </plugin>
75+
6576 <plugin>
6677 <groupId>org.apache.maven.plugins</groupId>
6778 <artifactId>maven-install-plugin</artifactId>
@@ -70,6 +81,7 @@
7081 <skip>true</skip>
7182 </configuration>
7283 </plugin>
84+
7385 <plugin>
7486 <groupId>org.apache.maven.plugins</groupId>
7587 <artifactId>maven-deploy-plugin</artifactId>
@@ -78,6 +90,9 @@
7890 <skip>true</skip>
7991 </configuration>
8092 </plugin>
93+
8194 </plugins>
95+
8296 </build>
97+
8398 </project>
modified pom.xml +44 −0
@@ -226,6 +226,7 @@
226226 <version>2.9.1</version>
227227 <inherited>true</inherited>
228228 <configuration>
229+ <quiet>true</quiet>
229230 <verbose>false</verbose>
230231 <additionalparam>${javadoc.opts}</additionalparam>
231232 <links>
@@ -238,6 +239,49 @@
238239 <link>http://fasterxml.github.io/jackson-databind/javadoc/2.6/</link>
239240 <link>https://javaee-spec.java.net/nonav/javadocs/</link>
240241 </links>
242+ <!-- optional dependencies from other modules (must be explicitly declared here in order to be correctly resolved) -->
243+ <additionalDependencies>
244+ <additionalDependency>
245+ <groupId>org.xerial.snappy</groupId>
246+ <artifactId>snappy-java</artifactId>
247+ <version>${snappy.version}</version>
248+ </additionalDependency>
249+ <additionalDependency>
250+ <groupId>net.jpountz.lz4</groupId>
251+ <artifactId>lz4</artifactId>
252+ <version>${lz4.version}</version>
253+ </additionalDependency>
254+ <additionalDependency>
255+ <groupId>org.hdrhistogram</groupId>
256+ <artifactId>HdrHistogram</artifactId>
257+ <version>${hdr.version}</version>
258+ </additionalDependency>
259+ <additionalDependency>
260+ <groupId>com.fasterxml.jackson.core</groupId>
261+ <artifactId>jackson-core</artifactId>
262+ <version>${jackson.version}</version>
263+ </additionalDependency>
264+ <additionalDependency>
265+ <groupId>com.fasterxml.jackson.core</groupId>
266+ <artifactId>jackson-annotations</artifactId>
267+ <version>${jackson.version}</version>
268+ </additionalDependency>
269+ <additionalDependency>
270+ <groupId>com.fasterxml.jackson.core</groupId>
271+ <artifactId>jackson-databind</artifactId>
272+ <version>${jackson.version}</version>
273+ </additionalDependency>
274+ <additionalDependency>
275+ <groupId>joda-time</groupId>
276+ <artifactId>joda-time</artifactId>
277+ <version>${joda.version}</version>
278+ </additionalDependency>
279+ <additionalDependency>
280+ <groupId>javax.json</groupId>
281+ <artifactId>javax.json-api</artifactId>
282+ <version>${jsr353-api.version}</version>
283+ </additionalDependency>
284+ </additionalDependencies>
241285 </configuration>
242286 <executions>
243287 <execution>