axon-server-testcontainer
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>io.holixon.axon.testing</groupId> <artifactId>axon-server-testcontainer</artifactId> <version>0.1.0</version> </dependency>
<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.holixon.axon.testing</groupId> <artifactId>axon-server-testcontainer</artifactId> <version>0.1.0</version> <name>axon-server-testcontainer</name> <description>Testcontainer for Axon Server</description> <url>https://github.com/holixon/axon-server-testcontainer/</url> <properties> <kotlin.version>1.7.10</kotlin.version> <java.version>11</java.version> <testcontainers.version>1.17.3</testcontainers.version> <kotlin-logging.version>2.1.23</kotlin-logging.version> <spring-boot.version>2.7.3</spring-boot.version> <axon-bom.version>4.5.17</axon-bom.version> <junit.version>5.9.0</junit.version> </properties> <dependencyManagement> <dependencies> <dependency> <groupId>org.jetbrains.kotlin</groupId> <artifactId>kotlin-bom</artifactId> <version>${kotlin.version}</version> <scope>import</scope> <type>pom</type> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-dependencies</artifactId> <version>${spring-boot.version}</version> <type>pom</type> <scope>import</scope> </dependency> <dependency> <groupId>org.axonframework</groupId> <artifactId>axon-bom</artifactId> <version>${axon-bom.version}</version> <type>pom</type> <scope>import</scope> </dependency> <dependency> <groupId>org.testcontainers</groupId> <artifactId>testcontainers-bom</artifactId> <version>${testcontainers.version}</version> <type>pom</type> <scope>import</scope> </dependency> <dependency> <groupId>org.junit</groupId> <artifactId>junit-bom</artifactId> <version>${junit.version}</version> <type>pom</type> <scope>import</scope> </dependency> </dependencies> </dependencyManagement> <dependencies> <dependency> <groupId>org.jetbrains.kotlin</groupId> <artifactId>kotlin-stdlib</artifactId> </dependency> <dependency> <groupId>org.jetbrains.kotlin</groupId> <artifactId>kotlin-reflect</artifactId> </dependency> <dependency> <groupId>org.testcontainers</groupId> <artifactId>testcontainers</artifactId> </dependency> <dependency> <groupId>io.github.microutils</groupId> <artifactId>kotlin-logging-jvm</artifactId> <version>${kotlin-logging.version}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-test</artifactId> <optional>true</optional> </dependency> <!-- TEST --> <dependency> <groupId>org.axonframework</groupId> <artifactId>axon-spring-boot-starter</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.axonframework</groupId> <artifactId>axon-modelling</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.testcontainers</groupId> <artifactId>junit-jupiter</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-test</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.mockito.kotlin</groupId> <artifactId>mockito-kotlin</artifactId> <version>4.0.0</version> <scope>test</scope> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-params</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.assertj</groupId> <artifactId>assertj-core</artifactId> <version>3.23.1</version> <scope>test</scope> </dependency> <dependency> <groupId>org.jetbrains.kotlin</groupId> <artifactId>kotlin-test-junit5</artifactId> <scope>test</scope> </dependency> </dependencies> <build> <defaultGoal>clean jacoco:prepare-agent package</defaultGoal> <resources> <!-- ignore gitkeep marker files --> <resource> <directory>src/main/resources</directory> <excludes> <exclude>.gitkeep</exclude> </excludes> </resource> </resources> <pluginManagement> <plugins> <!-- cleaning --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-clean-plugin</artifactId> <version>3.2.0</version> </plugin> <!-- Coverage metering --> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>0.8.8</version> <executions> <execution> <id>pre-unit-test</id> <goals> <goal>prepare-agent</goal> </goals> </execution> <execution> <id>report</id> <goals> <goal>report</goal> </goals> </execution> </executions> </plugin> <!-- java compiler --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.10.1</version> <configuration> <encoding>UTF-8</encoding> <release>${java.version}</release> <source>${java.version}</source> <target>${java.version}</target> </configuration> <executions> <!-- Replacing default-compile as it is treated specially by maven --> <execution> <id>default-compile</id> <phase>none</phase> </execution> <!-- Replacing default-testCompile as it is treated specially by maven --> <execution> <id>default-testCompile</id> <phase>none</phase> </execution> <execution> <id>java-compile</id> <phase>compile</phase> <goals> <goal>compile</goal> </goals> </execution> <execution> <id>java-test-compile</id> <phase>test-compile</phase> <goals> <goal>testCompile</goal> </goals> </execution> </executions> </plugin> <!-- kotlin compiler --> <plugin> <groupId>org.jetbrains.kotlin</groupId> <artifactId>kotlin-maven-plugin</artifactId> <version>${kotlin.version}</version> <configuration> <jvmTarget>${java.version}</jvmTarget> <compilerPlugins> <plugin>spring</plugin> <plugin>no-arg</plugin> <plugin>all-open</plugin> </compilerPlugins> <pluginOptions> </pluginOptions> </configuration> <executions> <execution> <id>compile</id> <goals> <goal>compile</goal> </goals> <configuration> <sourceDirs> <sourceDir>${project.basedir}/src/main/kotlin</sourceDir> </sourceDirs> </configuration> </execution> <execution> <id>test-compile</id> <goals> <goal>test-compile</goal> </goals> <configuration> <sourceDirs> <sourceDir>${project.basedir}/src/test/kotlin</sourceDir> <sourceDir>${project.basedir}/src/test/java</sourceDir> </sourceDirs> </configuration> </execution> </executions> <dependencies> <dependency> <groupId>org.jetbrains.kotlin</groupId> <artifactId>kotlin-maven-allopen</artifactId> <version>${kotlin.version}</version> </dependency> <dependency> <groupId>org.jetbrains.kotlin</groupId> <artifactId>kotlin-maven-noarg</artifactId> <version>${kotlin.version}</version> </dependency> </dependencies> </plugin> <!-- resources --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId> <version>3.3.0</version> <configuration> <encoding>UTF-8</encoding> </configuration> </plugin> <!-- Unit Tests --> <plugin> <artifactId>maven-surefire-plugin</artifactId> <version>2.22.2</version> <configuration> <encoding>UTF-8</encoding> <useSystemClassLoader>false</useSystemClassLoader> <shutdown>kill</shutdown> <runOrder>random</runOrder> <argLine>--illegal-access=permit -Djava.awt.headless=true ${argLine} -XX:+StartAttachListener</argLine> <excludes> <exclude>**/*ITest.*</exclude> </excludes> </configuration> </plugin> <!-- ITests --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-failsafe-plugin</artifactId> <version>2.22.2</version> <executions> <execution> <goals> <goal>integration-test</goal> </goals> </execution> </executions> <configuration> <encoding>UTF-8</encoding> <argLine>--illegal-access=permit</argLine> <includes> <include>**/*ITest.*</include> </includes> </configuration> </plugin> <!-- javadoc for kotlin --> <plugin> <groupId>org.jetbrains.dokka</groupId> <artifactId>dokka-maven-plugin</artifactId> <version>1.7.10</version> <executions> <execution> <phase>package</phase> <id>attach-javadocs</id> <goals> <goal>javadocJar</goal> </goals> </execution> </executions> <configuration> <jdkVersion>11</jdkVersion> <reportUndocumented>false</reportUndocumented> <skipEmptyPackages>true</skipEmptyPackages> </configuration> </plugin> <!-- javadoc for java --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>3.4.1</version> <executions> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <!-- source from kotlin --> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <version>3.3.0</version> <executions> <execution> <phase>generate-sources</phase> <goals> <goal>add-source</goal> </goals> <configuration> <sources> <source>${project.basedir}/src/main/kotlin</source> </sources> </configuration> </execution> </executions> </plugin> <!-- attach sources --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>3.2.1</version> <executions> <execution> <id>attach-sources</id> <phase>package</phase> <goals> <goal>jar</goal> </goals> <configuration> <attach>true</attach> <forceCreation>true</forceCreation> </configuration> </execution> </executions> </plugin> <!-- gitflow --> <plugin> <groupId>com.amashchenko.maven.plugin</groupId> <artifactId>gitflow-maven-plugin</artifactId> <version>1.18.0</version> <configuration> <gitFlowConfig> <productionBranch>master</productionBranch> <developmentBranch>develop</developmentBranch> <featureBranchPrefix>feature/</featureBranchPrefix> <releaseBranchPrefix>release/</releaseBranchPrefix> <hotfixBranchPrefix>hotfix/</hotfixBranchPrefix> <supportBranchPrefix>support/</supportBranchPrefix> <origin>origin</origin> </gitFlowConfig> <useSnapshotInHotfix>true</useSnapshotInHotfix> <useSnapshotInRelease>true</useSnapshotInRelease> <keepBranch>false</keepBranch> <pushRemote>true</pushRemote> <verbose>true</verbose> </configuration> </plugin> <!-- To sign the artifacts --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <version>3.0.1</version> <configuration> <gpgArguments> <arg>--batch</arg> <arg>--yes</arg> <arg>--pinentry-mode</arg> <arg>loopback</arg> </gpgArguments> </configuration> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> </execution> </executions> </plugin> <!-- Deploy --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-deploy-plugin</artifactId> <version>3.0.0</version> <configuration> <skip>true</skip> </configuration> </plugin> <!-- nexus staging --> <plugin> <groupId>org.sonatype.plugins</groupId> <artifactId>nexus-staging-maven-plugin</artifactId> <version>1.6.13</version> <configuration> <autoReleaseAfterClose>true</autoReleaseAfterClose> <serverId>ossrh</serverId> <nexusUrl>https://oss.sonatype.org/</nexusUrl> </configuration> <executions> <execution> <id>default-deploy</id> <phase>deploy</phase> <goals> <goal>deploy</goal> </goals> </execution> </executions> </plugin> <!-- Install --> <plugin> <artifactId>maven-install-plugin</artifactId> <version>3.0.1</version> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>versions-maven-plugin</artifactId> <version>2.11.0</version> <configuration> <generateBackupPoms>false</generateBackupPoms> </configuration> </plugin> <!-- Enforce --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-enforcer-plugin</artifactId> <version>3.1.0</version> <executions> <execution> <id>enforce-maven</id> <goals> <goal>enforce</goal> </goals> <configuration> <rules> <requireJavaVersion> <version>${java.version}</version> </requireJavaVersion> <requireMavenVersion> <version>3.6.0</version> </requireMavenVersion> </rules> </configuration> </execution> </executions> </plugin> </plugins> </pluginManagement> <plugins> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-enforcer-plugin</artifactId> </plugin> <plugin> <groupId>org.jetbrains.kotlin</groupId> <artifactId>kotlin-maven-plugin</artifactId> </plugin> </plugins> </build> <profiles> <!-- Profile creating all artifacts: JARs, POMs, Sources, JavaDoc and all signatures. --> <profile> <id>release</id> <activation> <property> <name>release</name> </property> </activation> <build> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> </plugin> <plugin> <groupId>org.jetbrains.dokka</groupId> <artifactId>dokka-maven-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> </plugin> <plugin> <groupId>org.sonatype.plugins</groupId> <artifactId>nexus-staging-maven-plugin</artifactId> </plugin> </plugins> </build> </profile> <profile> <id>itest</id> <build> <defaultGoal>integration-test failsafe:verify</defaultGoal> <plugins> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <configuration> <skip>true</skip> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> <skipTests>true</skipTests> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-failsafe-plugin</artifactId> </plugin> </plugins> </build> </profile> </profiles> <licenses> <license> <name>The Apache Software License, Version 2.0</name> <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url> </license> </licenses> <scm> <connection>scm:git:git@github.com:holixon/axon-server-testcontainer.git</connection> <url>scm:git:git@github.com:holixon/axon-server-testcontainer.git</url> <developerConnection>scm:git:git@github.com:holixon/axon-server-testcontainer.git</developerConnection> <tag>HEAD</tag> </scm> <distributionManagement> <site> <id>README</id> <url>https://github.com/holixon/axon-server-testcontainer/blob/develop/README.md</url> </site> <snapshotRepository> <id>ossrh</id> <url>https://oss.sonatype.org/content/repositories/snapshots</url> </snapshotRepository> <repository> <id>ossrh</id> <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> </repository> </distributionManagement> <developers> <developer> <id>jangalinski</id> <name>Jan Galinski</name> <roles> <role>Product Owner</role> <role>Developer</role> </roles> <organization>Holisticon AG</organization> <organizationUrl>https://holisticon.de</organizationUrl> </developer> <developer> <id>zambrovski</id> <name>Simon Zmbrovski</name> <roles> <role>Developer</role> <role>Toolsmith</role> </roles> <organization>Holisticon AG</organization> <organizationUrl>https://holisticon.de</organizationUrl> </developer> </developers> </project>