Put both files into the .mvn/ directory.
Created
August 21, 2018 12:09
-
-
Save michaelamaura/5ba2d11ea99e038b048aeb3c83d547ca to your computer and use it in GitHub Desktop.
jgitver in maven with length limitiation on branch name
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<extensions xmlns="http://maven.apache.org/EXTENSIONS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/EXTENSIONS/1.0.0 http://maven.apache.org/xsd/core-extensions-1.0.0.xsd"> | |
<extension> | |
<groupId>fr.brouillard.oss</groupId> | |
<artifactId>jgitver-maven-plugin</artifactId> | |
<version>1.3.0</version> | |
</extension> | |
</extensions> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<configuration xmlns="http://jgitver.github.io/maven/configuration/1.0.0-beta" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://jgitver.github.io/maven/configuration/1.0.0-beta https://jgitver.github.io/maven/configuration/jgitver-configuration-v1_0_0-beta.xsd "> | |
<mavenLike>true</mavenLike> | |
<autoIncrementPatch>true</autoIncrementPatch> | |
<useCommitDistance>false</useCommitDistance> | |
<useDirty>false</useDirty> | |
<useGitCommitId>true</useGitCommitId> | |
<nonQualifierBranches>master</nonQualifierBranches> | |
<useDefaultBranchingPolicy>true</useDefaultBranchingPolicy> | |
<branchPolicies> | |
<branchPolicy> | |
<pattern>(.{0,60}).*</pattern> | |
<transformations> | |
<transformation>REPLACE_UNEXPECTED_CHARS_UNDERSCORE</transformation> | |
<transformation>LOWERCASE_EN</transformation> | |
</transformations> | |
</branchPolicy> | |
</branchPolicies> | |
</configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment