summaryrefslogtreecommitdiffstats
path: root/testsuites/integration/integration-uservice-test/pom.xml
diff options
context:
space:
mode:
authorPamela Dragosh <pdragosh@research.att.com>2018-11-08 20:06:03 +0000
committerGerrit Code Review <gerrit@onap.org>2018-11-08 20:06:03 +0000
commitf5f76a2e0d8fb2fd6e17bb5f0e85a3f7d29cf0c4 (patch)
tree1370b6bad00367b6009f3dfb6a16a7008e4379e1 /testsuites/integration/integration-uservice-test/pom.xml
parent8e6b49616df8e47a1c00629b20dcf947ea0bca68 (diff)
parentcad452cdb6d999f822fe11dc4fdd232cce30ff6a (diff)
Merge "Refactor unit test data" into casablanca3.0.0-ONAP2.0.3
Diffstat (limited to 'testsuites/integration/integration-uservice-test/pom.xml')
-rw-r--r--testsuites/integration/integration-uservice-test/pom.xml37
1 files changed, 30 insertions, 7 deletions
diff --git a/testsuites/integration/integration-uservice-test/pom.xml b/testsuites/integration/integration-uservice-test/pom.xml
index c139dbe6f..76281e42a 100644
--- a/testsuites/integration/integration-uservice-test/pom.xml
+++ b/testsuites/integration/integration-uservice-test/pom.xml
@@ -63,12 +63,6 @@
</dependency>
<dependency>
<groupId>org.onap.policy.apex-pdp.plugins.plugins-executor</groupId>
- <artifactId>plugins-executor-mvel</artifactId>
- <version>${project.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.onap.policy.apex-pdp.plugins.plugins-executor</groupId>
<artifactId>plugins-executor-javascript</artifactId>
<version>${project.version}</version>
<scope>test</scope>
@@ -190,11 +184,40 @@
<build>
<plugins>
+ <!-- Copy required resources and examples -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>unpack-examples</id>
+ <phase>generate-test-resources</phase>
+ <goals>
+ <goal>unpack</goal>
+ </goals>
+ <configuration>
+ <artifactItems>
+ <artifactItem>
+ <groupId>org.onap.policy.apex-pdp.testsuites.integration</groupId>
+ <artifactId>integration-common</artifactId>
+ <version>${project.version}</version>
+ <type>jar</type>
+ <overWrite>false</overWrite>
+ <outputDirectory>${project.build.directory}</outputDirectory>
+ <includes>examples/**/*</includes>
+ </artifactItem>
+ </artifactItems>
+ <overWriteReleases>true</overWriteReleases>
+ <overWriteSnapshots>true</overWriteSnapshots>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
- <forkMode>always</forkMode>
+ <reuseForks>false</reuseForks>
</configuration>
</plugin>
</plugins>