Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@therealryan
Copy link

There's no guarantee that the artifactId+version of a dependency is unique, so CreateRuntimeImage's dependency inclusion behaviour of copying jars into a single directory is failure-prone: projects with dependencies that differ only by their groupId will provoke a java.nio.file.FileAlreadyExistsException.

This change will detect such cases and prepend the groupId to the destination jar name.

A related problem also exists in AddModuleInfo - ideally it'd have an option akin to dependency:copy's prependGroupId

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant