Merge remote-tracking branch 'origin/jetty-12.0.x' into jetty-12.1.x
This commit is contained in:
commit
a72ae7007b
|
@ -242,6 +242,10 @@ public abstract class AbstractUnassembledWebAppMojo extends AbstractWebAppMojo
|
|||
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;
|
||||
|
|
|
@ -242,6 +242,10 @@ public abstract class AbstractUnassembledWebAppMojo extends AbstractWebAppMojo
|
|||
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;
|
||||
|
|
Loading…
Reference in New Issue