JBoss Community

Re: maven and jboss hot deployment does not work correctly

created by Snjezana Peco in JBoss Tools - View the full discussion

I can't reproduce your problem.

I have done the following:

 

- imported your project as an Eclipse project

- removed the line

<wb-resource deploy-path="/" source-path="/smsurbano-1.0-SNAPSHOT"/>

from the .settings/org.eclipse.wst.common.component file

The Maven>Update Project Configuration action doesn't recreate this line.

- removed the smsurbano-1.0-SNAPSHOT directory

- right-clicked the project, selected Properties>Maven and entered 'release' to the Active Maven Profiles text field

Your release profile doesn't deploy jsf libraries  which is correct for JBoss AS.

- deployed the application to JBoss AS 6

- started the server

- ran http://localhost:8080/smsurbano/

 

Not sure how did you get the /smsurbano-1.0-SNAPSHOT directory.  You can remove it.

Do you use the maven command line?

Could you send your Eclipse configuration (Help>About Eclipse SDK>Installation Details>Configuration)?

Reply to this message by going to Community

Start a new discussion in JBoss Tools at Community