|
193 | 193 | <plugin> |
194 | 194 | <groupId>org.sonatype.central</groupId> |
195 | 195 | <artifactId>central-publishing-maven-plugin</artifactId> |
196 | | - <version>0.8.0</version> |
197 | | - <extensions>true</extensions> |
198 | | - <configuration> |
199 | | - <publishingServerId>central</publishingServerId> |
200 | | - <tokenAuth>true</tokenAuth> |
201 | | - <autoPublish>true</autoPublish> |
202 | | - <waitUntil>published</waitUntil> |
203 | | - </configuration> |
204 | 196 | </plugin> |
205 | 197 | <plugin> |
206 | 198 | <groupId>org.apache.maven.plugins</groupId> |
207 | 199 | <artifactId>maven-gpg-plugin</artifactId> |
208 | | - <version>3.1.0</version> |
209 | | - <executions> |
210 | | - <execution> |
211 | | - <id>sign-artifacts</id> |
212 | | - <phase>verify</phase> |
213 | | - <goals> |
214 | | - <goal>sign</goal> |
215 | | - </goals> |
216 | | - <configuration> |
217 | | - <!-- This is required to make sure the plugin does not stop asking for --> |
218 | | - <!-- user input on the passphrase --> |
219 | | - <gpgArguments> |
220 | | - <arg>--pinentry-mode</arg> |
221 | | - <arg>loopback</arg> |
222 | | - </gpgArguments> |
223 | | - </configuration> |
224 | | - </execution> |
225 | | - </executions> |
| 200 | + </plugin> |
| 201 | + <plugin> |
| 202 | + <artifactId>maven-release-plugin</artifactId> |
| 203 | + </plugin> |
| 204 | + </plugins> |
| 205 | + </build> |
| 206 | + </profile> |
| 207 | + <profile> |
| 208 | + <id>snapshot</id> |
| 209 | + <build> |
| 210 | + <plugins> |
| 211 | + <plugin> |
| 212 | + <groupId>org.sonatype.central</groupId> |
| 213 | + <artifactId>central-publishing-maven-plugin</artifactId> |
226 | 214 | </plugin> |
227 | 215 | </plugins> |
228 | 216 | </build> |
|
232 | 220 | <build> |
233 | 221 | <pluginManagement> |
234 | 222 | <plugins> |
| 223 | + <plugin> |
| 224 | + <groupId>org.sonatype.central</groupId> |
| 225 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 226 | + <version>0.8.0</version> |
| 227 | + <extensions>true</extensions> |
| 228 | + <configuration> |
| 229 | + <publishingServerId>central</publishingServerId> |
| 230 | + <autoPublish>true</autoPublish> |
| 231 | + <waitUntil>published</waitUntil> |
| 232 | + </configuration> |
| 233 | + </plugin> |
| 234 | + |
| 235 | + <plugin> |
| 236 | + <groupId>org.apache.maven.plugins</groupId> |
| 237 | + <artifactId>maven-gpg-plugin</artifactId> |
| 238 | + <version>3.1.0</version> |
| 239 | + <executions> |
| 240 | + <execution> |
| 241 | + <id>sign-artifacts</id> |
| 242 | + <phase>verify</phase> |
| 243 | + <goals> |
| 244 | + <goal>sign</goal> |
| 245 | + </goals> |
| 246 | + <configuration> |
| 247 | + <!-- This is required to make sure the plugin does not stop asking for --> |
| 248 | + <!-- user input on the passphrase --> |
| 249 | + <gpgArguments> |
| 250 | + <arg>--pinentry-mode</arg> |
| 251 | + <arg>loopback</arg> |
| 252 | + </gpgArguments> |
| 253 | + </configuration> |
| 254 | + </execution> |
| 255 | + </executions> |
| 256 | + </plugin> |
| 257 | + |
| 258 | + <plugin> |
| 259 | + <artifactId>maven-release-plugin</artifactId> |
| 260 | + <version>3.0.1</version> |
| 261 | + <configuration> |
| 262 | + <checkModificationExcludes> |
| 263 | + <checkModificationExclude>mvnw</checkModificationExclude> <!-- skip wrapper --> |
| 264 | + </checkModificationExcludes> |
| 265 | + </configuration> |
| 266 | + </plugin> |
| 267 | + |
235 | 268 | <plugin> |
236 | 269 | <artifactId>maven-compiler-plugin</artifactId> |
237 | 270 | <version>3.12.1</version> |
|
286 | 319 | </executions> |
287 | 320 | </plugin> |
288 | 321 |
|
289 | | - <plugin> |
290 | | - <artifactId>maven-release-plugin</artifactId> |
291 | | - <version>3.0.1</version> |
292 | | - <configuration> |
293 | | - <checkModificationExcludes> |
294 | | - <checkModificationExclude>mvnw</checkModificationExclude> <!-- skip wrapper --> |
295 | | - </checkModificationExcludes> |
296 | | - </configuration> |
297 | | - </plugin> |
298 | | - |
299 | 322 | <plugin> |
300 | 323 | <groupId>org.jacoco</groupId> |
301 | 324 | <artifactId>jacoco-maven-plugin</artifactId> |
|
0 commit comments