Package org.springframework.boot.maven
Class AbstractDependencyFilterMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.springframework.boot.maven.AbstractDependencyFilterMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
AbstractAotMojo,AbstractPackagerMojo,AbstractRunMojo
public abstract class AbstractDependencyFilterMojo
extends org.apache.maven.plugin.AbstractMojo
A base mojo filtering the dependencies of the project.
- Since:
- 1.1.0
- Author:
- Stephane Nicoll, David Turanski
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static classArtifactFilterto exclude test scope dependencies.protected static classArtifactFilterthat only include runtime scopes. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.apache.maven.project.MavenProjectThe Maven project.Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected final Set<org.apache.maven.artifact.Artifact>filterDependencies(Set<org.apache.maven.artifact.Artifact> dependencies, org.apache.maven.shared.artifact.filter.collection.ArtifactsFilter... additionalFilters) getDependencyURLs(org.apache.maven.shared.artifact.filter.collection.ArtifactsFilter... additionalFilters) protected voidsetExcludeGroupIds(String excludeGroupIds) protected voidsetExcludes(List<Exclude> excludes) protected voidsetIncludes(List<Include> includes) protected URLMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContextMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.maven.plugin.Mojo
execute
-
Field Details
-
project
@Parameter(defaultValue="${project}", readonly=true, required=true) protected org.apache.maven.project.MavenProject projectThe Maven project.- Since:
- 3.0.0
-
-
Constructor Details
-
AbstractDependencyFilterMojo
public AbstractDependencyFilterMojo()
-
-
Method Details
-
setExcludes
-
setIncludes
-
setExcludeGroupIds
-
toURL
-