我有一個使用javaee5-maven-archetype構建並導入Eclipse(Helios)的Maven Java EE項目。即使沒有變化,項目的EAR模塊也可以每秒鐘建立連續性模塊。有時Eclipse凍結,我必須殺死這個過程。 「問題」視圖中未列出任何內容,但下面的內容在Maven控制檯上連續顯示。Maven不斷爲Java EE項目構建EAR模塊
2010/10/04 12:05:27 PM: Refreshing [/MyProject-ear/pom.xml]
2010/10/04 12:05:27 PM: Refreshing [/MyProject-ear/pom.xml]
2010/10/04 12:05:28 PM: Maven Builder: AUTO_BUILD
2010/10/04 12:05:28 PM: Maven Builder: AUTO_BUILD
2010/10/04 12:05:28 PM: Maven Builder: AUTO_BUILD
2010/10/04 12:05:28 PM: Refreshing [/MyProject-ear/pom.xml]
2010/10/04 12:05:28 PM: Refreshing [/MyProject-ear/pom.xml]
2010/10/04 12:05:29 PM: Maven Builder: AUTO_BUILD
2010/10/04 12:05:29 PM: Maven Builder: AUTO_BUILD
2010/10/04 12:05:29 PM: Maven Builder: AUTO_BUILD
2010/10/04 12:05:29 PM: Refreshing [/MyProject-ear/pom.xml]
2010/10/04 12:05:30 PM: Refreshing [/MyProject-ear/pom.xml]
2010/10/04 12:05:30 PM: Maven Builder: AUTO_BUILD
2010/10/04 12:05:30 PM: Maven Builder: AUTO_BUILD
我使用M2Eclipse
這是關係到http://stackoverflow.com/questions/2651694/how-to-disable-auto-update-maven-dependencies-after-saving-a-pom-xml? – VonC 2010-10-04 10:20:26
不,他們不相關,我更喜歡AUTO_BUILD,它(m2eclipse)不應該在pom.xml沒有更改時每秒創建一次 – n002213f 2010-10-04 10:38:23