aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJessica Wagantall <jwagantall@linuxfoundation.org>2017-06-21 11:51:37 -0700
committerJessica Wagantall <jwagantall@linuxfoundation.org>2017-06-21 11:51:37 -0700
commit8a02aa9f42b31eea16feb4894bc593806be2c91a (patch)
tree8d60e47cc730267634488e23b2674463371dc8bb
parent88a51202fbf15ee5ae794c5f8e0313d95d2cbec0 (diff)
pom.xml: Updating maven-dependency-plugin version
CLM creashes after executing the tree goal. After looking online, looks like vesion 2.8 of maven-dependency-plugin can be compatible with the migration to Eclipse Aether (MNG-5354). Change-Id: Ia603e88e13456c6709da9c869e3558178e0e0bc8 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
-rw-r--r--pom.xml26
1 files changed, 25 insertions, 1 deletions
diff --git a/pom.xml b/pom.xml
index ce05aa1..a6f9f60 100644
--- a/pom.xml
+++ b/pom.xml
@@ -173,7 +173,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>