Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[m2e-users] Can I invoke "package" on Eclipse auto-build?

[originally sent to the maven-users list, before I discovered this one]

Hi all.

I'm using Eclipse 3.7 to develop Web Applications (jsp & servlets) using Maven (m2eclipse).

Currently, when I make modifications to a class or resource in Eclipse, I have to manually invoke "mvn package" on my project to get the updated resources/jars copied to the target directory (where the application is running, from an external Tomcat).

Anyone know if I can make the Maven auto builder in Eclipse automatically update the web application residing in my target folder, so I can skip the manual step? (and totally enjoy the autoloading of modified classes JRebel is providing)

(or if someone has a better idea for a workflow—essentially, I just want to code, and not have to do any manual work for each modification.

Cheers,
- hugi

Back to the top