Oh, I see. I open the Window->preferences->maven dialog. This page is different with the project properties. Anyway, thanks for your help.
Eugene Kuleshov wrote: > > > Sorry, I am not following which dialog you are looking at. > > Projects settings are accessible from the project popup menu and look > like this: > http://docs.codehaus.org/display/M2ECLIPSE/Dependency+Management > > Maven preferences from Window / Preferences... / Maven and look like > this: > http://docs.codehaus.org/display/M2ECLIPSE/Maven+Settings > > and as far as I can see, screenshots on the wiki are in sync with the > latest m2eclipse releases. > > regards, > Eugene > > > youhaodeyi wrote: >> Yes this is what I opened. The problem is that this page is different >> with >> your link. >> >> >> Eugene Kuleshov wrote: >> >>> You are looking at Maven preferences from Window / Preferences... / >>> Maven >>> Projects settings are accessible from the project popup menu. >>> >>> regards, >>> Eugene >>> >>> >>> youhaodeyi wrote: >>> >>>> 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 >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>> >>>> >>> --------------------------------------------------------------------- >>> To unsubscribe from this list, please visit: >>> >>> http://xircles.codehaus.org/manage_email >>> >>> >>> >>> >>> >> >> > > > --------------------------------------------------------------------- > 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--tp20005115p20026221.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