I've built a maven-archetype-webapp which builds to the target/ directory when I package the project. I want to maven to clean the target/ directory each time I package the project though. I imagine I would specify this in the build element of my pom.xml. Does anyone know how to do this?
When you break the big rules, you get a lot of little rules.