org.codehaus.plexus.builder

Class AbstractBuilder

public abstract class AbstractBuilder extends AbstractLogEnabled

Version: $Id: AbstractBuilder.java 2738 2005-10-20 13:15:01Z evenisse $

Author: Jason van Zyl Trygve Laugstøl

Nested Class Summary
static classAbstractBuilder.AndArtifactFilter
static classAbstractBuilder.GroupArtifactTypeArtifactFilter
static classAbstractBuilder.ScopeExcludeArtifactFilter
Method Summary
protected voidcopyArtifact(Artifact artifact, File outputDir, File destination)
protected voidcopyArtifacts(File outputDir, File dir, Set artifacts)
protected voidexecutable(File file)
protected voidfilterCopy(File in, File out, Map map)
protected voidfilterCopy(InputStream in, File out, Map map)
protected voidfilterCopy(Reader in, File out, Map map)
protected SetfindArtifacts(List remoteRepositories, ArtifactRepository localRepository, Set sourceArtifacts, boolean resolveTransitively, ArtifactFilter artifactFilter)
protected SetgetBootArtifacts(Set projectArtifacts, List remoteRepositories, ArtifactRepository localRepository, boolean ignoreIfMissing)
protected SetgetCoreArtifacts(Set projectArtifacts, List remoteRepositories, ArtifactRepository localRepository, boolean ignoreIfMissing)
protected SetgetExcludedArtifacts(Set projectArtifacts, List remoteRepositories, ArtifactRepository localRepository)
protected InputStreamgetResourceAsStream(String resource)
protected Filemkdirs(File directory)
protected StringresolveVersion(String groupId, String artifactId, Set projectArtifacts, boolean ignoreIfMissing, Set resolvedArtifacts)

Method Detail

copyArtifact

protected void copyArtifact(Artifact artifact, File outputDir, File destination)

copyArtifacts

protected void copyArtifacts(File outputDir, File dir, Set artifacts)

executable

protected void executable(File file)

filterCopy

protected void filterCopy(File in, File out, Map map)

filterCopy

protected void filterCopy(InputStream in, File out, Map map)

filterCopy

protected void filterCopy(Reader in, File out, Map map)

findArtifacts

protected Set findArtifacts(List remoteRepositories, ArtifactRepository localRepository, Set sourceArtifacts, boolean resolveTransitively, ArtifactFilter artifactFilter)

getBootArtifacts

protected Set getBootArtifacts(Set projectArtifacts, List remoteRepositories, ArtifactRepository localRepository, boolean ignoreIfMissing)

getCoreArtifacts

protected Set getCoreArtifacts(Set projectArtifacts, List remoteRepositories, ArtifactRepository localRepository, boolean ignoreIfMissing)

getExcludedArtifacts

protected Set getExcludedArtifacts(Set projectArtifacts, List remoteRepositories, ArtifactRepository localRepository)

getResourceAsStream

protected InputStream getResourceAsStream(String resource)

mkdirs

protected File mkdirs(File directory)

resolveVersion

protected String resolveVersion(String groupId, String artifactId, Set projectArtifacts, boolean ignoreIfMissing, Set resolvedArtifacts)
Copyright © 2001-2008 Codehaus. All Rights Reserved.