gvlasov / git-version-insert-maven-plugin Goto Github PK
View Code? Open in Web Editor NEWMaven plugin that can insert last git revision of a file inside that file
License: MIT License
Maven plugin that can insert last git revision of a file inside that file
License: MIT License
Put plugin description, usage insturctions and examples in README.md
Version 0.1 was developed with an incorrect assumption that to get the version of the file, we should track its parent commits until we find a tag. However, a tagged commit has to be created after all the changes going into that release. Therefore, by default the plugin should trace children instead of parents in the search for the closest tag. The old strategy can probably still be useful sometimes, so classes implementing it should not be removed just yet.
https://www.kernel.org/pub/software/scm/git/docs/git-tag.html
git-tag manual suggests that only annotated tags should be used to mark releases. Therefore, an option to ignore unannotated tags must be added, so they may be used freely, not intervening into versioning process.
Plugin should replace $stub$
with file revision number. It should be covered by tests.
$version-stub$
would be more explicit.
There is an issue with annotation processing that can be illustrated with this project, I should reproduce that issue in a PR in this project and report it to https://github.com/takari/takari-plugin-testing-project
When the first release is published on Maven Central, asnwer questions on stackoverflow that asked about how to programmatically fill out @version
tags.
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.