Merge remote-tracking branch 'origin/jetty-12.0.x' into jetty-12.1.x

This commit is contained in:
Jan Bartel 2024-08-21 09:35:27 +10:00
commit a72ae7007b
2 changed files with 8 additions and 0 deletions

View File

@ -242,6 +242,10 @@ public abstract class AbstractUnassembledWebAppMojo extends AbstractWebAppMojo
if ("war".equalsIgnoreCase(artifact.getType())) if ("war".equalsIgnoreCase(artifact.getType()))
return false; 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) //The dependency cannot be scope provided (those should be added to the plugin classpath)
if (Artifact.SCOPE_PROVIDED.equals(artifact.getScope())) if (Artifact.SCOPE_PROVIDED.equals(artifact.getScope()))
return false; return false;

View File

@ -242,6 +242,10 @@ public abstract class AbstractUnassembledWebAppMojo extends AbstractWebAppMojo
if ("war".equalsIgnoreCase(artifact.getType())) if ("war".equalsIgnoreCase(artifact.getType()))
return false; 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) //The dependency cannot be scope provided (those should be added to the plugin classpath)
if (Artifact.SCOPE_PROVIDED.equals(artifact.getScope())) if (Artifact.SCOPE_PROVIDED.equals(artifact.getScope()))
return false; return false;