@Component(role=ClasspathBuilder.class) public class ClasspathBuilder extends org.codehaus.plexus.logging.AbstractLogEnabled
| Constructor and Description |
|---|
ClasspathBuilder() |
| Modifier and Type | Method and Description |
|---|---|
void |
addResourcesWithActiveProjects(org.apache.maven.project.MavenProject project,
Collection<File> items,
String scope)
Add all sources and resources also with active (maven reactor active) referenced project sources and resources.
|
void |
addSourcesWithActiveProjects(org.apache.maven.project.MavenProject project,
Collection<File> items,
String scope)
Add all sources and resources also with active (maven reactor active) referenced project sources and resources.
|
Collection<File> |
buildClasspathList(org.apache.maven.project.MavenProject project,
String scope,
Set<org.apache.maven.artifact.Artifact> artifacts,
boolean isGenerator)
Build classpath list using either gwtHome (if present) or using *project* dependencies.
|
public Collection<File> buildClasspathList(org.apache.maven.project.MavenProject project, String scope, Set<org.apache.maven.artifact.Artifact> artifacts, boolean isGenerator) throws ClasspathBuilderException
project - The maven project the Mojo is running forartifacts - the project artifacts (all scopes)scope - artifact scope to useisGenerator - whether to use processed resources and compiled classes (false), or raw resources (true).ClasspathBuilderExceptionpublic void addSourcesWithActiveProjects(org.apache.maven.project.MavenProject project,
Collection<File> items,
String scope)
project - items - scope - public void addResourcesWithActiveProjects(org.apache.maven.project.MavenProject project,
Collection<File> items,
String scope)
project - items - scope - Copyright © 2007–2017 MojoHaus. All rights reserved.