Uh oh!
There was an error while loading. Please reload this page.
Add an option to obtain properties from a user specified directory - #535
Add an option to obtain properties from a user specified directory#535nekrasov-iv wants to merge 1 commit into
Conversation
…mber based of the last git commit in the module itself, and not based on the last git commit of the whole git project.
TheSnoozer
commented
Dec 15, 2020
Hello, To be honest I'm not even so sure if #136 is still an open issue. In specific I don't understand the difference to 'accepting multiple repositories' (outlined in #137 (comment)). When seeing #136 as |
Hello, In our case, we have a multi module project that looks like this: module1 We decided to include date and time of last change of module to the name of the module artefact. So the module jar (or war) file name should look like this module1-YYYYDDMM-HHMMSS.jar, where YYYYDDMM-HHMMSS is the date and time of the last commit in the module1 folder. By default I get the date and time of the last commit in the repository, not in the module folder. Maybe I missed something in the documentation and I can get this behavior using configuration? |
TheSnoozer
commented
Dec 17, 2020
Just out of curiosity: Does it look like: and for each module you would like to get the date and time of last change related to the corresponding Or really just one extra ? If option 2 then I'd propose the settings as outlined in #137 (comment) where you would need to specify the |
nekrasov-iv
commented
Dec 18, 2020
We have only one We would like to get the date and time of last change related to the corresponding module directory. |
TheSnoozer
commented
Jan 4, 2021
Thanks for the detailed explanation and sorry for the delay. I will try to review the changes ASAP. |
…generate for all git-directories for a reactor-project
…it-commit-id-maven-plugin#535: rework the per-module versions feature
TheSnoozer
commented
Mar 29, 2026
Thanks for your contribution! While your changes haven't been merged the idea of it was now integrated into the plugin #910. |
Git allows to obtain properties for a specified directory.
Such option would allow multi module projects to get version number / build number based of the last git commit in the module itself, and not based on the last git commit of the whole git project.
Enable per module versions #136#136