File tree Expand file tree Collapse file tree 1 file changed +0
-39
lines changed
maven-release-plugin/src/site/apt Expand file tree Collapse file tree 1 file changed +0
-39
lines changed Original file line number Diff line number Diff line change @@ -152,42 +152,3 @@ mvn -Dusername=your_scm_username release:prepare
152
152
...
153
153
</project>
154
154
+-------------------
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.
You can’t perform that action at this time.
0 commit comments