This commit is contained in:
parent
942e77c3c5
commit
0cae6351f4
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue