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".-
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
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.maven.plugin.resources.remote.AbstractProcessRemoteResourcesMojo
buildVelocityContext, copyResourceIfExists, execute, getProjects, getProjectsSortedByOrganization, getSupplement, mergeModels, processResourceBundles, validate
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
AggregateProcessRemoteResourcesMojo
public AggregateProcessRemoteResourcesMojo()
-
-
Method Details
-
getAllDependencies
Description copied from class:AbstractProcessRemoteResourcesMojo
Returns all the transitive hull of all the involved maven projects.- Specified by:
getAllDependencies
in classAbstractProcessRemoteResourcesMojo
-
getDirectDependencies
Description copied from class:AbstractProcessRemoteResourcesMojo
Returns all the direct dependencies of all the involved maven projects.- Specified by:
getDirectDependencies
in classAbstractProcessRemoteResourcesMojo
-