Skip to content

Instantly share code, notes, and snippets.

@DemkaAge
Created December 3, 2013 17:47
Show Gist options
  • Save DemkaAge/7773982 to your computer and use it in GitHub Desktop.
Save DemkaAge/7773982 to your computer and use it in GitHub Desktop.
Generate public css interface (gwt-maven-plugin)
<plugin>
<groupId>com.google.code.maven-replacer-plugin</groupId>
<artifactId>replacer</artifactId>
<version>1.5.2</version>
<executions>
<execution>
<phase>prepare-package</phase>
<goals>
<goal>replace</goal>
</goals>
</execution>
</executions>
<configuration>
<includes>
<include>target/generated-sources/gwt/gwt_reguest/client/*.java</include>
</includes>
<regex>true</regex>
<token>^interface</token>
<value>public interface</value>
<regexFlags>
<regexFlag>MULTILINE</regexFlag>
</regexFlags>
</configuration>
</plugin>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment