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 authored Aug 20, 2024
1 parent 942e77c commit 0cae635
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 0cae635

Please sign in to comment.