Class AggregateProcessRemoteResourcesMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.apache.maven.plugin.resources.remote.AbstractProcessRemoteResourcesMojo
-
- org.apache.maven.plugin.resources.remote.AggregateProcessRemoteResourcesMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(name="aggregate", defaultPhase=GENERATE_RESOURCES, aggregator=true, requiresDependencyResolution=TEST, threadSafe=true) public class AggregateProcessRemoteResourcesMojo extends AbstractProcessRemoteResourcesMojo
Pull down resourceBundles containing remote resources and process the resources contained inside. When that is done, the resources are injected into the current (in-memory) Maven project, making them available to the process-resources phase.
Resources that end in ".vm" are treated as Velocity templates. For those, the ".vm" is stripped off for the final artifact name and it's fed through Velocity to have properties expanded, conditions processed, etc...
Resources that don't end in ".vm" are copied "as is".
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.maven.plugin.resources.remote.AbstractProcessRemoteResourcesMojo
AbstractProcessRemoteResourcesMojo.OrganizationComparator, AbstractProcessRemoteResourcesMojo.ProjectComparator
-
-
Field Summary
-
Fields inherited from class org.apache.maven.plugin.resources.remote.AbstractProcessRemoteResourcesMojo
encoding, excludeArtifactIds, excludeGroupIds, excludeScope, excludeTransitive, filterDelimiters, includeArtifactIds, includeGroupIds, includeProjectProperties, includeScope, mavenSession, project, properties, repoSystem, resolveScopes, useDefaultFilterDelimiters, velocityFilterInMemoryThreshold
-
-
Constructor Summary
Constructors Constructor Description AggregateProcessRemoteResourcesMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.Set<org.apache.maven.artifact.Artifact>
getAllDependencies()
Returns all the transitive hull of all the involved maven projects.protected java.util.Set<org.apache.maven.artifact.Artifact>
getDirectDependencies()
Returns all the direct dependencies of all the involved maven projects.-
Methods inherited from class org.apache.maven.plugin.resources.remote.AbstractProcessRemoteResourcesMojo
buildVelocityContext, copyResourceIfExists, execute, getProjects, getProjectsSortedByOrganization, getSupplement, mergeModels, processResourceBundles, validate
-
-
-
-
Method Detail
-
getAllDependencies
protected java.util.Set<org.apache.maven.artifact.Artifact> getAllDependencies()
Description copied from class:AbstractProcessRemoteResourcesMojo
Returns all the transitive hull of all the involved maven projects.- Specified by:
getAllDependencies
in classAbstractProcessRemoteResourcesMojo
-
getDirectDependencies
protected java.util.Set<org.apache.maven.artifact.Artifact> getDirectDependencies()
Description copied from class:AbstractProcessRemoteResourcesMojo
Returns all the direct dependencies of all the involved maven projects.- Specified by:
getDirectDependencies
in classAbstractProcessRemoteResourcesMojo
-
-