mirror of https://github.com/apache/maven.git
don't add dependencies with scope=provided to wtpmodules
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@329864 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ea3a153a95
commit
aaf2b81012
|
@ -198,7 +198,8 @@ public class EclipseWtpmodulesWriter
|
|||
Artifact artifact = (Artifact) it.next();
|
||||
String type = artifact.getType();
|
||||
|
||||
if ( "jar".equals( type ) || "ejb".equals( type ) || "ejb-client".equals( type ) )
|
||||
if ( "jar".equals( type ) || "ejb".equals( type ) || "ejb-client".equals( type )
|
||||
&& !Artifact.SCOPE_PROVIDED.equals( artifact.getScope() ) )
|
||||
{
|
||||
addDependency( writer, artifact, referencedReactorArtifacts, localRepository );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue