Skip to content

Instantly share code, notes, and snippets.

@kinow
Created May 17, 2013 16:11
Show Gist options
  • Save kinow/5600147 to your computer and use it in GitHub Desktop.
Save kinow/5600147 to your computer and use it in GitHub Desktop.
commons-pool-patch
Index: pom.xml
===================================================================
--- pom.xml (revision 1483879)
+++ pom.xml (working copy)
@@ -225,6 +225,34 @@
</archive>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-resources-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>additional-resources</id>
+ <phase>process-test-resources</phase>
+ <goals>
+ <goal>copy-resources</goal>
+ </goals>
+ <configuration>
+ <outputDirectory>${project.build.testOutputDirectory}</outputDirectory>
+ <resources>
+ <resource>
+ <directory>${project.basedir}/src/test</directory>
+ <includes>
+ <include>**/test1</include>
+ <include>**/test2</include>
+ </includes>
+ <excludes>
+ <exclude>**/*.java</exclude>
+ </excludes>
+ </resource>
+ </resources>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment