@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".encoding, excludeArtifactIds, excludeGroupIds, excludeScope, excludeTransitive, filterDelimiters, includeArtifactIds, includeGroupIds, includeProjectProperties, includeScope, mavenSession, project, properties, repoSystem, resolveScopes, useDefaultFilterDelimiters, velocityFilterInMemoryThreshold| Constructor and Description |
|---|
AggregateProcessRemoteResourcesMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected Set<org.apache.maven.artifact.Artifact> |
getAllDependencies()
Returns all the transitive hull of all the involved maven projects.
|
protected Set<org.apache.maven.artifact.Artifact> |
getDirectDependencies()
Returns all the direct dependencies of all the involved maven projects.
|
buildVelocityContext, copyResourceIfExists, execute, getProjects, getProjectsSortedByOrganization, getSupplement, mergeModels, processResourceBundles, validateprotected Set<org.apache.maven.artifact.Artifact> getAllDependencies()
AbstractProcessRemoteResourcesMojogetAllDependencies in class AbstractProcessRemoteResourcesMojoprotected Set<org.apache.maven.artifact.Artifact> getDirectDependencies()
AbstractProcessRemoteResourcesMojogetDirectDependencies in class AbstractProcessRemoteResourcesMojoCopyright © 2002–2023 The Apache Software Foundation. All rights reserved.