144 lines
3.8 KiB
XML
144 lines
3.8 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xmlns="http://maven.apache.org/POM/4.0.0"
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
<groupId>org.springframework.cloud</groupId>
|
|
<artifactId>spring-cloud-contract-parent</artifactId>
|
|
<version>2.2.0.BUILD-SNAPSHOT</version>
|
|
<relativePath>..</relativePath>
|
|
</parent>
|
|
|
|
<artifactId>spring-cloud-contract-samples</artifactId>
|
|
<packaging>pom</packaging>
|
|
<version>2.2.0.BUILD-SNAPSHOT</version>
|
|
<name>Spring Cloud Contract Samples</name>
|
|
<description>Spring Cloud Contract Samples</description>
|
|
|
|
<properties>
|
|
<main.basedir>${basedir}/..</main.basedir>
|
|
</properties>
|
|
|
|
<modules>
|
|
<module>wiremock</module>
|
|
<module>wiremock-native</module>
|
|
<module>wiremock-jetty</module>
|
|
<module>wiremock-tomcat</module>
|
|
<module>wiremock-undertow</module>
|
|
<module>wiremock-undertow-ssl</module>
|
|
<!-- standalone tests get executed separately by invoker plugin -->
|
|
</modules>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.springframework.cloud</groupId>
|
|
<artifactId>spring-cloud-contract-stub-runner</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.cloud</groupId>
|
|
<artifactId>spring-cloud-contract-maven-plugin</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.cloud</groupId>
|
|
<artifactId>spring-cloud-contract-gradle-plugin</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<artifactId>maven-deploy-plugin</artifactId>
|
|
<version>2.8.2</version>
|
|
<configuration>
|
|
<skip>true</skip>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>integration</id>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<!-- Invoke integration tests in the install phase, after the maven-plugin
|
|
is available -->
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-invoker-plugin</artifactId>
|
|
<version>3.2.1</version>
|
|
<configuration>
|
|
<settingsFile>src/it/settings.xml</settingsFile>
|
|
<projectsDirectory>standalone</projectsDirectory>
|
|
<skipInvocation>${skipTests}</skipInvocation>
|
|
<streamLogs>true</streamLogs>
|
|
<profiles>
|
|
<profile>integration</profile>
|
|
</profiles>
|
|
<pomIncludes>
|
|
<pomInclude>*/pom.xml</pomInclude>
|
|
</pomIncludes>
|
|
<goals>
|
|
<goal>clean</goal>
|
|
<goal>install</goal>
|
|
</goals>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>integration</id>
|
|
<goals>
|
|
<goal>run</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
<profile>
|
|
<id>windows</id>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<!-- Invoke integration tests in the install phase, after the maven-plugin
|
|
is available -->
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-invoker-plugin</artifactId>
|
|
<version>3.2.1</version>
|
|
<configuration>
|
|
<settingsFile>src/it/settings.xml</settingsFile>
|
|
<projectsDirectory>standalone</projectsDirectory>
|
|
<skipInvocation>${skipTests}</skipInvocation>
|
|
<streamLogs>true</streamLogs>
|
|
<profiles>
|
|
<profile>windows</profile>
|
|
</profiles>
|
|
<pomIncludes>
|
|
<pomInclude>*/pom.xml</pomInclude>
|
|
</pomIncludes>
|
|
<goals>
|
|
<goal>clean</goal>
|
|
<goal>install</goal>
|
|
</goals>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>integration</id>
|
|
<goals>
|
|
<goal>run</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
</profiles>
|
|
|
|
</project>
|