dependency-update-maven-plugin icon indicating copy to clipboard operation
dependency-update-maven-plugin copied to clipboard

Version updates in module poms are not covered by git add

Open ascheman opened this issue 3 years ago • 3 comments

I have a multi module project where some of the modules define versions themselves. The versions are updated but the POM files seem not to become part of the final git commit.

I will try to create a test scenario/test case for this as soon as my time permits.

ascheman avatar Sep 29 '22 04:09 ascheman

Thanks for reporting.

sparsick avatar Sep 29 '22 05:09 sparsick

During Cyberland Hacktoberfest event, we could reproduce it with JGit provider (only manually).

Changed files are not part of a commit

sparsick avatar Oct 04 '22 16:10 sparsick

Root cause: JGit Provider only add root pom.xml because of line https://github.com/georgberky/dependency-update-maven-plugin/blob/122ce217d3f552516378f1f2c2f32272b401d8c5/src/main/kotlin/io/github/georgberky/maven/plugins/depsupdate/UpdateMojo.kt#L58

Native git provider uses it as pattern, but JGit Provider as file name.

sparsick avatar Oct 04 '22 17:10 sparsick