Languages
[Edit]
EN

Java / Maven - copy embedded in-test resource files to target

5 points
Created by:
Emelia
517

In this short article, we would like to show how to copy resource files located in test/ directory into target/ directory using Maven.

Quick solution:

 

See also

Edit
  1. Java / Maven - copy embedded in-source resource files to target

  2. Java - get file absolute path according to indicated class

References

Edit
  1. Apache Maven AntRun Plugin » 3.1.0
1
Donate to Dirask
Our content is created by volunteers - like Wikipedia. If you think, the things we do are good, donate us. Thanks!
Join to our subscribers to be up to date with content, news and offers.
Native Advertising
🚀
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂

Join