| 15 | |
| 16 | |
| 17 | * pom.xml |
| 18 | * use the following setting within |
| 19 | {{{ |
| 20 | <build> |
| 21 | <plugins> |
| 22 | <!-- GWT compiler --> |
| 23 | <plugin> |
| 24 | <artifactId>maven-antrun-plugin</artifactId> |
| 25 | <executions> |
| 26 | <execution> |
| 27 | <phase>compile</phase> |
| 28 | <configuration> |
| 29 | <tasks> |
| 30 | <property name="classpath.compile" refid="maven.compile.classpath" /> |
| 31 | <property name="gwt.dev" value="${gwt.dev}" /> |
| 32 | <property name="gwt.jvmargs" value="${gwt.jvmargs}" /> |
| 33 | <ant antfile="gwt-home/build-gwt.xml"> |
| 34 | <property name="gwt.module" value="${gwt.module}" /> |
| 35 | <target name="compile" /> |
| 36 | </ant> |
| 37 | </tasks> |
| 38 | </configuration> |
| 39 | <goals> |
| 40 | <goal>run</goal> |
| 41 | </goals> |
| 42 | </execution> |
| 43 | </executions> |
| 44 | </plugin> |
| 45 | </plugins> |
| 46 | </build> |
| 47 | }}} |