eclipse - GWT Maven and web.xml -
I am using the GWT Maven plugin from Codehaus with M2eclipse. My web Where does the XML file end? Is not Maven making it to copy / war directory? I can not see it there or should the Jetity do it automatically src / main / webapp / WEB-INF /?
This is the section related to my pom.xml.
& lt; Plugin & gt; & Lt; Group & gt; Org.apache.maven.plugins & lt; / Group & gt; & Lt; ArtifactId & gt; Maven War Plugin & lt; / ArtifactId> & Lt; Version & gt; 2.0.2 & lt; / Edition & gt; & Lt; Configuration & gt; & Lt; WarSourceDirectory & gt; War & lt; / WarSourceDirectory & gt; & Lt; WebXml & gt; Src / home / webapp / web-INF / web.xml & lt; / WebXml & gt; & Lt; / Configuration & gt; & Lt; / Plugin & gt;
I believe web.xml (and src / main
target /
.). mvn install
) ; /
If you are running any Gwetti-Maven plugin goals, check out
when you run the bunny: to run, if you run the full web app As if you have made and deployed the war, I have found the best way to do the following: gwt-Maven Plugin:
target / & lt; Projectname & gt; - & lt; Version & gt;
This target / & lt; Projectname & gt; Gwt-Maven tells the plugin to see web.xml (and all the parts of the war file). /
. So first make sure to run mvn install
(or mvn war: exploded
), then run mvn gwt: run
and you should set up .
Comments
Post a Comment