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:
Fabrizio Giustina 2005-10-31 17:12:13 +00:00
parent ea3a153a95
commit aaf2b81012
1 changed files with 2 additions and 1 deletions

View File

@ -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 );
}