summaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
authormark.j.leonard <mark.j.leonard@gmail.com>2018-04-18 11:17:11 +0100
committermark.j.leonard <mark.j.leonard@gmail.com>2018-04-18 11:22:16 +0100
commit3a1f764b762a91e917e9e14a00c4a7ff3c4e0745 (patch)
treeeb00692e47f7a0924734dba87f4586a12488440e /pom.xml
parentf43b8aa50bab706fdbf532a0603fd8b0df3d8fa0 (diff)
Remove dependency on org.powermock (PowerMockito)
Replace use of PowerMockito packages with the standard Mockito. Create a BabelServiceClient Factory class to simplify mocking. Remove duplicated "no mock" test classes that were not in fact free of mocking. Add a dummy sample CSAR file for testing of artifact downloads. Change-Id: Ib86f560e514e1efab0e2f732e494a032d555c7c3 Issue-ID: AAI-1049 Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml50
1 files changed, 0 insertions, 50 deletions
diff --git a/pom.xml b/pom.xml
index 8829d64..f45e580 100644
--- a/pom.xml
+++ b/pom.xml
@@ -48,7 +48,6 @@
<commons-compress.version>1.14</commons-compress.version>
<fasterxml.version>2.8.1</fasterxml.version>
<mockito.version>1.10.19</mockito.version>
- <powermock.version>1.6.2</powermock.version>
<jsr311-api.version>1.1.1</jsr311-api.version>
<jersey-client.version>1.18</jersey-client.version>
<gson.version>2.7</gson.version>
@@ -152,30 +151,6 @@
<scope>test</scope>
</dependency>
<dependency>
- <groupId>org.powermock</groupId>
- <artifactId>powermock-module-junit4</artifactId>
- <version>${powermock.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.powermock</groupId>
- <artifactId>powermock-api-mockito</artifactId>
- <version>${powermock.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.powermock</groupId>
- <artifactId>powermock-module-junit4-rule-agent</artifactId>
- <version>1.6.2</version>
- <scope>test</scope>
- <exclusions>
- <exclusion>
- <artifactId>powermock-module-javaagent</artifactId>
- <groupId>org.powermock</groupId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
<groupId>org.javassist</groupId>
<artifactId>javassist</artifactId>
<version>3.19.0-GA</version>
@@ -486,31 +461,6 @@
</plugin>
<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.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.12.4</version><!--$NO-MVN-MAN-VER$ -->
<configuration>