aboutsummaryrefslogtreecommitdiffstats
path: root/aai-resources/pom.xml
diff options
context:
space:
mode:
authorM.Hosnidokht <mohammad.hosnidokht@yoppworks.com>2021-09-22 08:53:31 -0400
committerM.Hosnidokht <mohammad.hosnidokht@yoppworks.com>2021-09-22 09:06:56 -0400
commit07f1e632513eddfb04815559a87f97fbeb75584c (patch)
tree3ae6b537bed1bc27846a222802a78a83a52260bd /aai-resources/pom.xml
parent047c4e1b9d10adba497c341cb6cdeec8a7d289a7 (diff)
Fix integration tests
- Fixed the issue regarding docker image dependencies https://gerrit.onap.org/r/c/aai/resources/+/123653 - Cleaned up pom file Issue-ID: AAI-3324 Signed-off-by: Mohammad Hosnidokht <mohammad.hosnidokht@yoppworks.com> Change-Id: I0e068e33756bd0cb0e66a7e19594070ab821c4ef
Diffstat (limited to 'aai-resources/pom.xml')
-rw-r--r--aai-resources/pom.xml41
1 files changed, 9 insertions, 32 deletions
diff --git a/aai-resources/pom.xml b/aai-resources/pom.xml
index 2e5786e..2c0a171 100644
--- a/aai-resources/pom.xml
+++ b/aai-resources/pom.xml
@@ -84,7 +84,9 @@
<micrometer-jersey2>1.6.6</micrometer-jersey2>
<testcontainers.version>1.6.1</testcontainers.version>
<!-- Setting some default value to not complain by editor but it will be overridden by gmaven plugin -->
- <build.helper-maven-plugin.version>3.2.0</build.helper-maven-plugin.version>
+
+ <!-- Integration tests will be skipped by default. Could be enabled here or by -DskipITs=false-->
+ <skipITs>true</skipITs>
</properties>
<profiles>
<!-- Docker profile to be used for building docker image and pushing to nexus -->
@@ -969,37 +971,12 @@
</configuration>
</plugin>
<plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>build-helper-maven-plugin</artifactId>
- <version>${build.helper-maven-plugin.version}</version>
- <executions>
- <execution>
- <id>add-integration-test-source</id>
- <phase>generate-test-sources</phase>
- <goals>
- <goal>add-test-source</goal>
- </goals>
- <configuration>
- <sources>
- <source>src/it/java</source>
- </sources>
- </configuration>
- </execution>
- <execution>
- <id>add-integration-test-resource</id>
- <phase>generate-test-resources</phase>
- <goals>
- <goal>add-test-resource</goal>
- </goals>
- <configuration>
- <resources>
- <resource>
- <directory>src/it/resources</directory>
- </resource>
- </resources>
- </configuration>
- </execution>
- </executions>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-failsafe-plugin</artifactId>
+ <version>3.0.0-M4</version>
+ <configuration>
+ <classesDirectory>${project.build.outputDirectory}</classesDirectory>
+ </configuration>
</plugin>
</plugins>
</build>