-
Notifications
You must be signed in to change notification settings - Fork 182
[MDEP-776] Warn when multiple dependencies have the same file name #463
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like that you also updated so much documentation / Javadoc!
I only have one small, little question, but that only might be a personal nuance.
So non-binding approval by me.
for (Map.Entry<String, Integer> entry : copies.entrySet()) { | ||
if (entry.getValue() > 1) { | ||
getLog().warn("Multiple files with the name " + entry.getKey() + " in the dependency tree."); | ||
getLog().warn( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this new line on purpose?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's weird but that's what spotless produces
if (entry.getValue() > 1) { | ||
getLog().warn("Multiple files with the name " + entry.getKey() + " in the dependency tree."); | ||
getLog().warn( | ||
"Not all jars will be available. Consider using prependGroupId, useSubDirectoryPerArtifact, or useRepositoryLayout."); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
JARs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
ping |
<parent> | ||
<groupId>org.apache</groupId> | ||
<artifactId>apache</artifactId> | ||
<version>5</version> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we need a parent for test ... if yes - should be something newer
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not really. Removed.
Resolve #1283 |
No description provided.