strimzi-test-container
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>io.strimzi</groupId> <artifactId>strimzi-test-container</artifactId> <version>0.111.0-RC1</version> </dependency>
<?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"> <modelVersion>4.0.0</modelVersion> <groupId>io.strimzi</groupId> <artifactId>strimzi-test-container</artifactId> <packaging>jar</packaging> <version>0.111.0-RC1</version> <licenses> <license> <name>Apache License, Version 2.0</name> <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url> </license> </licenses> <name>Strimzi test container</name> <description>The test container repository primarily relates to developing and maintaining test container code using Kafka image from the `strimzi/test-container-images` repository.</description> <url>https://github.com/strimzi/test-container</url> <scm> <connection>scm:git:git:/github.com/strimzi/test-container.git</connection> <developerConnection>scm:git:ssh://github.com/strimzi/test-container.git</developerConnection> <url>https://github.com/strimzi/test-container</url> </scm> <issueManagement> <system>GitHub</system> <url>https://github.com/strimzi/test-container/issues</url> </issueManagement> <developers> <developer> <name>Tom Bentley</name> <email>tbentley@redhat.com</email> <organization>Red Hat</organization> <organizationUrl>https://www.redhat.com</organizationUrl> </developer> <developer> <name>Paolo Patierno</name> <email>ppatierno@live.com</email> <organization>Red Hat</organization> <organizationUrl>https://www.redhat.com</organizationUrl> </developer> <developer> <name>Jakub Scholz</name> <email>github@scholzj.com</email> <organization>Red Hat</organization> <organizationUrl>https://www.redhat.com</organizationUrl> </developer> <developer> <name>Sam Hawker</name> <email>sam.b.hawker@gmail.com</email> <organization>IBM</organization> <organizationUrl>https://www.ibm.com</organizationUrl> </developer> <developer> <name>Jakub Stejskal</name> <email>xstejs24@gmail.com</email> <organization>Red Hat</organization> <organizationUrl>https://www.redhat.com</organizationUrl> </developer> <developer> <name>Stanislav Knot</name> <email>sknot@redhat.com</email> <organization>Red Hat</organization> <organizationUrl>https://www.redhat.com</organizationUrl> </developer> <developer> <name>Paul Mellor</name> <email>pmellor@redhat.com</email> <organization>Red Hat</organization> <organizationUrl>https://www.redhat.com</organizationUrl> </developer> <developer> <name>Lukáš Král</name> <email>l.kral@outlook.com</email> <organization>Red Hat</organization> <organizationUrl>https://www.redhat.com</organizationUrl> </developer> <developer> <name>Maros Orsak</name> <email>morsak@redhat.com</email> <organization>Red Hat</organization> <organizationUrl>https://www.redhat.com</organizationUrl> </developer> </developers> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <!-- JAVA CODE VERSION --> <maven.compiler.release>11</maven.compiler.release> <!-- DEPENDENCY CODE VERSIONS --> <test-containers.version>1.21.0</test-containers.version> <spotbugs.version>4.9.3</spotbugs.version> <log4j.version>2.19.0</log4j.version> <docker-java.version>3.5.0</docker-java.version> <kafka.version>4.0.0</kafka.version> <slf4j.version>1.7.36</slf4j.version> <fasterxml.jackson-core.version>2.19.0</fasterxml.jackson-core.version> <fasterxml.jackson-databind.version>2.19.0</fasterxml.jackson-databind.version> <toxiproxy.java.version>2.1.7</toxiproxy.java.version> <pitest-annotations.version>2.2.1</pitest-annotations.version> <!-- DEPENDENCY TEST VERSIONS --> <jupiter.version>5.11.4</jupiter.version> <hamcrest.version>2.2</hamcrest.version> <maven-surefire-failsafe-plugin.version>3.1.2</maven-surefire-failsafe-plugin.version> <!-- for Java 11 compatibility (newer versions does not support Java 11) --> <testcontainers-keycloak.version>2.6.0</testcontainers-keycloak.version> <fasterxml.jackson-annotations.version>2.16.2</fasterxml.jackson-annotations.version> <kafka-oauth-client.version>0.16.2</kafka-oauth-client.version> <mockito.version>5.17.0</mockito.version> <!-- PLUGIN VERSIONS --> <maven-jar-plugin.version>3.4.0</maven-jar-plugin.version> <maven.compiler-plugin.version>3.11.0</maven.compiler-plugin.version> <maven.javadoc-plugin.version>3.5.0</maven.javadoc-plugin.version> <maven.source-plugin.version>3.2.1</maven.source-plugin.version> <maven.checkstyle.version>3.5.0</maven.checkstyle.version> <maven.gpg.version>1.6</maven.gpg.version> <central-publishing-maven-plugin.version>0.7.0</central-publishing-maven-plugin.version> <pit-junit-plugin.version>1.2.1</pit-junit-plugin.version> <pit-plugin.version>1.18.1</pit-plugin.version> <!-- FIX VULNERABILITY VERSIONS --> <commons-compress.version>1.27.1</commons-compress.version> <commons-codec.version>1.18.0</commons-codec.version> <junit4.version>4.13.2</junit4.version> <!-- properties to skip surefire tests during failsafe execution --> <skipTests>false</skipTests> <skip.surefire.tests>${skipTests}</skip.surefire.tests> </properties> <dependencies> <!-- CODE DEPENDENCY --> <dependency> <groupId>org.testcontainers</groupId> <artifactId>testcontainers</artifactId> <version>${test-containers.version}</version> </dependency> <dependency> <groupId>org.testcontainers</groupId> <artifactId>toxiproxy</artifactId> <version>${test-containers.version}</version> </dependency> <dependency> <groupId>com.github.spotbugs</groupId> <artifactId>spotbugs-annotations</artifactId> <version>${spotbugs.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>com.github.docker-java</groupId> <artifactId>docker-java-api</artifactId> <version>${docker-java.version}</version> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> <version>${slf4j.version}</version> </dependency> <dependency> <groupId>org.apache.logging.log4j</groupId> <artifactId>log4j-slf4j-impl</artifactId> <version>${log4j.version}</version> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-core</artifactId> <version>${fasterxml.jackson-core.version}</version> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-databind</artifactId> <version>${fasterxml.jackson-databind.version}</version> </dependency> <dependency> <groupId>eu.rekawek.toxiproxy</groupId> <artifactId>toxiproxy-java</artifactId> <version>${toxiproxy.java.version}</version> </dependency> <!-- TEST DEPENDENCY --> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-api</artifactId> <version>${jupiter.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-params</artifactId> <version>${jupiter.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.hamcrest</groupId> <artifactId>hamcrest</artifactId> <version>${hamcrest.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.kafka</groupId> <artifactId>kafka-clients</artifactId> <version>${kafka.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>com.github.dasniko</groupId> <artifactId>testcontainers-keycloak</artifactId> <version>${testcontainers-keycloak.version}</version> <scope>test</scope> </dependency> <!-- for JaasClientOauthLoginCallbackHandler callback --> <dependency> <groupId>io.strimzi</groupId> <artifactId>kafka-oauth-client</artifactId> <version>${kafka-oauth-client.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-annotations</artifactId> <version>${fasterxml.jackson-annotations.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-core</artifactId> <version>${mockito.version}</version> <scope>test</scope> </dependency> <!-- needed for PIT (mutation testing) --> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-engine</artifactId> <version>${jupiter.version}</version> <scope>test</scope> </dependency> <!-- overriding version of commons-compress for Test container - Vulnerability --> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-compress</artifactId> <version>${commons-compress.version}</version> </dependency> <!-- address compatibility issues that arise from upgrading `commons-compress`. Version 1.26.0 of `commons-compress` relies on functionalities provided by `commons-codec` 1.16.1, leading to a requirement for this specific version of `commons-codec` to avoid classpath conflicts and ensure runtime compatibility. --> <dependency> <groupId>commons-codec</groupId> <artifactId>commons-codec</artifactId> <version>${commons-codec.version}</version> </dependency> </dependencies> <build> <plugins> <!-- for copy resource to classes --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId> <version>3.1.0</version> <executions> <execution> <id>copy-resources</id> <phase>install</phase> <goals> <goal>copy-resources</goal> </goals> <configuration> <outputDirectory>${project.basedir}/target/classes/</outputDirectory> <resources> <resource> <directory>src/main/resources</directory> <includes> <include>**/*</include> </includes> </resource> </resources> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>${maven.compiler-plugin.version}</version> <executions> <execution> <id>default-compile</id> <phase>compile</phase> <goals> <goal>compile</goal> </goals> <configuration> <compilerArgs> <arg>-Xlint:unchecked,deprecation</arg> <arg>-Werror</arg> </compilerArgs> </configuration> </execution> </executions> <configuration> <source>${maven.compiler.source}</source> <target>${maven.compiler.target}</target> <release>11</release> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-failsafe-plugin</artifactId> <version>${maven-surefire-failsafe-plugin.version}</version> <executions> <execution> <goals> <goal>integration-test</goal> <goal>verify</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>${maven-surefire-failsafe-plugin.version}</version> <configuration> <skipTests>${skip.surefire.tests}</skipTests> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <version>${maven-jar-plugin.version}</version> <configuration> <archive> <manifest> <addDefaultImplementationEntries>true</addDefaultImplementationEntries> <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries> </manifest> </archive> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>${maven.javadoc-plugin.version}</version> <executions> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> <configuration> <sourcepath>${project.build.sourceDirectory}:${project.build.directory}/generated-sources/annotations</sourcepath> <show>public</show> <failOnError>true</failOnError> <failOnWarnings>false</failOnWarnings> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>${maven.source-plugin.version}</version> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> <version>${maven.checkstyle.version}</version> <dependencies> <dependency> <groupId>com.puppycrawl.tools</groupId> <artifactId>checkstyle</artifactId> <version>8.29</version> </dependency> </dependencies> <executions> <execution> <id>validate</id> <phase>validate</phase> <configuration> <configLocation>.checkstyle/checkstyle.xml</configLocation> <includeTestSourceDirectory>true</includeTestSourceDirectory> <consoleOutput>true</consoleOutput> <failsOnError>true</failsOnError> </configuration> <goals> <goal>check</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.pitest</groupId> <artifactId>pitest-maven</artifactId> <version>${pit-plugin.version}</version> <dependencies> <dependency> <groupId>org.pitest</groupId> <artifactId>pitest-junit5-plugin</artifactId> <version>${pit-junit-plugin.version}</version> </dependency> </dependencies> <configuration> <targetClasses> <!-- we not want to include also WaitException, Utils, KafkaVersionService because we mainly focus mutation core classes (i.e., Strimzi*, KafkaContainer) --> <param>io.strimzi.test.container.Strimzi*</param> <param>io.strimzi.test.container.KafkaContainer</param> </targetClasses> <targetTests> <!-- include just UTs within mutation and prevent image pulling --> <param>io.strimzi.test.container.Strimzi*Test</param> </targetTests> <avoidCallsTo> <avoidCallsTo>java.util.logging</avoidCallsTo> <avoidCallsTo>org.apache.log4j</avoidCallsTo> <avoidCallsTo>org.slf4j</avoidCallsTo> <avoidCallsTo>org.apache.commons.logging</avoidCallsTo> </avoidCallsTo> <mutationThreshold>96</mutationThreshold> <coverageThreshold>76</coverageThreshold> <verbose>true</verbose> </configuration> </plugin> </plugins> </build> <profiles> <profile> <id>central</id> <activation> <activeByDefault>false</activeByDefault> </activation> <properties> <!--suppress UnresolvedMavenProperty --> <gpg.executable>${env.GPG_EXECUTABLE}</gpg.executable> <!--suppress UnresolvedMavenProperty --> <gpg.passphrase>${env.GPG_PASSPHRASE}</gpg.passphrase> </properties> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <version>${maven.gpg.version}</version> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> <configuration> <gpgArguments> <arg>--batch</arg> <arg>--pinentry-mode</arg> <arg>loopback</arg> </gpgArguments> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.sonatype.central</groupId> <artifactId>central-publishing-maven-plugin</artifactId> <version>${central-publishing-maven-plugin.version}</version> <extensions>true</extensions> <configuration> <publishingServerId>central</publishingServerId> </configuration> </plugin> </plugins> </build> </profile> </profiles> </project>