Skip to content

Commit 9fc8388

Browse files
committed
add mvn files for dynamic versionning
1 parent 1332e48 commit 9fc8388

2 files changed

Lines changed: 25 additions & 0 deletions

File tree

.mvn/extensions.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<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 https://maven.apache.org/xsd/core-extensions-1.0.0.xsd">
2+
<extension>
3+
<groupId>me.qoomon</groupId>
4+
<artifactId>maven-git-versioning-extension</artifactId>
5+
<version>9.11.0</version>
6+
</extension>
7+
</extensions>
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="https://github.com/qoomon/maven-git-versioning-extension" xsi:schemaLocation="https://github.com/qoomon/maven-git-versioning-extension https://qoomon.github.io/maven-git-versioning-extension/configuration-7.0.0.xsd">
2+
<refs>
3+
<ref type="branch">
4+
<pattern>.+</pattern>
5+
<version>${ref}-SNAPSHOT</version>
6+
</ref>
7+
8+
<ref type="tag">
9+
<pattern><![CDATA[^v?(?<version>\d+\.\d+\.\d+.*)$]]></pattern>
10+
<version>${ref.version}</version>
11+
</ref>
12+
</refs>
13+
14+
<!-- optional fallback configuration in case of no matching ref configuration-->
15+
<rev>
16+
<version>${commit}</version>
17+
</rev>
18+
</configuration>

0 commit comments

Comments
 (0)