|
57 | 57 | <slf4j.version>1.7.36</slf4j.version> |
58 | 58 |
|
59 | 59 | <jacoco-maven-plugin.version>0.8.13</jacoco-maven-plugin.version> |
60 | | - <nexus-staging-maven-plugin.version>1.6.13</nexus-staging-maven-plugin.version> |
61 | 60 | <maven-exec-plugin.version>1.6.0</maven-exec-plugin.version> |
62 | 61 | <maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version> |
63 | 62 | <maven-enforcer-plugin.version>3.6.1</maven-enforcer-plugin.version> |
|
77 | 76 | <dependency-check-maven.version>5.3.2</dependency-check-maven.version> |
78 | 77 | <maven-scm-provider-gitexe.version>1.13.0</maven-scm-provider-gitexe.version> |
79 | 78 | <maven-scm-api.version>1.13.0</maven-scm-api.version> |
80 | | - <gitflow-maven-plugin.version>1.21.0</gitflow-maven-plugin.version> |
81 | 79 |
|
82 | 80 | <!-- empty argLine property, the value is set up by Jacoco during unit tests execution --> |
83 | 81 | <argLine /> |
|
277 | 275 | <version>${dependency-check-maven.version}</version> |
278 | 276 | </plugin> |
279 | 277 |
|
280 | | - <plugin> |
281 | | - <groupId>com.amashchenko.maven.plugin</groupId> |
282 | | - <artifactId>gitflow-maven-plugin</artifactId> |
283 | | - <version>${gitflow-maven-plugin.version}</version> |
284 | | - <configuration> |
285 | | - <allowSnapshots>false</allowSnapshots> |
286 | | - <verbose>true</verbose> |
287 | | - <commitMessagePrefix>[ci skip]</commitMessagePrefix> |
288 | | - <gitFlowConfig> |
289 | | - <developmentBranch>master</developmentBranch> |
290 | | - </gitFlowConfig> |
291 | | - </configuration> |
292 | | - </plugin> |
293 | | - |
294 | | - <plugin> |
295 | | - <groupId>org.sonatype.plugins</groupId> |
296 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
297 | | - <version>${nexus-staging-maven-plugin.version}</version> |
298 | | - <extensions>true</extensions> |
299 | | - <configuration> |
300 | | - <serverId>ossrh</serverId> |
301 | | - <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
302 | | - <autoReleaseAfterClose>true</autoReleaseAfterClose> |
303 | | - </configuration> |
304 | | - </plugin> |
305 | | - |
306 | 278 | <plugin> |
307 | 279 | <groupId>org.apache.maven.plugins</groupId> |
308 | 280 | <artifactId>maven-source-plugin</artifactId> |
|
338 | 310 |
|
339 | 311 | <profiles> |
340 | 312 | <profile> |
341 | | - <id>release</id> |
342 | | - <activation> |
343 | | - <activeByDefault>false</activeByDefault> |
344 | | - </activation> |
345 | | - <distributionManagement> |
346 | | - <repository> |
347 | | - <id>ossrh</id> |
348 | | - <name>Sonatype release</name> |
349 | | - <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
350 | | - </repository> |
351 | | - </distributionManagement> |
| 313 | + <id>publication</id> |
| 314 | + <properties> |
| 315 | + <altDeploymentRepository>local::default::file:./target/staging-deploy</altDeploymentRepository> |
| 316 | + </properties> |
352 | 317 | <build> |
| 318 | + <defaultGoal>deploy</defaultGoal> |
353 | 319 | <plugins> |
354 | 320 | <plugin> |
355 | 321 | <groupId>org.apache.maven.plugins</groupId> |
356 | | - <artifactId>maven-gpg-plugin</artifactId> |
357 | | - <version>${maven-gpg-plugin.version}</version> |
| 322 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 323 | + <executions> |
| 324 | + <execution> |
| 325 | + <id>attach-javadocs</id> |
| 326 | + <goals> |
| 327 | + <goal>jar</goal> |
| 328 | + </goals> |
| 329 | + <configuration> |
| 330 | + <attach>true</attach> |
| 331 | + </configuration> |
| 332 | + </execution> |
| 333 | + </executions> |
| 334 | + </plugin> |
| 335 | + <plugin> |
| 336 | + <groupId>org.apache.maven.plugins</groupId> |
| 337 | + <artifactId>maven-source-plugin</artifactId> |
358 | 338 | <executions> |
359 | 339 | <execution> |
360 | | - <id>sign-artifacts</id> |
| 340 | + <id>attach-sources</id> |
361 | 341 | <goals> |
362 | | - <goal>sign</goal> |
| 342 | + <goal>jar</goal> |
363 | 343 | </goals> |
364 | | - <phase>verify</phase> |
365 | 344 | <configuration> |
366 | | - <passphrase>${env.SONATYPE_GPG_KEY_PASSWORD}</passphrase> |
367 | | - <gpgArguments> |
368 | | - <arg>--pinentry-mode</arg> |
369 | | - <arg>loopback</arg> |
370 | | - </gpgArguments> |
| 345 | + <attach>true</attach> |
371 | 346 | </configuration> |
372 | 347 | </execution> |
373 | 348 | </executions> |
|
0 commit comments