kikocis/java-driver public
Changesets · Branches · Tags · Compare
| Changeset | 60d95e2391dcfb86b7bf42bcec08c8557ff0b5100b992d3054e043cdeb9fdd39 |
|---|---|
| Author | Alexandre Dutra <alexandre.dutra@datastax.com> · 2015-11-18 14:37 +01:00 |
| Committer | Alexandre Dutra <alexandre.dutra@datastax.com> · 2015-11-18 16:24 +01:00 |
| Parents | 33bb477e4c2d |
3 files changed
modified driver-dist/pom.xml +18 −1
| @@ -76,7 +76,24 @@ | ||
| 76 | 76 | </goals> |
| 77 | 77 | <configuration> |
| 78 | 78 | <includeDependencySources>true</includeDependencySources> |
| 79 | - <additionalparam>${javadoc.opts}</additionalparam> | |
| 79 | + <!-- optional dependencies from other modules (must be explicitly declared here in order to be correctly resolved) --> | |
| 80 | + <additionalDependencies> | |
| 81 | + <additionalDependency> | |
| 82 | + <groupId>com.fasterxml.jackson.core</groupId> | |
| 83 | + <artifactId>jackson-databind</artifactId> | |
| 84 | + <version>${jackson.version}</version> | |
| 85 | + </additionalDependency> | |
| 86 | + <additionalDependency> | |
| 87 | + <groupId>joda-time</groupId> | |
| 88 | + <artifactId>joda-time</artifactId> | |
| 89 | + <version>${joda.version}</version> | |
| 90 | + </additionalDependency> | |
| 91 | + <additionalDependency> | |
| 92 | + <groupId>javax.json</groupId> | |
| 93 | + <artifactId>javax.json-api</artifactId> | |
| 94 | + <version>${jsr353-api.version}</version> | |
| 95 | + </additionalDependency> | |
| 96 | + </additionalDependencies> | |
| 80 | 97 | </configuration> |
| 81 | 98 | </execution> |
| 82 | 99 | </executions> |
modified driver-extras/pom.xml +4 −4
| @@ -52,21 +52,21 @@ | ||
| 52 | 52 | <dependency> |
| 53 | 53 | <groupId>com.fasterxml.jackson.core</groupId> |
| 54 | 54 | <artifactId>jackson-databind</artifactId> |
| 55 | - <version>2.5.3</version> | |
| 55 | + <version>${jackson.version}</version> | |
| 56 | 56 | <optional>true</optional> |
| 57 | 57 | </dependency> |
| 58 | 58 | |
| 59 | 59 | <dependency> |
| 60 | 60 | <groupId>joda-time</groupId> |
| 61 | 61 | <artifactId>joda-time</artifactId> |
| 62 | - <version>2.8.1</version> | |
| 62 | + <version>${joda.version}</version> | |
| 63 | 63 | <optional>true</optional> |
| 64 | 64 | </dependency> |
| 65 | 65 | |
| 66 | 66 | <dependency> |
| 67 | 67 | <groupId>javax.json</groupId> |
| 68 | 68 | <artifactId>javax.json-api</artifactId> |
| 69 | - <version>1.0</version> | |
| 69 | + <version>${jsr353-api.version}</version> | |
| 70 | 70 | <optional>true</optional> |
| 71 | 71 | </dependency> |
| 72 | 72 | |
| @@ -116,7 +116,7 @@ | ||
| 116 | 116 | <dependency> |
| 117 | 117 | <groupId>org.glassfish</groupId> |
| 118 | 118 | <artifactId>javax.json</artifactId> |
| 119 | - <version>1.0.4</version> | |
| 119 | + <version>${jsr353-ri.version}</version> | |
| 120 | 120 | <scope>test</scope> |
| 121 | 121 | </dependency> |
| 122 | 122 |
modified pom.xml +29 −1
| @@ -54,6 +54,11 @@ | ||
| 54 | 54 | <snappy.version>1.0.5</snappy.version> |
| 55 | 55 | <lz4.version>1.2.0</lz4.version> |
| 56 | 56 | <hdr.version>2.1.4</hdr.version> |
| 57 | + <!-- driver-extras module --> | |
| 58 | + <jackson.version>2.6.3</jackson.version> | |
| 59 | + <joda.version>2.9.1</joda.version> | |
| 60 | + <jsr353-api.version>1.0</jsr353-api.version> | |
| 61 | + <jsr353-ri.version>1.0.4</jsr353-ri.version> | |
| 57 | 62 | <!-- test dependency versions --> |
| 58 | 63 | <testng.version>6.8.8</testng.version> |
| 59 | 64 | <assertj.version>1.7.0</assertj.version> |
| @@ -160,10 +165,33 @@ | ||
| 160 | 165 | <groupId>org.apache.maven.plugins</groupId> |
| 161 | 166 | <artifactId>maven-javadoc-plugin</artifactId> |
| 162 | 167 | <version>2.9.1</version> |
| 168 | + <inherited>true</inherited> | |
| 163 | 169 | <configuration> |
| 164 | 170 | <verbose>false</verbose> |
| 171 | + <additionalparam>${javadoc.opts}</additionalparam> | |
| 165 | 172 | <!-- I can haz math in my javadoc (see http://zverovich.net/2012/01/14/beautiful-math-in-javadoc.html) --> |
| 166 | - <additionalparam>${javadoc.opts} -header '<script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>'</additionalparam> | |
| 173 | + <header> | |
| 174 | + <script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script> | |
| 175 | + </header> | |
| 176 | + <!-- open external links in a separate window --> | |
| 177 | + <bottom> | |
| 178 | + <script type="text/javascript"> | |
| 179 | + for(var i in document.links) { | |
| 180 | + var link = document.links[i]; | |
| 181 | + if (link.href.indexOf('http') === 0) link.target = '_blank'; | |
| 182 | + } | |
| 183 | + </script> | |
| 184 | + </bottom> | |
| 185 | + <links> | |
| 186 | + <link>https://docs.oracle.com/javase/8/docs/api/</link> | |
| 187 | + <link>http://docs.guava-libraries.googlecode.com/git-history/v16.0.1/javadoc/</link> | |
| 188 | + <link>http://netty.io/4.0/api/</link> | |
| 189 | + <!-- dependencies from driver-extras --> | |
| 190 | + <link>http://www.joda.org/joda-time/apidocs/</link> | |
| 191 | + <link>http://fasterxml.github.io/jackson-core/javadoc/2.6/</link> | |
| 192 | + <link>http://fasterxml.github.io/jackson-databind/javadoc/2.6/</link> | |
| 193 | + <link>https://javaee-spec.java.net/nonav/javadocs/</link> | |
| 194 | + </links> | |
| 167 | 195 | </configuration> |
| 168 | 196 | <executions> |
| 169 | 197 | <execution> |