Skip to content

Commit

Permalink
Merge pull request #29385 from aloubyansky/exclusion-wildcards
Browse files Browse the repository at this point in the history
Use wildcards instead of null when creating dependency exclusions
  • Loading branch information
gsmet authored Nov 22, 2022
2 parents 92e09c3 + 56547c9 commit 60e0dd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion devtools/maven/src/main/java/io/quarkus/maven/DevMojo.java
Original file line number Diff line number Diff line change
Expand Up @@ -1268,7 +1268,7 @@ private void addQuarkusDevModeDeps(MavenDevModeLauncher.Builder builder, Applica
final List<Exclusion> exclusions;
if (!d.getExclusions().isEmpty()) {
exclusions = new ArrayList<>(d.getExclusions().size());
d.getExclusions().forEach(e -> exclusions.add(new Exclusion(e.getGroupId(), e.getArtifactId(), null, null)));
d.getExclusions().forEach(e -> exclusions.add(new Exclusion(e.getGroupId(), e.getArtifactId(), "*", "*")));
} else {
exclusions = List.of();
}
Expand Down

0 comments on commit 60e0dd1

Please sign in to comment.