Created
February 3, 2013 17:10
-
-
Save niloc132/4702630 to your computer and use it in GitHub Desktop.
running gwt precompile from within your pom
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<plugin> | |
<groupId>org.codehaus.mojo</groupId> | |
<artifactId>exec-maven-plugin</artifactId> | |
<version>1.2.1</version> | |
<executions> | |
<execution> | |
<id>verify-modules</id> | |
<phase>test</phase> | |
<goals><goal>exec</goal></goals> | |
<configuration> | |
<executable>java</executable> | |
<classpathScope>compile</classpathScope> | |
<arguments> | |
<argument>-cp</argument> | |
<classpath /> | |
<argument>com.google.gwt.dev.CompileModule</argument> | |
<argument>-strict</argument> | |
<argument>-out</argument> | |
<argument>target/precompile</argument> | |
<argument>package.to.some.Module</argument> | |
<argument>package.to.another.Module</argument> | |
<!-- etc --> | |
</arguments> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin> | |
</plugins> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment