q3769 / semver-maven-plugin Goto Github PK
View Code? Open in Web Editor NEWA Maven Plugin to update local POM version in compliance with Semantic Versioning 2.0.0
Home Page: https://q3769.github.io/semver-maven-plugin/
License: MIT License
A Maven Plugin to update local POM version in compliance with Semantic Versioning 2.0.0
Home Page: https://q3769.github.io/semver-maven-plugin/
License: MIT License
Originally posted by q3769 October 11, 2022
If you have to release more than once on the same day today, you'd want the subsequent calendar major update to fail after the first of the day. The failure will force you to advance the semver. Silent success on multiple updates resulting in the same version appears to be a bad idea.
Steps to reproduce:
1.0.0-SNAPSHOT
<version>${project.version}</version>
mvn io.github.q3769:semver-maven-plugin:20220509.0.1:increment-minor -Dsnapshot=true -DprocessModule=true
Although the poms are updated properly, the plugin still fails.
However, passing -N option to the maven build seems to fix the problem.
While bumping my parent project for a next iteration it also bumps the version for all submodules, while I only want to modify a single one. It would be convenient if it would be able to either only bump the parent or a set of sub-modules by inclusion/exclusion.
The plugin is wrongfully updating all submodules with the same change while I only desire the parent version to be set to, I think it is not correct to assume that parent & sub module versions always simultaneously change.
Another good addition would be to support the ci/cd friendly properties, like $revision
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.