Name: Apache Maven Resources Plugin
Description: The Resources Plugin handles the copying of project resources to the output directory.
There are two different kinds of resources: main resources and test resources.
The difference is that the main resources are the resources associated to the main source code while the test resources are associated to the test source code.
Thus, this allows the separation of resources for the main source code and its unit tests.
Plugin coordinates:
Group Id: org.apache.maven.plugins
Artifact Id: maven-resources-plugin
Version: 3.1.0
Goal Prefix: resources
The goal
help:help gives general information about the
resources plugin and lists its goals:
The goal
help:describe gives detailed information about the
resources and lists its goals:
The
resources plugin has the following goals:
-
help:
Display help information on maven-resources-plugin.
-
resources:
Copy resources for the main source code to the main output directory.
Always uses the project.build.resources element to specify the resources to copy.
-
testResources:
Copy resources for the test source code to the test output directory.
Always uses the project.build.testResources element to specify the resources to copy.
-
copy-resources:
Copy resources of the configured plugin attribute resources.