Snjezana Peco [
http://community.jboss.org/people/snjeza] created the discussion
"Re: maven and jboss hot deployment does not work correctly"
To view the discussion, visit:
http://community.jboss.org/message/598757#598757
--------------------------------------------------------------
For some reason your warSourceDirectory isn't set correctly.
Try to right-click the project and call Maven>Update Project Configuration.
If this doesn't help, probably there is a bug in the m2eclipse-wtp integration.
A workaround is to replace
<wb-resource deploy-path="/"
source-path="/smsurbano-1.0-SNAPSHOT"/>
with
<wb-resource deploy-path="/" source-path="/src/main/webapp"/>
in the .settings/org.eclipse.wst.common.component.
BTW, since you are using Java EE 6 and JDK 6, you have to set the compiler target and
source to 1.6.
...
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
...
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/598757#598757]
Start a new discussion in JBoss Tools at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]