Skip to content

Commit e0ebc3a

Browse files
committed
Dropping documentation part because of apache#169
1 parent 6fdeaba commit e0ebc3a

File tree

1 file changed

+0
-39
lines changed

1 file changed

+0
-39
lines changed

maven-release-plugin/src/site/apt/usage.apt.vm

Lines changed: 0 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -152,42 +152,3 @@ mvn -Dusername=your_scm_username release:prepare
152152
...
153153
</project>
154154
+-------------------
155-
156-
* Automatically calculating the released version
157-
158-
The Release Plugin automatically calculates the version that is released and the next development version
159-
(i.e. the next SNAPSHOT). If nothing is configured this is done by the default VersionPolicy which compares
160-
and increments versions for a common java versioning scheme.
161-
162-
It is possible to select a different VersionPolicy by specifying its id.
163-
164-
+-------------------
165-
<project>
166-
...
167-
<build>
168-
<plugins>
169-
<plugin>
170-
<groupId>org.apache.maven.plugins</groupId>
171-
<artifactId>maven-release-plugin</artifactId>
172-
<version>${project.version}</version>
173-
<configuration>
174-
<projectVersionPolicyId>SemVerVersionPolicy</projectVersionPolicyId>
175-
</configuration>
176-
</plugin>
177-
</plugins>
178-
...
179-
</build>
180-
...
181-
</project>
182-
+-------------------
183-
184-
There are 3 VersionPolicies bundled with the Release Plugin:
185-
186-
* default: \
187-
This compares and increments versions for a common java versioning scheme.
188-
189-
* OddEvenVersionPolicy: \
190-
A version policy that proposes even version numbers only for releases and odd numbers for development.
191-
192-
* SemVerVersionPolicy: \
193-
A version policy that enforce SemVer format and upgrades minor element for next development version.

0 commit comments

Comments
 (0)