org.codehaus.plexus.builder
Class AbstractBuilder
java.lang.Object
org.codehaus.plexus.logging.AbstractLogEnabled
org.codehaus.plexus.builder.AbstractBuilder
- All Implemented Interfaces:
- org.codehaus.plexus.logging.LogEnabled
- Direct Known Subclasses:
- DefaultApplicationBuilder, DefaultPlexusRuntimeBuilder, DefaultServiceBuilder
public abstract class AbstractBuilder
- extends org.codehaus.plexus.logging.AbstractLogEnabled
- Version:
- $Id: AbstractBuilder.java 2738 2005-10-20 13:15:01Z evenisse $
- Author:
- Jason van Zyl, Trygve Laugstøl
Method Summary |
protected void |
copyArtifact(org.apache.maven.artifact.Artifact artifact,
File outputDir,
File destination)
|
protected void |
copyArtifacts(File outputDir,
File dir,
Set artifacts)
|
protected void |
executable(File file)
|
protected void |
filterCopy(File in,
File out,
Map map)
|
protected void |
filterCopy(InputStream in,
File out,
Map map)
|
protected void |
filterCopy(Reader in,
File out,
Map map)
|
protected Set |
findArtifacts(List remoteRepositories,
org.apache.maven.artifact.repository.ArtifactRepository localRepository,
Set sourceArtifacts,
boolean resolveTransitively,
org.apache.maven.artifact.resolver.filter.ArtifactFilter artifactFilter)
|
protected Set |
getBootArtifacts(Set projectArtifacts,
List remoteRepositories,
org.apache.maven.artifact.repository.ArtifactRepository localRepository,
boolean ignoreIfMissing)
|
protected Set |
getCoreArtifacts(Set projectArtifacts,
List remoteRepositories,
org.apache.maven.artifact.repository.ArtifactRepository localRepository,
boolean ignoreIfMissing)
|
protected Set |
getExcludedArtifacts(Set projectArtifacts,
List remoteRepositories,
org.apache.maven.artifact.repository.ArtifactRepository localRepository)
|
protected InputStream |
getResourceAsStream(String resource)
|
protected File |
mkdirs(File directory)
|
protected String |
resolveVersion(String groupId,
String artifactId,
Set projectArtifacts,
boolean ignoreIfMissing,
Set resolvedArtifacts)
|
Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractBuilder
public AbstractBuilder()
executable
protected void executable(File file)
throws org.codehaus.plexus.util.cli.CommandLineException,
IOException
- Throws:
org.codehaus.plexus.util.cli.CommandLineException
IOException
mkdirs
protected File mkdirs(File directory)
throws IOException
- Throws:
IOException
getResourceAsStream
protected InputStream getResourceAsStream(String resource)
throws IOException
- Throws:
IOException
filterCopy
protected void filterCopy(File in,
File out,
Map map)
throws IOException
- Throws:
IOException
filterCopy
protected void filterCopy(InputStream in,
File out,
Map map)
throws IOException
- Throws:
IOException
filterCopy
protected void filterCopy(Reader in,
File out,
Map map)
throws IOException
- Throws:
IOException
copyArtifact
protected void copyArtifact(org.apache.maven.artifact.Artifact artifact,
File outputDir,
File destination)
throws IOException
- Throws:
IOException
copyArtifacts
protected void copyArtifacts(File outputDir,
File dir,
Set artifacts)
throws IOException
- Throws:
IOException
getBootArtifacts
protected Set getBootArtifacts(Set projectArtifacts,
List remoteRepositories,
org.apache.maven.artifact.repository.ArtifactRepository localRepository,
boolean ignoreIfMissing)
throws org.apache.maven.artifact.resolver.ArtifactResolutionException
- Throws:
org.apache.maven.artifact.resolver.ArtifactResolutionException
getCoreArtifacts
protected Set getCoreArtifacts(Set projectArtifacts,
List remoteRepositories,
org.apache.maven.artifact.repository.ArtifactRepository localRepository,
boolean ignoreIfMissing)
throws org.apache.maven.artifact.resolver.ArtifactResolutionException
- Throws:
org.apache.maven.artifact.resolver.ArtifactResolutionException
getExcludedArtifacts
protected Set getExcludedArtifacts(Set projectArtifacts,
List remoteRepositories,
org.apache.maven.artifact.repository.ArtifactRepository localRepository)
throws org.apache.maven.artifact.resolver.ArtifactResolutionException
- Throws:
org.apache.maven.artifact.resolver.ArtifactResolutionException
findArtifacts
protected Set findArtifacts(List remoteRepositories,
org.apache.maven.artifact.repository.ArtifactRepository localRepository,
Set sourceArtifacts,
boolean resolveTransitively,
org.apache.maven.artifact.resolver.filter.ArtifactFilter artifactFilter)
throws org.apache.maven.artifact.resolver.ArtifactResolutionException
- Throws:
org.apache.maven.artifact.resolver.ArtifactResolutionException
resolveVersion
protected String resolveVersion(String groupId,
String artifactId,
Set projectArtifacts,
boolean ignoreIfMissing,
Set resolvedArtifacts)
Copyright © 2001-2011 Codehaus. All Rights Reserved.