|
2 | 2 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
3 | 3 |
|
4 | 4 | <modelVersion>4.0.0</modelVersion> |
5 | | - |
6 | 5 | <groupId>com.labs64.netlicensing</groupId> |
7 | 6 | <artifactId>netlicensing-client-parent</artifactId> |
8 | | - <version>2.10.0-SNAPSHOT</version> |
| 7 | + <version>${revision}</version> |
9 | 8 | <packaging>pom</packaging> |
10 | 9 | <name>Labs64 :: NetLicensing :: Client :: Parent</name> |
11 | 10 | <url>https://netlicensing.io</url> |
|
64 | 63 | </modules> |
65 | 64 |
|
66 | 65 | <properties> |
| 66 | + <revision>2.10.0-SNAPSHOT</revision> |
67 | 67 | <project.title>${project.name}</project.title> |
68 | 68 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
69 | 69 |
|
|
90 | 90 | <!-- plugin.version>0.0.0</plugin.version --> |
91 | 91 | <maven-enforcer-plugin.version>3.0.0</maven-enforcer-plugin.version> |
92 | 92 | <maven-compiler-plugin.version>3.10.1</maven-compiler-plugin.version> |
93 | | - <maven-release-plugin.version>2.5.3</maven-release-plugin.version> |
94 | | - <nexus-staging-maven-plugin.version>1.6.12</nexus-staging-maven-plugin.version> |
| 93 | + <nexus-staging-maven-plugin.version>1.6.13</nexus-staging-maven-plugin.version> |
95 | 94 | <maven-source-plugin.version>3.2.1</maven-source-plugin.version> |
96 | 95 | <maven-site-plugin.version>3.11.0</maven-site-plugin.version> |
97 | 96 | <maven-javadoc-plugin.version>3.3.2</maven-javadoc-plugin.version> |
|
112 | 111 | <maven-checkstyle-plugin.version>3.1.2</maven-checkstyle-plugin.version> |
113 | 112 | <spotbugs-maven-plugin.version>4.6.0.0</spotbugs-maven-plugin.version> |
114 | 113 | <maven-pmd-plugin.version>3.16.0</maven-pmd-plugin.version> |
| 114 | + <flatten-maven-plugin.version>1.2.7</flatten-maven-plugin.version> |
| 115 | + <maven-scm-plugin.version>1.13.0</maven-scm-plugin.version> |
115 | 116 | </properties> |
116 | 117 |
|
117 | 118 | <build> |
|
188 | 189 | <target>${java.version}</target> |
189 | 190 | </configuration> |
190 | 191 | </plugin> |
191 | | - <plugin> |
192 | | - <groupId>org.apache.maven.plugins</groupId> |
193 | | - <artifactId>maven-release-plugin</artifactId> |
194 | | - <version>${maven-release-plugin.version}</version> |
195 | | - <configuration> |
196 | | - <useReleaseProfile>false</useReleaseProfile> |
197 | | - <releaseProfiles>release</releaseProfiles> |
198 | | - <goals>deploy</goals> |
199 | | - </configuration> |
200 | | - </plugin> |
201 | 192 | <plugin> |
202 | 193 | <groupId>org.sonatype.plugins</groupId> |
203 | 194 | <artifactId>nexus-staging-maven-plugin</artifactId> |
204 | 195 | <version>${nexus-staging-maven-plugin.version}</version> |
205 | | - <extensions>true</extensions> |
206 | | - <configuration> |
207 | | - <serverId>ossrh</serverId> |
208 | | - <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
209 | | - <autoReleaseAfterClose>true</autoReleaseAfterClose> |
210 | | - </configuration> |
211 | 196 | </plugin> |
212 | 197 | <plugin> |
213 | 198 | <groupId>org.apache.maven.plugins</groupId> |
|
379 | 364 | </dependency> |
380 | 365 | </dependencies> |
381 | 366 | </plugin> |
| 367 | + <plugin> |
| 368 | + <groupId>org.codehaus.mojo</groupId> |
| 369 | + <artifactId>flatten-maven-plugin</artifactId> |
| 370 | + <version>${flatten-maven-plugin.version}</version> |
| 371 | + </plugin> |
| 372 | + <plugin> |
| 373 | + <artifactId>maven-scm-plugin</artifactId> |
| 374 | + <version>${maven-scm-plugin.version}</version> |
| 375 | + </plugin> |
382 | 376 | </plugins> |
383 | 377 | </pluginManagement> |
384 | 378 |
|
|
391 | 385 | <groupId>org.apache.maven.plugins</groupId> |
392 | 386 | <artifactId>maven-site-plugin</artifactId> |
393 | 387 | </plugin> |
| 388 | + <plugin> |
| 389 | + <groupId>org.codehaus.mojo</groupId> |
| 390 | + <artifactId>flatten-maven-plugin</artifactId> |
| 391 | + <executions> |
| 392 | + <execution> |
| 393 | + <id>flatten</id> |
| 394 | + <phase>process-resources</phase> |
| 395 | + <goals> |
| 396 | + <goal>flatten</goal> |
| 397 | + </goals> |
| 398 | + </execution> |
| 399 | + <execution> |
| 400 | + <id>flatten.clean</id> |
| 401 | + <phase>clean</phase> |
| 402 | + <goals> |
| 403 | + <goal>clean</goal> |
| 404 | + </goals> |
| 405 | + </execution> |
| 406 | + </executions> |
| 407 | + <configuration> |
| 408 | + <updatePomFile>true</updatePomFile> |
| 409 | + <flattenMode>ossrh</flattenMode> |
| 410 | + <outputDirectory>${project.build.directory}</outputDirectory> |
| 411 | + </configuration> |
| 412 | + </plugin> |
| 413 | + <plugin> |
| 414 | + <artifactId>maven-scm-plugin</artifactId> |
| 415 | + <configuration> |
| 416 | + <tag>${project.version}</tag> |
| 417 | + </configuration> |
| 418 | + </plugin> |
394 | 419 | </plugins> |
395 | 420 | </build> |
396 | 421 |
|
|
519 | 544 | <artifactId>maven-javadoc-plugin</artifactId> |
520 | 545 | </plugin> |
521 | 546 | <plugin> |
522 | | - <groupId>org.sonatype.plugins</groupId> |
523 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
524 | | - </plugin> |
525 | | - <plugin> |
526 | | - <groupId>org.apache.maven.plugins</groupId> |
527 | 547 | <artifactId>maven-gpg-plugin</artifactId> |
528 | 548 | <executions> |
529 | 549 | <execution> |
|
542 | 562 | </execution> |
543 | 563 | </executions> |
544 | 564 | </plugin> |
| 565 | + <plugin> |
| 566 | + <groupId>org.sonatype.plugins</groupId> |
| 567 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 568 | + <extensions>true</extensions> |
| 569 | + <configuration> |
| 570 | + <serverId>ossrh</serverId> |
| 571 | + <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
| 572 | + <autoReleaseAfterClose>false</autoReleaseAfterClose> |
| 573 | + </configuration> |
| 574 | + </plugin> |
545 | 575 | </plugins> |
546 | 576 | </build> |
547 | 577 | <distributionManagement> |
|
0 commit comments