2011-03-12 130 views
4

如果我沒有指定階段插件將執行什麼時候?maven插件執行

例如該插件

<plugin> 
    <groupId>com.vaadin</groupId> 
    <artifactId>vaadin-maven-plugin</artifactId> 
    <version>1.0.1</version> 
    <executions> 
     <execution> 
     <configuration> 
      <!-- if you don't specify any modules, the plugin will find them --> 
      <!-- <modules> <module>learning.vaadin.gwt.ColorPickerWidgetSet</module> </modules> --> 
     </configuration> 
     <goals> 
      <goal>update-widgetset</goal> 
     </goals> 
     </execution> 
    </executions> 
    </plugin> 

回答

6

這取決於插件。如果插件作者在mojo元數據中指定了@phase,它將在此處結束。如果沒有,它將不會運行。