File tree Expand file tree Collapse file tree
src/main/java/q3769/maven/plugins/semver/mojos Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ _Notes:_
2121
2222## Prerequisite
2323
24- Maven 3.5.4 or better
24+ Maven 3.9.0 or better
2525
2626## Get it...
2727
Original file line number Diff line number Diff line change 3030
3131 <groupId >io.github.q3769</groupId >
3232 <artifactId >semver-maven-plugin</artifactId >
33- <version >20240116.0.202507151828 </version >
33+ <version >20240116.0.202507152048 </version >
3434 <packaging >maven-plugin</packaging >
3535
3636 <name >semver-maven-plugin</name >
4848 </licenses >
4949
5050 <prerequisites >
51- <maven >3.5.4 </maven >
51+ <maven >3.9.0 </maven >
5252 </prerequisites >
5353
5454 <properties >
5555 <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
56- <maven .version>3.9.9 </maven .version>
57- <maven .compiler.release>11 </maven .compiler.release>
56+ <maven .version>3.9.0 </maven .version>
57+ <maven .compiler.release>8 </maven .compiler.release>
5858 </properties >
5959
6060 <dependencyManagement >
250250 <plugin >
251251 <groupId >io.github.q3769</groupId >
252252 <artifactId >semver-maven-plugin</artifactId >
253- <version >20240116.0.202507151828 </version >
253+ <version >20240116.0.202507152048 </version >
254254 </plugin >
255255 <plugin >
256256 <groupId >org.apache.maven.plugins</groupId >
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ public class FinalizeCurrent extends Updater {
4444 */
4545 @ Override
4646 protected Version update (@ NonNull Version original ) {
47- if (original .preReleaseVersion ().isEmpty () && original .buildMetadata ().isEmpty ()) {
47+ if (! original .preReleaseVersion ().isPresent () && ! original .buildMetadata ().isPresent ()) {
4848 logInfo ("Current version: %s contains only normal version numbers, so no change." , original );
4949 return original ;
5050 }
Original file line number Diff line number Diff line change @@ -42,10 +42,10 @@ public class UpdateBuildMetadata extends LabelUpdater {
4242 /**
4343 * @param version to increment
4444 * @return incremented semver
45- * @deprecated as build metadata label is not really part of precedence comparison, thus doesn't
46- * really make sense to be incremented/updated
45+ * @deprecated since "20240115.0.0" as build metadata label is not really part of precedence
46+ * comparison, thus doesn't really make sense to be incremented/updated
4747 */
48- @ Deprecated ( since = "20240115.0.0" )
48+ @ Deprecated
4949 @ Override
5050 protected Version incrementLabel (@ NonNull Version version ) throws MojoFailureException {
5151 try {
You can’t perform that action at this time.
0 commit comments