|
121 | 121 | <datastore.proto.version>1.3.0</datastore.proto.version> |
122 | 122 | <google-api-common.version>1.0.0-rc2</google-api-common.version> |
123 | 123 | <google-auto-service.version>1.0-rc2</google-auto-service.version> |
124 | | - <google-auto-value.version>1.5.1</google-auto-value.version> |
| 124 | + <google-auto-value.version>1.5.3</google-auto-value.version> |
125 | 125 | <google-auth.version>0.7.1</google-auth.version> |
126 | 126 | <google-clients.version>1.22.0</google-clients.version> |
127 | 127 | <google-cloud-bigdataoss.version>1.4.5</google-cloud-bigdataoss.version> |
|
162 | 162 | <apache-rat-plugin.version>0.12</apache-rat-plugin.version> |
163 | 163 | <os-maven-plugin.version>1.5.0.Final</os-maven-plugin.version> |
164 | 164 | <groovy-maven-plugin.version>2.0</groovy-maven-plugin.version> |
| 165 | + <license-maven-plugin.version>1.14</license-maven-plugin.version> |
165 | 166 | <maven-surefire-plugin.version>2.20.1</maven-surefire-plugin.version> |
166 | 167 | <maven-failsafe-plugin.version>2.20.1</maven-failsafe-plugin.version> |
167 | 168 | <maven-compiler-plugin.version>3.7.0</maven-compiler-plugin.version> |
168 | 169 | <maven-dependency-plugin.version>3.0.2</maven-dependency-plugin.version> |
169 | 170 | <maven-enforcer-plugin.version>3.0.0-M1</maven-enforcer-plugin.version> |
| 171 | + <extra-enforcer-rules.version>1.0-beta-7</extra-enforcer-rules.version> |
170 | 172 | <maven-exec-plugin.version>1.6.0</maven-exec-plugin.version> |
| 173 | + <maven-gpg-plugin.version>1.6</maven-gpg-plugin.version> |
171 | 174 | <maven-jar-plugin.version>3.0.2</maven-jar-plugin.version> |
172 | 175 | <maven-javadoc-plugin.version>3.0.0-M1</maven-javadoc-plugin.version> |
173 | 176 | <maven-license-plugin.version>1.14</maven-license-plugin.version> |
|
315 | 318 | <plugin> |
316 | 319 | <groupId>org.apache.maven.plugins</groupId> |
317 | 320 | <artifactId>maven-gpg-plugin</artifactId> |
| 321 | + <version>${maven-gpg-plugin.version}</version> |
318 | 322 | <executions> |
319 | 323 | <execution> |
320 | 324 | <id>sign-release-artifacts</id> |
|
413 | 417 | </build> |
414 | 418 | </profile> |
415 | 419 |
|
| 420 | + <profile> |
| 421 | + <id>java-9</id> |
| 422 | + <activation> |
| 423 | + <jdk>9</jdk> |
| 424 | + </activation> |
| 425 | + <properties> |
| 426 | + <!-- TODO Enable supported plugins once their issues are fixed --> |
| 427 | + <findbugs.skip>true</findbugs.skip> |
| 428 | + <maven.javadoc.skip>true</maven.javadoc.skip> |
| 429 | + <mdep.analyze.skip>true</mdep.analyze.skip> |
| 430 | + <!-- |
| 431 | + maven surefire plugin automatically adds the java.se.ee module, we |
| 432 | + overwrite it to ensure we use the minimum set of modules. |
| 433 | + --> |
| 434 | + <beamSurefireArgline>--add-modules java.base</beamSurefireArgline> |
| 435 | + </properties> |
| 436 | + <build> |
| 437 | + <plugins> |
| 438 | + <plugin> |
| 439 | + <groupId>org.apache.maven.plugins</groupId> |
| 440 | + <artifactId>maven-compiler-plugin</artifactId> |
| 441 | + <configuration> |
| 442 | + <release>9</release> |
| 443 | + <showWarnings>true</showWarnings> |
| 444 | + </configuration> |
| 445 | + </plugin> |
| 446 | + <plugin> |
| 447 | + <groupId>org.apache.maven.plugins</groupId> |
| 448 | + <artifactId>maven-enforcer-plugin</artifactId> |
| 449 | + <executions> |
| 450 | + <execution> |
| 451 | + <id>enforce</id> |
| 452 | + <goals> |
| 453 | + <goal>enforce</goal> |
| 454 | + </goals> |
| 455 | + <configuration> |
| 456 | + <rules> |
| 457 | + <enforceBytecodeVersion> |
| 458 | + <maxJdkVersion>9</maxJdkVersion> |
| 459 | + </enforceBytecodeVersion> |
| 460 | + </rules> |
| 461 | + </configuration> |
| 462 | + </execution> |
| 463 | + </executions> |
| 464 | + </plugin> |
| 465 | + </plugins> |
| 466 | + </build> |
| 467 | + <dependencies> |
| 468 | + <dependency> |
| 469 | + <groupId>javax.annotation</groupId> |
| 470 | + <artifactId>javax.annotation-api</artifactId> |
| 471 | + <version>1.3.1</version> |
| 472 | + </dependency> |
| 473 | + </dependencies> |
| 474 | + </profile> |
416 | 475 | </profiles> |
417 | 476 |
|
418 | 477 | <dependencyManagement> |
|
1287 | 1346 | <dependency> |
1288 | 1347 | <groupId>net.bytebuddy</groupId> |
1289 | 1348 | <artifactId>byte-buddy</artifactId> |
1290 | | - <version>1.6.8</version> |
| 1349 | + <version>1.7.10</version> |
1291 | 1350 | </dependency> |
1292 | 1351 |
|
1293 | 1352 | <dependency> |
|
2124 | 2183 | <rules> |
2125 | 2184 | <enforceBytecodeVersion> |
2126 | 2185 | <maxJdkVersion>1.8</maxJdkVersion> |
| 2186 | + <!-- |
| 2187 | + Multi release jars that are Java 8 compatible should pass, |
| 2188 | + but the extra-enforcer-plugin does not detect them |
| 2189 | + correctly so we should ignore them explicitly. |
| 2190 | + --> |
| 2191 | + <ignoreClasses> |
| 2192 | + <ignoreClass>module-info</ignoreClass> |
| 2193 | + </ignoreClasses> |
2127 | 2194 | <excludes> |
2128 | 2195 | <!-- |
2129 | 2196 | Supplied by the user JDK and compiled with matching |
|
2164 | 2231 | <dependency> |
2165 | 2232 | <groupId>org.codehaus.mojo</groupId> |
2166 | 2233 | <artifactId>extra-enforcer-rules</artifactId> |
2167 | | - <version>1.0-beta-6</version> |
| 2234 | + <version>${extra-enforcer-rules.version}</version> |
2168 | 2235 | </dependency> |
2169 | 2236 | </dependencies> |
2170 | 2237 | </plugin> |
|
0 commit comments