aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pom.xml26
1 files changed, 25 insertions, 1 deletions
diff --git a/pom.xml b/pom.xml
index 21657e1..025f0e0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -178,7 +178,31 @@
<build>
<defaultGoal>initialize</defaultGoal>
<plugins>
-
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <version>2.8</version>
+ <executions>
+ <execution>
+ <id>copy-agent</id>
+ <phase>process-test-classes</phase>
+ <goals>
+ <goal>copy</goal>
+ </goals>
+ <configuration>
+ <artifactItems>
+ <artifactItem>
+ <groupId>org.powermock</groupId>
+ <artifactId>powermock-module-javaagent</artifactId>
+ <version>1.6.2</version>
+ <outputDirectory>${project.build.directory}/agents</outputDirectory>
+ <destFileName>powermock-javaagent.jar</destFileName>
+ </artifactItem>
+ </artifactItems>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>