Skip to content

Commit

Permalink
Issue #12173 Ingore dependencies of type pom for the webapp classpath
Browse files Browse the repository at this point in the history
  • Loading branch information
janbartel committed Aug 20, 2024
1 parent 877aaa5 commit c0b08b2
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,10 @@ private boolean isArtifactOKForWebInfLib(Artifact artifact)
if ("war".equalsIgnoreCase(artifact.getType()))
return false;

//The dependency cannot be a pom
if ("pom".equalsIgnoreCase(artifact.getType()))
return false;

//The dependency cannot be scope provided (those should be added to the plugin classpath)
if (Artifact.SCOPE_PROVIDED.equals(artifact.getScope()))
return false;
Expand Down

0 comments on commit c0b08b2

Please sign in to comment.