Plugin Documentation
Goals available for this plugin:
Goal | Description |
---|---|
remote-resources:aggregate | 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". |
remote-resources:bundle | Bundle up resources that should be considered as a remote-resource, generating META-INF/maven/remote-resources.xml descriptor. |
remote-resources:help | Display help information on maven-remote-resources-plugin.
Call mvn remote-resources:help -Ddetail=true -Dgoal=<goal-name> to display parameter details. |
remote-resources:process | 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". |
System Requirements
The following specifies the minimum requirements to run this Maven plugin:
Maven | 3.6.3 |
JDK | 1.8 |
System Requirements History
The following specifies the minimum requirements to run this Maven plugin for historical versions:
Plugin Version | Maven | JDK |
---|---|---|
3.2.0 | 3.6.3 | 1.8 |
3.1.0 | 3.2.5 | 1.8 |
3.0.0 | 3.2.5 | 1.7 |
1.7.0 | 2.2.1 | 1.7 |
1.6.0 | 2.2.1 | 1.6 |
1.5 | 2.2.1 | 1.5 |
Usage
You should specify the version in your project's plugin configuration:
<project> ... <build> <!-- To define the plugin version in your parent POM --> <pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-remote-resources-plugin</artifactId> <version>3.2.0</version> </plugin> ... </plugins> </pluginManagement> <!-- To use the plugin goals in your POM or parent POM --> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-remote-resources-plugin</artifactId> </plugin> ... </plugins> </build> ... </project>
For more information, see "Guide to Configuring Plug-ins"