Skip to content

Instantly share code, notes, and snippets.

@lfryc
Created June 27, 2013 04:44
Show Gist options
  • Save lfryc/5874007 to your computer and use it in GitHub Desktop.
Save lfryc/5874007 to your computer and use it in GitHub Desktop.
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<executions>
<execution>
<id>add-source</id>
<phase>process-resources</phase>
<goals>
<goal>add-source</goal>
</goals>
<configuration>
<sources>
<source>src/main/config</source>
<source>src/main/resource-optimizer</source>
<source>target/generated-sources/main/java</source>
<source>target/generated-sources/main/resources</source>
</sources>
</configuration>
</execution>
<execution>
<id>add-resources</id>
<phase>generate-resources</phase>
<goals>
<goal>add-resource</goal>
</goals>
<configuration>
<resources>
<resource>
<directory>${basedir}/src/main/widgets/dist</directory>
<targetPath>${project.build.directory}/classes/META-INF/resources/org.richfaces.widgets/</targetPath>
</resource>
<resource>
<directory>${basedir}/src/main/widgets/components/jquery-ui/ui/</directory>
<targetPath>${project.build.directory}/classes/META-INF/resources/com.jquery.ui/</targetPath>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment