Skip to content

Instantly share code, notes, and snippets.

@manstis
Created November 15, 2012 14:21
Show Gist options
  • Select an option

  • Save manstis/4078833 to your computer and use it in GitHub Desktop.

Select an option

Save manstis/4078833 to your computer and use it in GitHub Desktop.
hint
<!-- We need source files generated by our Java Annotations Processor -->
<!-- in the resulting JAR for GWT to reference in child projects. Consequentially -->
<!-- copy the source files to the target folder before packaging -->
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<executions>
<execution>
<id>copy-resources</id>
<phase>prepare-package</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${basedir}/target/classes</outputDirectory>
<resources>
<resource>
<directory>target/generated-sources/annotations</directory>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment