April 2015
Intermediate to advanced
272 pages
4h 59m
English
There are many situations where you will need to include additional resource files or folders for compilation or testing. You might also have to exclude specific files or folders. Let us see how we can do this.
Maven is set up on your system and is verified for work. To do this, refer to the first three recipes of Chapter 1, Getting Started.
project-with-include-exclude.build section of your pom file:<resources> <resource> <directory>src/resources/xml</directory> <includes> <include>*.xml</include> </includes> </resource> <resource> <directory>src/resources/json</directory> ...