Maven resources folder contains all your project related xml files , images , text files.
If you want to change the default location from "yourproject/src/main/resources" to your required one or you want to add a new resource folder as per your project needs.
Follow below steps.
Go to your project pom.xml file and search for resources tag and add the new resource folder location with resource tag as below.
For example :Hope this is helpful..........!!!!Thank You.<!-- POM File --> <resources> <----------Old resource folder-----------------!> <resource> <directory>src/main/resources</directory> </resource> <----------New resource folder-----------------!> <resource> <directory>src/main/Yourrequiredfoldername</directory> </resource> <-----------------------------------------------!> </resources>
No comments:
Post a Comment