Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/jetty-12.0.x' into jetty-12.1.x
Browse files Browse the repository at this point in the history
  • Loading branch information
janbartel committed Aug 20, 2024
2 parents 40e58a2 + 0cae635 commit a72ae70
Show file tree
Hide file tree
Showing 2 changed files with 8 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
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 a72ae70

Please sign in to comment.