As for a fast Maven profile where I skip most of the other tasks I have not found any documentation about a skip property for the vaadin-maven-plugin. Would it be possible to implement that in the way that most Maven plugins do it ?
<profile>
<id>fast</id>
<properties>
<!-- skip tests ... -->
<skipTests>true</skipTests>
<!-- skip compiling main -->
<maven.main.skip>true</maven.main.skip>
<!-- skip generating Javadoc -->
<maven.javadoc.skip>true</maven.javadoc.skip>
<!-- skip compiling Vaadin WidgetSet -->
<!-- e.g. <vaadin.compile.skip>true</vaadin.compile.skip> -->
</properties>
</profile>
Also at least 2 issues on GitHub refer to a missing online documentation, so maybe I missed out on some options that are available to skip compilation.
Hi,
gwt.compiler.skip only skips widgetset compilation.
AFAIK there is no a property to skip the whole plugin but as a workaround you can bind the execution to none phase in your profile
<profile>
<id>fast</id>
<properties>
<!-- skip all tests -->
<skipTests>true</skipTests>
<!-- skip generating the Javadoc -->
<maven.javadoc.skip>true</maven.javadoc.skip>
<!-- skip the Maven source procedure -->
<source.skip>true</source.skip>
<!-- skip the Git commit ID plugin -->
<git.commit-id.skip>true</git.commit-id.skip>
<!-- skip the license check (for e.g. GPL) -->
<skipLicenseCheck>true</skipLicenseCheck>
<!-- skip compiling the Vaadin widget set -->
<gwt.compiler.skip>true</gwt.compiler.skip>
<!-- skip compiling main java -->
<maven.main.skip>true</maven.main.skip>
</properties>
<build>
<plugins>
<plugin>
<groupId>com.vaadin</groupId>
<artifactId>vaadin-maven-plugin</artifactId>
<version>${vaadin.plugin.version}</version>
<executions>
<execution>
<phase>none</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
Seems like the vaadin-maven-plugin has not been updated for quite some time and needs a new documentation home as well. So I just added the feature request in case someone picks up development.