Reputation: 438
I'd like to add a WEB-INF/views directory to my *.war file generated using maven's goals. How do I do that? Thanks in advance
Upvotes: 1
Views: 43
Reputation: 8491
If you pu your views
directory to the src\main\webapp\WEB-INF
folder in your project and then build it using maven-war-plugin
with default configuration like this
<plugin>
<artifactId>maven-war-plugin</artifactId>
<version>3.0.0</version>
</plugin>
you will get your views
inside of WEB-INF
Upvotes: 1