Maven Resources Plugin
This page provides a space for users to contribute examples, errata, tips and other useful information about the Maven Resources Plugin. Everybody is invited to share his/her thoughts about the plugin to help the community to improve it.
Note: Please do not use this page to report bugs or feature requests. Instead, please fill in an issue in the issue tracking system listed in the official plugin documentation.
Thanks!
– The Maven Team
Examples
Doing this and that:
| Code Block | ||
|---|---|---|
| ||
<project>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>2.2</version>
<configuration>
<!-- your example configuration here -->
</configuration>
</plugin>
</plugins>
<resources>
<resource>
<directory>myresources</directory>
</resource>
<resource>
<directory>resource</directory>
</resource>
</resources>
<testResources>
<testResource>
<directory>mytest/resource2</directory>
</testResource>
<testResource>
<directory>mytest/myresources</directory>
</testResource>
</testResources>
</build>
</project>
|
FAQ
How do I ...?
You need to ...
