|
37 | 37 | </profile> |
38 | 38 | <profile> |
39 | 39 | <id>release</id> |
40 | | - <distributionManagement> |
41 | | - <snapshotRepository> |
42 | | - <id>ossrh</id> |
43 | | - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
44 | | - </snapshotRepository> |
45 | | - <repository> |
46 | | - <id>ossrh</id> |
47 | | - <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
48 | | - </repository> |
49 | | - </distributionManagement> |
50 | 40 | <build> |
51 | 41 | <plugins> |
52 | 42 | <plugin> |
|
87 | 77 | <artifactId>maven-release-plugin</artifactId> |
88 | 78 | <version>${maven.release.plugin.version}</version> |
89 | 79 | <configuration> |
| 80 | + <pushChanges>false</pushChanges> |
90 | 81 | <autoVersionSubmodules>true</autoVersionSubmodules> |
91 | 82 | <scmReleaseCommitComment>[no ci] chore: Releasing @{releaseLabel}</scmReleaseCommitComment> |
92 | 83 | <scmDevelopmentCommitComment>[no ci] chore: Preparing for next development iteration</scmDevelopmentCommitComment> |
93 | 84 | <tagNameFormat>@{project.version}</tagNameFormat> |
94 | 85 | </configuration> |
95 | 86 | </plugin> |
96 | 87 | <plugin> |
97 | | - <groupId>org.sonatype.plugins</groupId> |
98 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
99 | | - <version>${nexus.staging.release.plugin.version}</version> |
| 88 | + <groupId>org.sonatype.central</groupId> |
| 89 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 90 | + <version>${central.publishing.maven.plugin.version}</version> |
| 91 | + <extensions>true</extensions> |
100 | 92 | <configuration> |
101 | | - <serverId>ossrh</serverId> |
102 | | - <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
103 | | - <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| 93 | + <publishingServerId>central.repository.publishing</publishingServerId> |
| 94 | + <deploymentName>utam-java deployment</deploymentName> |
| 95 | + <autoPublish>true</autoPublish> |
| 96 | + <waitUntil>published</waitUntil> |
104 | 97 | </configuration> |
105 | 98 | </plugin> |
106 | 99 | </plugins> |
|
130 | 123 | <maven.source.plugin.version>3.3.0</maven.source.plugin.version> |
131 | 124 | <maven.surefire.plugin.version>3.2.2</maven.surefire.plugin.version> |
132 | 125 | <maven.exec.plugin.version>3.1.1</maven.exec.plugin.version> |
133 | | - <nexus.staging.release.plugin.version>1.7.0</nexus.staging.release.plugin.version> |
| 126 | + <central.publishing.maven.plugin.version>0.7.0</central.publishing.maven.plugin.version> |
134 | 127 |
|
135 | 128 | <selenium.version>4.21.0</selenium.version> |
136 | 129 | <appium.version>9.2.2</appium.version> |
|
0 commit comments