public SpecificScopesArtifactFilter()

in src/main/java/org/apache/maven/artifact/ant/SpecificScopesArtifactFilter.java [50:79]


    public SpecificScopesArtifactFilter( String scopes )
    {
        String [] scopeList = scopes.split( "," );

        for ( int i = 0; i < scopeList.length; ++i )
        {
            String scope = scopeList[i].trim();

            if ( scope.equals( DefaultArtifact.SCOPE_COMPILE ) )
            {
                compileScope = true;
            }
            else if ( scope.equals( DefaultArtifact.SCOPE_PROVIDED ) )
            {
                providedScope = true;
            }
            else if ( scope.equals( DefaultArtifact.SCOPE_RUNTIME ) )
            {
                runtimeScope = true;
            }
            else if ( scope.equals( DefaultArtifact.SCOPE_SYSTEM ) )
            {
                systemScope = true;
            }
            else if ( scope.equals( DefaultArtifact.SCOPE_TEST ) )
            {
                testScope = true;
            }
        }
    }