[jboss-user] [JBoss Tools] - Re: maven and jboss hot deployment does not work correctly
Snjezana Peco
do-not-reply at jboss.com
Fri Apr 8 05:22:53 EDT 2011
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&containerType=14&container=2128]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110408/1b0e90c7/attachment-0001.html
More information about the jboss-user
mailing list