Executing the maven plugin

When will the plugin run if I don’t specify the phase?

for example that plugin

<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> 
+4
source share
1 answer

It depends on the plugin. If the plugin author indicated @phase in the mojo metadata, he will be there. If not, it will not start at all.

+6
source

Source: https://habr.com/ru/post/1343478/


All Articles