|
24 | 24 |
|
25 | 25 | <groupId>dev.feast</groupId> |
26 | 26 | <artifactId>feast-parent</artifactId> |
27 | | - <version>0.3.6-SNAPSHOT</version> |
| 27 | + <version>${revision}</version> |
28 | 28 | <packaging>pom</packaging> |
29 | 29 |
|
30 | 30 | <modules> |
|
35 | 35 | </modules> |
36 | 36 |
|
37 | 37 | <properties> |
| 38 | + <revision>0.4.2-SNAPSHOT</revision> |
38 | 39 | <github.url>https://github.com/gojek/feast</github.url> |
39 | 40 |
|
40 | 41 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
|
47 | 48 | <org.apache.beam.version>2.16.0</org.apache.beam.version> |
48 | 49 | <com.google.cloud.version>1.91.0</com.google.cloud.version> |
49 | 50 | <io.prometheus.version>0.8.0</io.prometheus.version> |
50 | | - |
51 | 51 | <byte-buddy.version>1.9.10</byte-buddy.version> |
52 | 52 | <hamcrest.version>1.3</hamcrest.version> |
53 | 53 | <kafka.version>2.3.0</kafka.version> |
|
58 | 58 |
|
59 | 59 | <organization> |
60 | 60 | <name>Gojek</name> |
61 | | - <url>https://www.gojek.io/</url> |
| 61 | + <url>https://www.gojek.com</url> |
62 | 62 | </organization> |
63 | 63 |
|
| 64 | + <developers> |
| 65 | + <developer> |
| 66 | + <name>Feast Authors</name> |
| 67 | + <url>${github.url}</url> |
| 68 | + <organization>Gojek</organization> |
| 69 | + <organizationUrl>https://www.gojek.com</organizationUrl> |
| 70 | + </developer> |
| 71 | + </developers> |
| 72 | + |
64 | 73 | <licenses> |
65 | 74 | <license> |
66 | 75 | <name>Apache License, Version 2.0</name> |
|
81 | 90 | <url>${github.url}/issues</url> |
82 | 91 | </issueManagement> |
83 | 92 |
|
| 93 | + <!-- Release Java library on Sonatype https://central.sonatype.org/pages/apache-maven.html --> |
84 | 94 | <distributionManagement> |
85 | 95 | <snapshotRepository> |
86 | 96 | <id>ossrh</id> |
87 | 97 | <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
88 | 98 | </snapshotRepository> |
| 99 | + <repository> |
| 100 | + <id>ossrh</id> |
| 101 | + <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
| 102 | + </repository> |
89 | 103 | </distributionManagement> |
90 | 104 |
|
91 | 105 | <dependencyManagement> |
|
274 | 288 | </extensions> |
275 | 289 |
|
276 | 290 | <plugins> |
277 | | - <plugin> |
278 | | - <groupId>org.sonatype.plugins</groupId> |
279 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
280 | | - <version>1.6.7</version> |
281 | | - <extensions>true</extensions> |
282 | | - <configuration> |
283 | | - <serverId>ossrh</serverId> |
284 | | - <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
285 | | - <autoReleaseAfterClose>false</autoReleaseAfterClose> |
286 | | - </configuration> |
287 | | - </plugin> |
288 | 291 | <plugin> |
289 | 292 | <groupId>org.apache.maven.plugins</groupId> |
290 | 293 | <artifactId>maven-source-plugin</artifactId> |
291 | | - <version>2.2.1</version> |
| 294 | + <version>3.2.1</version> |
292 | 295 | <executions> |
293 | 296 | <execution> |
294 | 297 | <id>attach-sources</id> |
|
301 | 304 | <plugin> |
302 | 305 | <groupId>org.apache.maven.plugins</groupId> |
303 | 306 | <artifactId>maven-javadoc-plugin</artifactId> |
304 | | - <version>2.9.1</version> |
| 307 | + <version>3.1.1</version> |
305 | 308 | <executions> |
306 | 309 | <execution> |
307 | 310 | <id>attach-javadocs</id> |
|
314 | 317 | <plugin> |
315 | 318 | <groupId>com.diffplug.spotless</groupId> |
316 | 319 | <artifactId>spotless-maven-plugin</artifactId> |
317 | | - <version>1.26.0</version> |
| 320 | + <version>1.26.1</version> |
318 | 321 | <configuration> |
319 | 322 | <java> |
320 | 323 | <licenseHeader> |
|
429 | 432 | <skip>true</skip> |
430 | 433 | </configuration> |
431 | 434 | </plugin> |
| 435 | + <!-- nexus-staging-maven-plugin configures Maven to deploy to OSSRH Nexus Repository Manager --> |
| 436 | + <plugin> |
| 437 | + <groupId>org.sonatype.plugins</groupId> |
| 438 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 439 | + <version>1.6.8</version> |
| 440 | + <extensions>true</extensions> |
| 441 | + <configuration> |
| 442 | + <serverId>ossrh</serverId> |
| 443 | + <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
| 444 | + <!-- autoReleaseAfterClose is true as the release should be automated via continuous integration --> |
| 445 | + <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| 446 | + </configuration> |
| 447 | + </plugin> |
| 448 | + <!-- |
| 449 | + flatten-maven-plugin is used to flatten the generated POM during deployment. This is |
| 450 | + required when releasing a project with a parent dependency where the version |
| 451 | + is using ${revision} variable. This plugin will resolve and flatten the relationship. |
| 452 | + https://www.mojohaus.org/flatten-maven-plugin/index.html |
| 453 | + --> |
| 454 | + <plugin> |
| 455 | + <groupId>org.codehaus.mojo</groupId> |
| 456 | + <artifactId>flatten-maven-plugin</artifactId> |
| 457 | + <version>1.1.0</version> |
| 458 | + <configuration> |
| 459 | + <flattenMode>oss</flattenMode> |
| 460 | + </configuration> |
| 461 | + <executions> |
| 462 | + <execution> |
| 463 | + <id>flatten</id> |
| 464 | + <phase>process-resources</phase> |
| 465 | + <goals> |
| 466 | + <goal>flatten</goal> |
| 467 | + </goals> |
| 468 | + </execution> |
| 469 | + <execution> |
| 470 | + <id>flatten.clean</id> |
| 471 | + <phase>clean</phase> |
| 472 | + <goals> |
| 473 | + <goal>clean</goal> |
| 474 | + </goals> |
| 475 | + </execution> |
| 476 | + </executions> |
| 477 | + </plugin> |
| 478 | + <!-- maven-gpg-plugin is used to sign Maven components. This is required when releasing libraries to Maven Central --> |
| 479 | + <plugin> |
| 480 | + <groupId>org.apache.maven.plugins</groupId> |
| 481 | + <artifactId>maven-gpg-plugin</artifactId> |
| 482 | + <version>1.6</version> |
| 483 | + <executions> |
| 484 | + <execution> |
| 485 | + <id>sign-artifacts</id> |
| 486 | + <phase>verify</phase> |
| 487 | + <goals> |
| 488 | + <goal>sign</goal> |
| 489 | + </goals> |
| 490 | + <!-- |
| 491 | + This configuration helps with performing GPG operations non-interactively. |
| 492 | + For example when releasing via continuous integration. |
| 493 | + It is assumed that the GPG command used is version 2.x. |
| 494 | + --> |
| 495 | + <configuration> |
| 496 | + <gpgArguments> |
| 497 | + <arg>--pinentry-mode</arg> |
| 498 | + <arg>loopback</arg> |
| 499 | + </gpgArguments> |
| 500 | + <!-- Setting to allow retrieval of GPG passphrase from ~/.m2/settings.xml, refer to https://maven.apache.org/plugins/maven-gpg-plugin/usage.html --> |
| 501 | + <!--suppress MavenModelInspection --> |
| 502 | + <passphrase>${gpg.passphrase}</passphrase> |
| 503 | + </configuration> |
| 504 | + </execution> |
| 505 | + </executions> |
| 506 | + </plugin> |
432 | 507 | </plugins> |
433 | 508 |
|
434 | 509 | <pluginManagement> |
|
0 commit comments