Skip to content

Commit

Permalink
Merge pull request #20370 from netodevel/feature/netodevel-filter-log…
Browse files Browse the repository at this point in the history
…-modules-info

Adds filter to file module-info.class
  • Loading branch information
aloubyansky committed Oct 8, 2021
2 parents a5714c5 + 251542a commit 2cc702a
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -394,8 +394,10 @@ private void buildUberJar0(CurateOutcomeBuildItem curateOutcomeBuildItem,
for (Map.Entry<String, Set<Dependency>> entry : duplicateCatcher.entrySet()) {
if (entry.getValue().size() > 1) {
if (explained.add(entry.getValue())) {
log.warn("Dependencies with duplicate files detected. The dependencies " + entry.getValue()
+ " contain duplicate files, e.g. " + entry.getKey());
if (!"module-info.class".endsWith(entry.getKey())) {
log.warn("Dependencies with duplicate files detected. The dependencies " + entry.getValue()
+ " contain duplicate files, e.g. " + entry.getKey());
}
}
}
}
Expand Down

0 comments on commit 2cc702a

Please sign in to comment.