Skip to content

Instantly share code, notes, and snippets.

@yeroc
Created December 19, 2014 00:07
Show Gist options
  • Save yeroc/7e50bbe53b4a12b98cf5 to your computer and use it in GitHub Desktop.
Save yeroc/7e50bbe53b4a12b98cf5 to your computer and use it in GitHub Desktop.
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>gwt-maven-plugin</artifactId>
<version>${gwt.version}</version>
<configuration>
<!-- Errai defaults to writing cache files into .errai. Move inside the
Maven target directory... -->
<extraJvmArgs>-Xmx1500m -Derrai.devel.debugCacheDir=target/errai-cache</extraJvmArgs>
<!-- place the gwt-unitCache directory inside the maven target dir... -->
<persistentunitcachedir>target</persistentunitcachedir>
<strict>false</strict>
<logLevel>INFO</logLevel>
<!-- use our own JBoss server launched from Eclipse instead. -->
<noServer>true</noServer>
<!--
<server>org.jboss.errai.cdi.server.gwt.JBossLauncher</server>
-->
<disableCastChecking>true</disableCastChecking>
<!-- tell dev mode what our URL is in JBoss -->
<runTarget>http://localhost:8080/${project.artifactId}/index.html</runTarget>
<soyc>false</soyc>
<!-- destination of generated js files -->
<!-- <hostedWebapp>src/main/webapp</hostedWebapp> -->
<!-- use this instead of hostedWebapp so WTP picks up the generated files! -->
<webappDirectory>src/main/webapp</webappDirectory>
<compileSourcesArtifacts>
<compileSourcesArtifact>com.kdm.search:esclient</compileSourcesArtifact>
</compileSourcesArtifacts>
</configuration>
<executions>
<execution>
<id>gwt-compile</id>
<goals>
<goal>compile</goal>
</goals>
</execution>
</executions>
</plugin>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment