@Mojo(name="process", defaultPhase=GENERATE_RESOURCES, requiresDependencyResolution=TEST, threadSafe=true) public class ProcessRemoteResourcesMojo 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 |
---|
ProcessRemoteResourcesMojo() |
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, validate
protected Set<org.apache.maven.artifact.Artifact> getAllDependencies()
AbstractProcessRemoteResourcesMojo
getAllDependencies
in class AbstractProcessRemoteResourcesMojo
protected Set<org.apache.maven.artifact.Artifact> getDirectDependencies()
AbstractProcessRemoteResourcesMojo
getDirectDependencies
in class AbstractProcessRemoteResourcesMojo
Copyright © 2002–2023 The Apache Software Foundation. All rights reserved.