|
6 | 6 | <artifactId>unit-api</artifactId> |
7 | 7 | <name>Units of Measurement API</name> |
8 | 8 | <packaging>bundle</packaging> |
| 9 | + <version>2.2.1-SNAPSHOT</version> |
9 | 10 | <url>https://unitsofmeasurement.github.io/unit-api/</url> |
10 | 11 | <description>Units of Measurement Standard - This JSR specifies Java |
11 | 12 | packages for modeling and working with measurement values, quantities |
|
25 | 26 | <parent> |
26 | 27 | <groupId>tech.uom</groupId> |
27 | 28 | <artifactId>uom-parent</artifactId> |
28 | | - <version>2.2.3-SNAPSHOT</version> |
| 29 | + <version>2.2.4-SNAPSHOT</version> |
29 | 30 | </parent> |
30 | 31 |
|
31 | 32 | <!-- Issue managements and mailing lists. --> |
|
74 | 75 | <!-- Plugins --> |
75 | 76 | <github.maven.version>0.12</github.maven.version> |
76 | 77 | <github.global.server>github</github.global.server> |
| 78 | + <sonatype.central.snapshotsUrl>https://central.sonatype.com/repository/maven-snapshots/</sonatype.central.snapshotsUrl> |
| 79 | + |
77 | 80 | <!--Exclude the files here --> |
78 | 81 | <sonar.exclusions> |
79 | 82 | src/main/java/javax/measure/BinaryPrefix.java,src/main/java/javax/measure/MetricPrefix.java</sonar.exclusions> |
|
671 | 674 | <groupId>org.apache.maven.plugins</groupId> |
672 | 675 | <artifactId>maven-site-plugin</artifactId> |
673 | 676 | </plugin> |
| 677 | + |
| 678 | + <plugin> |
| 679 | + <groupId>org.sonatype.central</groupId> |
| 680 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 681 | + <extensions>true</extensions> |
| 682 | + <configuration> |
| 683 | + <publishingServerId>central</publishingServerId> |
| 684 | + <centralSnapshotsUrl>${sonatype.central.snapshotsUrl}</centralSnapshotsUrl> |
| 685 | + <autoPublish>true</autoPublish> |
| 686 | + <waitUntil>published</waitUntil> |
| 687 | + </configuration> |
| 688 | + </plugin> |
674 | 689 | </plugins> |
675 | 690 | </build> |
676 | 691 |
|
|
744 | 759 |
|
745 | 760 | <!-- Deployment to public servers --> |
746 | 761 | <distributionManagement> |
| 762 | + <!-- |
747 | 763 | <repository> |
748 | 764 | <id>ossrh</id> |
749 | 765 | <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
|
752 | 768 | <id>ossrh</id> |
753 | 769 | <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
754 | 770 | </snapshotRepository> |
| 771 | + --> |
755 | 772 | <site> |
756 | 773 | <id>JSR-385</id> |
757 | 774 | <name>JSR-385 Maven reports</name> |
|
787 | 804 | <snapshots> |
788 | 805 | <enabled>true</enabled> |
789 | 806 | </snapshots> |
790 | | - <id>ossrh-snapshot</id> |
791 | | - <name>OSSRH Snapshots</name> |
792 | | - <url>https://oss.sonatype.org/content/repositories/snapshots/</url> |
793 | | - </repository> |
| 807 | + <id>central-snapshot</id> |
| 808 | + <name>Central Snapshots</name> |
| 809 | + <url>${sonatype.central.snapshotsUrl}</url> |
| 810 | + </repository> |
794 | 811 | </repositories> |
795 | 812 |
|
796 | 813 | <profiles> |
|
1078 | 1095 | </properties> |
1079 | 1096 | </profile> |
1080 | 1097 | </profiles> |
1081 | | - <version>2.2.1-SNAPSHOT</version> |
1082 | 1098 | </project> |
0 commit comments