diff options
Diffstat (limited to 'aai-traversal/pom.xml')
-rw-r--r-- | aai-traversal/pom.xml | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/aai-traversal/pom.xml b/aai-traversal/pom.xml index d45af14..345b697 100644 --- a/aai-traversal/pom.xml +++ b/aai-traversal/pom.xml @@ -100,7 +100,9 @@ <micrometer-core.version>1.6.6</micrometer-core.version> <micrometer-registry-prometheus.version>1.6.6</micrometer-registry-prometheus.version> <micrometer-jersey2>1.6.6</micrometer-jersey2> + <testcontainers.version>1.6.1</testcontainers.version> <!-- End of Default ONAP Schema Properties --> + <build.helper-maven-plugin.version>3.2.0</build.helper-maven-plugin.version> </properties> <profiles> <!-- Docker profile to be used for building docker image and pushing to @@ -729,6 +731,18 @@ <groupId>org.keycloak</groupId> <artifactId>keycloak-spring-boot-starter</artifactId> </dependency> + <dependency> + <groupId>com.github.dasniko</groupId> + <artifactId>testcontainers-keycloak</artifactId> + <version>${testcontainers.version}</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.keycloak</groupId> + <artifactId>keycloak-admin-client</artifactId> + <version>${keycloak.version}</version> + <scope>test</scope> + </dependency> </dependencies> <dependencyManagement> <dependencies> @@ -964,6 +978,7 @@ <configuration> <mainClass>${start-class}</mainClass> <layout>ZIP</layout> + <classifier>exec</classifier> </configuration> <executions> <execution> @@ -1052,6 +1067,39 @@ <skip>false</skip> </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> + </plugin> </plugins> </build> </project> |