aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulien Eluard <[email protected]>2010-11-27 23:43:34 +0100
committerJulien Eluard <[email protected]>2010-11-27 23:43:34 +0100
commit1f2abbbd3e7920ce53675ab4aa538cf975c1f142 (patch)
treea1650dcc4eecb13fa5a478897b915b5bfe60c63d
parent0274e6adce3c306e3a997958f0bc4551714c971a (diff)
Provide value for 'tag' only during release:prepare.
-rw-r--r--pom.xml12
1 files changed, 10 insertions, 2 deletions
diff --git a/pom.xml b/pom.xml
index b42948a..e3da8f4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -166,10 +166,18 @@
<configuration>
<mavenExecutorId>forked-path</mavenExecutorId>
<preparationGoals>clean install</preparationGoals>
- <tag>v${project.version}</tag>
</configuration>
+ <executions>
+ <execution>
+ <goals>
+ <goal>prepare</goal>
+ </goals>
+ <configuration>
+ <tag>v${project.version}</tag>
+ </configuration>
+ </execution>
+ </executions>
</plugin>
-
</plugins>
</build>