Commit f46fe32
Add group discriminant in case of conflict
Prior to this commit, the repackage goal silently ignored the case of
two libraries having the same name and version but a different group.
As a result, the second library was overwriting the first one in the
repackaged jar.
This commit adds support for custom Library names and updates the
Maven and Gradle plugins so that the name includes the group ID
when there would otherwise be a duplicate.
Fixes gh-14751 parent 449752c commit f46fe32
File tree
69 files changed
+299
-25
lines changed- spring-boot-samples/spring-boot-sample-simple
- org/springframework/boot/loader
- archive
- data
- jar
- util
- sample/simple
- service
- spring-boot-tools
- spring-boot-gradle-plugin/src/main/groovy/org/springframework/boot/gradle/repackage
- spring-boot-loader-tools/src
- main/java/org/springframework/boot/loader/tools
- test/java/org/springframework/boot/loader/tools
- spring-boot-maven-plugin/src
- it/jar-lib-name-conflict
- acme-lib
- another-acme-lib
- test-project
- src/main/java/org/test
- main/java/org/springframework/boot/maven
- test/java/org/springframework/boot/maven
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
69 files changed
+299
-25
lines changedLines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
0 commit comments