|
19 | 19 |
|
20 | 20 | <maven-compiler-plugin.version>3.15.0</maven-compiler-plugin.version> |
21 | 21 | <maven-gpg-plugin.version>3.2.8</maven-gpg-plugin.version> |
22 | | - <maven-nexus-staging-plugin.version>1.7.0</maven-nexus-staging-plugin.version> |
23 | 22 | <maven-source-plugin.version>3.4.0</maven-source-plugin.version> |
24 | 23 | <maven-javadoc-plugin.version>3.12.0</maven-javadoc-plugin.version> |
25 | 24 | <maven-jar-plugin.version>3.5.0</maven-jar-plugin.version> |
26 | 25 | <maven-surefire-plugin.version>3.5.4</maven-surefire-plugin.version> |
27 | 26 | <maven-assembly-plugin.version>3.8.0</maven-assembly-plugin.version> |
28 | 27 | <maven-deploy-plugin.version>3.1.4</maven-deploy-plugin.version> |
| 28 | + <maven-central-plugin.version>0.10.0</maven-central-plugin.version> |
29 | 29 |
|
30 | 30 | <slf4j.version>2.0.17</slf4j.version> |
31 | 31 | <log4j.version>2.24.0</log4j.version> |
|
133 | 133 | </activation> |
134 | 134 | <build> |
135 | 135 | <plugins> |
136 | | - <plugin> |
137 | | - <groupId>org.sonatype.plugins</groupId> |
138 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
139 | | - <version>${maven-nexus-staging-plugin.version}</version> |
140 | | - <extensions>true</extensions> |
141 | | - <configuration> |
142 | | - <serverId>ossrh</serverId> |
143 | | - <nexusUrl>https://s01.oss.sonatype.org/</nexusUrl> |
144 | | - <autoReleaseAfterClose>true</autoReleaseAfterClose> |
145 | | - </configuration> |
146 | | - </plugin> |
147 | 136 | <plugin> |
148 | 137 | <groupId>org.apache.maven.plugins</groupId> |
149 | 138 | <artifactId>maven-gpg-plugin</artifactId> |
|
158 | 147 | </execution> |
159 | 148 | </executions> |
160 | 149 | </plugin> |
| 150 | + <plugin> |
| 151 | + <groupId>org.sonatype.central</groupId> |
| 152 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 153 | + <version>${maven-central-plugin.version}</version> |
| 154 | + <extensions>true</extensions> |
| 155 | + <configuration> |
| 156 | + <serverId>central</serverId> |
| 157 | + <autoPublish>true</autoPublish> |
| 158 | + </configuration> |
| 159 | + </plugin> |
161 | 160 | </plugins> |
162 | 161 | </build> |
163 | 162 | </profile> |
|
0 commit comments