Skip to content

Commit

Permalink
chore: Use maven release plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
hypery2k committed Nov 25, 2024
1 parent 68467ae commit 7705a73
Showing 1 changed file with 8 additions and 24 deletions.
32 changes: 8 additions & 24 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,8 @@
<properties>
<jenkins.version>2.440.3</jenkins.version>
<!-- Maven Plugins -->
<maven-release-plugin.version>2.5.1</maven-release-plugin.version>
<maven-release-plugin.version>3.1.1</maven-release-plugin.version>
<maven-site-plugin.version>3.3</maven-site-plugin.version>
<plugin.gitflow-maven.version>1.21.0</plugin.gitflow-maven.version>
</properties>

<licenses>
Expand Down Expand Up @@ -150,28 +149,6 @@
</dependencies>

<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>com.amashchenko.maven.plugin</groupId>
<artifactId>gitflow-maven-plugin</artifactId>
<version>${plugin.gitflow-maven.version}</version>
<configuration>
<gitFlowConfig>
<productionBranch>main</productionBranch>
<developmentBranch>develop</developmentBranch>
<featureBranchPrefix>feature/</featureBranchPrefix>
<releaseBranchPrefix>release/</releaseBranchPrefix>
<hotfixBranchPrefix>hotfix/</hotfixBranchPrefix>
<supportBranchPrefix>support/</supportBranchPrefix>
<versionTagPrefix>v</versionTagPrefix>
<origin>origin</origin>
</gitFlowConfig>
<keepBranch>false</keepBranch>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand All @@ -180,6 +157,13 @@
<additionalparam>-Xdoclint:none</additionalparam>
</configuration>
</plugin>
<plugin>
<artifactId>maven-release-plugin</artifactId>
<version>${maven-release-plugin.version}</version>
<configuration>
<tagNameFormat>v@{project.version}</tagNameFormat>
</configuration>
</plugin>
</plugins>
</build>

Expand Down

0 comments on commit 7705a73

Please sign in to comment.