Change webapp directory of nb project
-
27-10-2019 - |
سؤال
I cannot change a webapp directory of my maven project in NetBeans. I would like to that IDE links its Web Pages to other location than main/webapp/
.
How can I set web.dir
in this project?
المحلول
Just configure the war plugin accordingly. Specifically the warSourceDirectory property.
http://maven.apache.org/plugins/maven-war-plugin/war-mojo.html
لا تنتمي إلى StackOverflow