Package org.apache.maven.archiva.model

Examples of org.apache.maven.archiva.model.Exclusion


        Map<String, Exclusion> parentExclusionMap = createExclusionMap( parentExclusions );

        for ( Map.Entry<String, Exclusion> entry : mainExclusionMap.entrySet() )
        {
            String key = entry.getKey();
            Exclusion mainExclusion = entry.getValue();
            Exclusion parentExclusion = parentExclusionMap.get( key );

            if ( parentExclusion == null )
            {
                merged.add( mainExclusion );
            }
View Full Code Here


        {
            Iterator<Element> it = elemExclusions.elementIterator( "exclusion" );
            while ( it.hasNext() )
            {
                Element elemExclusion = it.next();
                Exclusion exclusion = new Exclusion();

                exclusion.setGroupId( elemExclusion.elementTextTrim( "groupId" ) );
                exclusion.setArtifactId( elemExclusion.elementTextTrim( "artifactId" ) );

                exclusions.add( exclusion );
            }
        }
View Full Code Here

        Map<String, Exclusion> ret = new HashMap<String, Exclusion>();

        Iterator<Exclusion> it = exclusions.iterator();
        while ( it.hasNext() )
        {
            Exclusion exclusion = it.next();
            String key = exclusion.getGroupId() + ":" + exclusion.getArtifactId();
            ret.put( key, exclusion );
        }

        return ret;
    }
View Full Code Here

        Map<String, Exclusion> parentExclusionMap = createExclusionMap( parentExclusions );

        for ( Map.Entry<String, Exclusion> entry : mainExclusionMap.entrySet() )
        {
            String key = entry.getKey();
            Exclusion mainExclusion = entry.getValue();
            Exclusion parentExclusion = parentExclusionMap.get( key );

            if ( parentExclusion == null )
            {
                merged.add( mainExclusion );
            }
View Full Code Here

TOP

Related Classes of org.apache.maven.archiva.model.Exclusion

Copyright © 2018 www.massapicom. 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.