title: How do I automatically run a Maven configuration when I save a Java file in Eclipse?
body: <p>I’m using Eclipse Mars on Mac El Capitan.  I have a multi-module Maven project, where each module is loaded into Eclipse as a Maven-Eclipse project.  My question is, if I change a Java file and save it, how do I then automatically launch an action in Eclipse that will run a Maven goal?  My objective is to run a certain Maven configuration (mvn —file ../pom.xml clean package -DskipTests) every time I make a Java change.</p>
  
  <p>Note that I do have the Project -> Build Automatically checked but I don’t think this has any tie in to Maven.</p>