maven-confluence-plugin
maven-confluence-plugin copied to clipboard
Git logs not work correctly on multi modules
I can't get the git logs from a specific directory. For example, I've the following projects : Parent |__ project1 |__ project2
In the git, I've the following commits : commit1 on parent commit2 on project1 commit3 on project2 commit4 on project1
The git logs extraction when I am on project1 return all the commits (commit1, commit2, commit3, commit4) instead of commit2 and commit4. I've filled <checkoutDirectoryName>project1</checkoutDirectoryName> but none changes. Do you think I've mistaked on something ?
Hi @sebb840
could you clarify further ? What doesn't work as expected on plugin behaviour ?
In the git, I've the following commits and tags : commit1 on parent --- Tag main-version 1.1.0 commit2 on project1 --- Tag project1-1.0.1 commit3 on project2 --- Tag main-version 1.0.0, project2-1.0.0 commit4 on project1 --- Tag project1-1.0.0
In my example above, if I show the logs history on parent folder I have :
- commit1 ...
- commit2 ...
- commit3 ...
- commit4 ...
if I show the logs history on project1 subfolder you have :
- commit2 ...
- commit4 ...
if I show the logs history on project2 subfolder you have :
- commit3 ...
The plugin works well when I extract logs from the parent. But I would like to extract for the module Project1 only the logs (JIRA) of this folder (commit2 and commit 3) or only for the module Project2.
Actually, when I generate on module Project1 with gitLogGroupByVersions option set, I have :
commit1 with JIRA's link to issue project1-1.0.1 commit2 with JIRA's link to issue commit3 with JIRA's link to issue project1-1.0.0 commit4 with JIRA's link to issue
My wish will be to have :
project1-1.0.1 commit2 with JIRA's link to issue project1-1.0.0 commit4 with JIRA's link to issue
I hope my explanations are clearer.