|
4 | 4 |
|
5 | 5 | <groupId>ru.curs</groupId> |
6 | 6 | <artifactId>spring-boot-starter-celesta</artifactId> |
7 | | - <version>3.1.0-SNAPSHOT</version> |
| 7 | + <version>3.1.0</version> |
8 | 8 | <name>spring-boot-starter-celesta</name> |
9 | 9 | <description>Celesta integration with Spring Boot</description> |
10 | 10 | <packaging>jar</packaging> |
|
59 | 59 | <maven.site.plugin.version>3.21.0</maven.site.plugin.version> |
60 | 60 | <maven.source.plugin.version>3.3.1</maven.source.plugin.version> |
61 | 61 | <maven.surefire.plugin.version>3.5.6</maven.surefire.plugin.version> |
| 62 | + <maven.gpg.plugin.version>3.2.8</maven.gpg.plugin.version> |
| 63 | + <central.publishing.maven.plugin.version>0.10.0</central.publishing.maven.plugin.version> |
62 | 64 | </properties> |
63 | 65 |
|
64 | | - <distributionManagement> |
65 | | - <repository> |
66 | | - <id>ossrh</id> |
67 | | - <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
68 | | - </repository> |
69 | | - </distributionManagement> |
70 | | - |
71 | 66 | <dependencyManagement> |
72 | 67 | <dependencies> |
73 | 68 | <dependency> |
|
204 | 199 | <attach>true</attach> |
205 | 200 | <maxmemory>1024m</maxmemory> |
206 | 201 | <failOnError>true</failOnError> |
| 202 | + <doclint>none</doclint> |
207 | 203 | </configuration> |
208 | 204 | <executions> |
209 | 205 | <execution> |
|
325 | 321 | <plugins> |
326 | 322 | <plugin> |
327 | 323 | <groupId>org.apache.maven.plugins</groupId> |
328 | | - <artifactId>maven-javadoc-plugin</artifactId> |
| 324 | + <artifactId>maven-source-plugin</artifactId> |
329 | 325 | </plugin> |
330 | 326 | <plugin> |
331 | 327 | <groupId>org.apache.maven.plugins</groupId> |
332 | | - <artifactId>maven-source-plugin</artifactId> |
| 328 | + <artifactId>maven-javadoc-plugin</artifactId> |
333 | 329 | </plugin> |
334 | 330 | <plugin> |
335 | 331 | <groupId>org.apache.maven.plugins</groupId> |
336 | 332 | <artifactId>maven-gpg-plugin</artifactId> |
337 | | - <version>3.2.7</version> |
| 333 | + <version>${maven.gpg.plugin.version}</version> |
338 | 334 | <executions> |
339 | 335 | <execution> |
| 336 | + <id>sign-artifacts</id> |
340 | 337 | <phase>verify</phase> |
341 | 338 | <goals> |
342 | 339 | <goal>sign</goal> |
|
345 | 342 | </executions> |
346 | 343 | </plugin> |
347 | 344 | <plugin> |
348 | | - <groupId>org.sonatype.plugins</groupId> |
349 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
350 | | - <version>1.7.0</version> |
| 345 | + <groupId>org.sonatype.central</groupId> |
| 346 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 347 | + <version>${central.publishing.maven.plugin.version}</version> |
351 | 348 | <extensions>true</extensions> |
352 | 349 | <configuration> |
353 | | - <serverId>ossrh</serverId> |
354 | | - <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
355 | | - <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| 350 | + <publishingServerId>central</publishingServerId> |
| 351 | + <deploymentName>spring-boot-starter-celesta-${project.version}</deploymentName> |
| 352 | + <autoPublish>true</autoPublish> |
| 353 | + <waitUntil>validated</waitUntil> |
356 | 354 | </configuration> |
357 | 355 | </plugin> |
358 | 356 | </plugins> |
|
0 commit comments