My Maven page is different with the image in this link. The two goals I can set is: 1. Goals to run on project import: 2. Goals to run when updating project configuration
But from the link you given to me, the goals should be : 1. Goals to invoke after project clean 2. Goals to invoke on resource changes Eugene Kuleshov wrote: > > > The default goals run on incremental builds in Eclipse are > "process-resources resources:testResources", and goals run in the full > build are "process-test-resources". > > You can change those from Maven panel in project properties. > http://docs.codehaus.org/display/M2ECLIPSE/Dependency+Management > > Note that process-test-resources is a build lifecycle phase and it > includes "compile" phase, hence run compilation. > > regards, > Eugene > > > youhaodeyi wrote: >> When I modified a resource file and save the file, eclipse will run "mvn >> compile" to build this maven project which slowed my working. How can I >> disable it? >> > > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > > > -- View this message in context: http://www.nabble.com/why-eclipse-build-maven-project-when-I-save-a-resource-file--tp20005115p20025866.html Sent from the Maven Eclipse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email