<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <parent> <artifactId>parent-modules</artifactId> <groupId>com.baeldung</groupId> <version>1.0.0-SNAPSHOT</version> <relativePath>../../</relativePath> </parent> <modelVersion>4.0.0</modelVersion> <groupId>com.baeldung</groupId> <artifactId>java-cockroachdb</artifactId> <version>1.0-SNAPSHOT</version> <properties> <postgresql.version>42.1.4</postgresql.version> </properties> <dependencies> <dependency> <groupId>org.postgresql</groupId> <artifactId>postgresql</artifactId> <version>${postgresql.version}</version> </dependency> </dependencies> <profiles> <profile> <id>integration</id> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <executions> <execution> <phase>integration-test</phase> <goals> <goal>test</goal> </goals> <configuration> <excludes> <exclude>**/*ManualTest.java</exclude> </excludes> <includes> <include>**/*IntegrationTest.java</include> </includes> </configuration> </execution> </executions> <configuration> <systemPropertyVariables> <test.mime>json</test.mime> </systemPropertyVariables> </configuration> </plugin> </plugins> </build> </profile> </profiles> <repositories> <repository> <id>Central</id> <name>Central</name> <url>http://repo1.maven.org/maven2/</url> <layout>default</layout> </repository> </repositories> </project>