Skip to content

Commit

Permalink
Configured Maven release plugin.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jardo-51 committed May 26, 2024
1 parent 3e9c74a commit eb9e8e6
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,14 @@

<properties>
<java.version>17</java.version>
<maven.build.timestamp.format>yyyy-MM-dd_HH-mm</maven.build.timestamp.format>
</properties>

<scm>
<developerConnection>scm:git:file://${project.basedir}/../</developerConnection>
<tag>HEAD</tag>
</scm>

<dependencies>

<dependency>
Expand Down Expand Up @@ -97,6 +103,17 @@
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>3.0.1</version>
<configuration>
<autoResolveSnapshots>all</autoResolveSnapshots>
<projectVersionPolicyId>SemVerVersionPolicy</projectVersionPolicyId>
<tagNameFormat>${maven.build.timestamp}_v@{project.version}</tagNameFormat>
</configuration>
</plugin>

</plugins>
</build>

Expand Down

0 comments on commit eb9e8e6

Please sign in to comment.