Added jrelease maven plugin

Change-Id: Ic8cfa212d4dbefd5b6f927b0c38438f9962fa9d9
This commit is contained in:
Mark Derricutt 2023-12-12 10:23:15 +13:00
parent 7380278b2f
commit 2860198481
No known key found for this signature in database
GPG Key ID: 0DFEAD8DBB8FAC31

18
pom.xml
View File

@ -12,7 +12,8 @@
See the License for the specific language governing permissions and
limitations under the License. See accompanying LICENSE file.
-->
<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/maven-v4_0_0.xsd">
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>io.repaint.maven</groupId>
<artifactId>tiles-maven-plugin</artifactId>
@ -198,7 +199,7 @@
<configuration>
<projectsDirectory>src/it</projectsDirectory>
<cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo>
<!--<mavenOpts>-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=8000</mavenOpts>-->
<!--<mavenOpts>-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=8000</mavenOpts>-->
<pomIncludes>
<pomInclude>*/pom.xml</pomInclude>
</pomIncludes>
@ -230,6 +231,15 @@
<build>
<plugins>
<plugin>
<groupId>org.jreleaser</groupId>
<artifactId>jreleaser-maven-plugin</artifactId>
<version>1.9.0</version>
<inherited>false</inherited>
<configuration>
<configFile>jreleaser.yml</configFile>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-scm-plugin</artifactId>
@ -244,7 +254,7 @@
<configuration>
<rules>
<requireMavenVersion>
<version>[3.9.5,)</version>
<version>[3.9.6,)</version>
</requireMavenVersion>
<requireReleaseDeps>
<!-- Don't allow releases with snapshop deps or parents -->
@ -270,7 +280,7 @@
<mavenExecutorId>forked-path</mavenExecutorId>
<arguments>-Drepaint.release=release</arguments>
<preparationGoals>clean enforcer:enforce verify</preparationGoals>
<goals>enforcer:enforce deploy</goals>
<goals>enforcer:enforce deploy jreleaser:release</goals>
<tagBase>release/${project.groupId}/</tagBase>
<pushChanges>false</pushChanges>
<localCheckout>true</localCheckout>