|
174 | 174 | <artifactId>maven-surefire-plugin</artifactId> |
175 | 175 | <version>2.22.2</version> |
176 | 176 | </plugin> |
177 | | - |
| 177 | + |
| 178 | + <plugin> |
| 179 | + <groupId>org.sonatype.plugins</groupId> |
| 180 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 181 | + <version>1.7.0</version> |
| 182 | + <extensions>true</extensions> |
| 183 | + <configuration> |
| 184 | + <serverId>ossrh</serverId> |
| 185 | + <nexusUrl>https://s01.oss.sonatype.org/</nexusUrl> |
| 186 | + <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| 187 | + </configuration> |
| 188 | + </plugin> |
178 | 189 | </plugins> |
179 | 190 | </build> |
180 | 191 | <profiles> |
|
186 | 197 | <version.nexus-staging-maven-plugin>1.7.0</version.nexus-staging-maven-plugin> |
187 | 198 | </properties> |
188 | 199 | <build> |
189 | | - <pluginManagement> |
190 | | - <plugins> |
191 | | - <plugin> |
192 | | - <artifactId>maven-release-plugin</artifactId> |
193 | | - <version>${version.maven-release-plugin}</version> |
194 | | - <configuration> |
195 | | - <tagNameFormat>@{project.version}</tagNameFormat> |
196 | | - </configuration> |
197 | | - </plugin> |
198 | | - <plugin> |
199 | | - <artifactId>maven-gpg-plugin</artifactId> |
200 | | - <version>${version.maven-gpg-plugin}</version> |
201 | | - <executions> |
202 | | - <execution> |
203 | | - <id>sign-artifacts</id> |
204 | | - <phase>verify</phase> |
205 | | - <goals> |
206 | | - <goal>sign</goal> |
207 | | - </goals> |
208 | | - <configuration> |
209 | | - <gpgArguments> |
210 | | - <arg>--pinentry-mode</arg> |
211 | | - <arg>loopback</arg> |
212 | | - </gpgArguments> |
213 | | - </configuration> |
214 | | - </execution> |
215 | | - </executions> |
216 | | - </plugin> |
217 | | - |
218 | | - <plugin> |
219 | | - <groupId>org.sonatype.central</groupId> |
220 | | - <artifactId>central-publishing-maven-plugin</artifactId> |
221 | | - <version>0.3.0</version> |
222 | | - <extensions>true</extensions> |
223 | | - <configuration> |
224 | | - <publishingServerId>central</publishingServerId> |
225 | | - <tokenAuth>true</tokenAuth> |
226 | | - </configuration> |
227 | | - </plugin> |
228 | | - </plugins> |
229 | | - </pluginManagement> |
230 | 200 | <plugins> |
231 | 201 | <plugin> |
232 | 202 | <artifactId>maven-gpg-plugin</artifactId> |
233 | | - </plugin> |
234 | | - <plugin> |
235 | | - <groupId>org.sonatype.plugins</groupId> |
236 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
237 | | - <version>1.7.0</version> |
238 | | - <extensions>true</extensions> |
239 | | - <configuration> |
240 | | - <serverId>ossrh</serverId> |
241 | | - <nexusUrl>https://s01.oss.sonatype.org/</nexusUrl> |
242 | | - <autoReleaseAfterClose>true</autoReleaseAfterClose> |
243 | | - </configuration> |
| 203 | + <version>${version.maven-gpg-plugin}</version> |
| 204 | + <executions> |
| 205 | + <execution> |
| 206 | + <id>sign-artifacts</id> |
| 207 | + <phase>verify</phase> |
| 208 | + <goals> |
| 209 | + <goal>sign</goal> |
| 210 | + </goals> |
| 211 | + <configuration> |
| 212 | + <gpgArguments> |
| 213 | + <arg>--pinentry-mode</arg> |
| 214 | + <arg>loopback</arg> |
| 215 | + </gpgArguments> |
| 216 | + </configuration> |
| 217 | + </execution> |
| 218 | + </executions> |
244 | 219 | </plugin> |
245 | 220 | </plugins> |
246 | 221 | </build> |
|
0 commit comments