|
69 | 69 | </dependencies> |
70 | 70 |
|
71 | 71 | <!-- distributionManagement --> |
72 | | - <distributionManagement> |
| 72 | + <!--<distributionManagement> |
73 | 73 | <snapshotRepository> |
74 | 74 | <id>ossrh</id> |
75 | 75 | <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
|
78 | 78 | <id>ossrh</id> |
79 | 79 | <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
80 | 80 | </repository> |
81 | | -</distributionManagement> |
| 81 | +</distributionManagement>--> |
82 | 82 |
|
83 | 83 | <build> |
84 | 84 | <plugins> |
|
107 | 107 | <artifactId>maven-release-plugin</artifactId> |
108 | 108 | <version>2.4.1</version> |
109 | 109 | </plugin> |
| 110 | + <!--<plugin> |
| 111 | + <groupId>org.sonatype.plugins</groupId> |
| 112 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 113 | + <version>1.6.6</version> |
| 114 | + <extensions>true</extensions> |
| 115 | + <configuration> |
| 116 | + <serverId>ossrh</serverId> |
| 117 | + <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
| 118 | + <autoReleaseAfterClose>false</autoReleaseAfterClose> |
| 119 | + </configuration> |
| 120 | + </plugin>--> |
110 | 121 | <plugin> |
111 | | - <groupId>org.sonatype.plugins</groupId> |
112 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
113 | | - <version>1.6.6</version> |
| 122 | + <groupId>org.sonatype.central</groupId> |
| 123 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 124 | + <version>0.9.0</version> |
114 | 125 | <extensions>true</extensions> |
115 | 126 | <configuration> |
116 | | - <serverId>ossrh</serverId> |
117 | | - <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
118 | | - <autoReleaseAfterClose>false</autoReleaseAfterClose> |
| 127 | + <publishingServerId>central</publishingServerId> |
119 | 128 | </configuration> |
120 | 129 | </plugin> |
121 | 130 | </plugins> |
122 | | -</build> |
| 131 | + </build> |
123 | 132 |
|
124 | 133 | <profiles> |
125 | 134 | <profile> |
|
0 commit comments