I changed my project to use maven2 (from just plain eclipse dynamic web project) and now I can't do Debug As > Debug on Server (JBoss).
Previously I can just do Debug As > Debug on Server (JBoss) and Eclipse will happily copy the war file into jboss deploy directory and I can debug etc.
Now it seems like eclipse just don't recognize the maven2 project and therefore cannot package the war file? I have to deploy it manually using the command line mvn war:war and copy the war file to deploy directory.
What can I do to make Eclipse understand mvn project so I can just do Debug As > Debug on Server?
Eclipse 3.5