Examples of ExclusionSetFilter


Examples of org.apache.maven.artifact.resolver.filter.ExclusionSetFilter

        Set artifacts = createBaseArtifactSet();

        // It should be safe to include wagon implementations, and since this is used by the extension manager they would
        // get filtered out otherwise
       
        return new ExclusionSetFilter( artifacts );
    }
View Full Code Here

Examples of org.apache.maven.artifact.resolver.filter.ExclusionSetFilter

        artifacts.add( "wagon-ssh-external" );
        artifacts.add( "wagon-ssh-common" );
        artifacts.add( "wagon-http-shared" );
        artifacts.add( "wagon-webdav-jackrabbit" );

        return new ExclusionSetFilter( artifacts );
    }
View Full Code Here

Examples of org.apache.maven.artifact.resolver.filter.ExclusionSetFilter

        Set artifacts = createBaseArtifactSet();

        // It should be safe to include wagon implementations, and since this is used by the extension manager they would
        // get filtered out otherwise
       
        return new ExclusionSetFilter( artifacts );
    }
View Full Code Here

Examples of org.apache.maven.artifact.resolver.filter.ExclusionSetFilter

        ArtifactResolutionResult res = collect( a );
        assertEquals( "Check artifact list",
                      createSet( new Object[] { a.artifact, b.artifact, c.artifact, d.artifact } ), res.getArtifacts() );

        ArtifactFilter filter = new ExclusionSetFilter( new String[] { "b" } );
        res = collect( a, filter );
        assertEquals( "Check artifact list", createSet( new Object[] { a.artifact, c.artifact } ), res.getArtifacts() );
    }
View Full Code Here

Examples of org.apache.maven.artifact.resolver.filter.ExclusionSetFilter

     * @deprecated Use this class as a component instead, and then use getArtifactFilter().
     */
    public static ArtifactFilter createStandardFilter()
    {
        // TODO: configure this from bootstrap or scan lib
        return new ExclusionSetFilter( DEFAULT_EXCLUSIONS );
    }
View Full Code Here

Examples of org.apache.maven.artifact.resolver.filter.ExclusionSetFilter

        for ( ArtifactFilterManagerDelegate delegate : getDelegates() )
        {
            delegate.addExcludes( excludes );
        }

        return new ExclusionSetFilter( excludes );
    }
View Full Code Here

Examples of org.apache.maven.artifact.resolver.filter.ExclusionSetFilter

     *
     * @see org.apache.maven.ArtifactFilterManager#getExtensionDependencyFilter()
     */
    public ArtifactFilter getCoreArtifactFilter()
    {
        return new ExclusionSetFilter( getCoreArtifactExcludes() );
    }
View Full Code Here

Examples of org.apache.maven.artifact.resolver.filter.ExclusionSetFilter

        ArtifactResolutionResult res = collect( a );
        assertEquals( "Check artifact list", createSet( new Object[]{a.artifact, b.artifact, c.artifact, d.artifact} ),
                      res.getArtifacts() );

        ArtifactFilter filter = new ExclusionSetFilter( new String[]{"b"} );
        res = collect( a, filter );
        assertEquals( "Check artifact list", createSet( new Object[]{a.artifact, c.artifact} ), res.getArtifacts() );
    }
View Full Code Here

Examples of org.apache.maven.artifact.resolver.filter.ExclusionSetFilter

     * @deprecated Use this class as a component instead, and then use getArtifactFilter().
     */
    public static ArtifactFilter createStandardFilter()
    {
        // TODO: configure this from bootstrap or scan lib
        return new ExclusionSetFilter( DEFAULT_EXCLUSIONS );
    }
View Full Code Here

Examples of org.apache.maven.artifact.resolver.filter.ExclusionSetFilter

        for ( ArtifactFilterManagerDelegate delegate : getDelegates() )
        {
            delegate.addExcludes( excludes );
        }

        return new ExclusionSetFilter( excludes );
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.