Skip to content

Commit 2a335cb

Browse files
committed
Add release versioning support to Maven config.
1 parent 4196312 commit 2a335cb

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,6 @@
99

1010
# Client Secrets
1111
/src/main/resources/client_secret*.json
12+
13+
# Maven
14+
pom.xml.versionsBackup

pom.xml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,11 @@
2222

2323
<groupId>to.lean.tools</groupId>
2424
<artifactId>mail-importer</artifactId>
25-
<version>1.0-SNAPSHOT</version>
25+
<version>0.0.0-SNAPSHOT</version>
26+
27+
<scm>
28+
<connection>scm:git:git@github.com:iflan/mail-importer.git</connection>
29+
</scm>
2630

2731
<dependencies>
2832
<dependency>
@@ -143,6 +147,13 @@
143147
</execution>
144148
</executions>
145149
</plugin>
150+
<plugin>
151+
<artifactId>maven-scm-plugin</artifactId>
152+
<version>1.9.4</version>
153+
<configuration>
154+
<tag>${project.artifactId}-${project.version}</tag>
155+
</configuration>
156+
</plugin>
146157
</plugins>
147158
</build>
148159
</project>

0 commit comments

Comments
 (0)