camunda-bpm-jgiven-parent
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>io.holunda.testing</groupId> <artifactId>camunda-bpm-jgiven-parent</artifactId> <version>1.22.0</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.holunda.testing</groupId> <artifactId>camunda-bpm-jgiven-parent</artifactId> <version>1.22.0</version> <packaging>pom</packaging> <name>${project.artifactId}</name> <description>Camunda BPM JGiven</description> <url>https://github.com/holunda-io/camunda-bpm-jgiven/</url> <properties> <camunda.version>7.22.0</camunda.version> <jgiven.version>1.3.1</jgiven.version> <assertj.version>3.26.3</assertj.version> <jgiven-kotlin.version>1.3.1.0</jgiven-kotlin.version> <java.version>17</java.version> <kotlin.version>2.0.20</kotlin.version> <kotlin.compiler.incremental>true</kotlin.compiler.incremental> <kotlin.compiler.jvmTarget>${java.version}</kotlin.compiler.jvmTarget> <maven.compiler.source>${java.version}</maven.compiler.source> <maven.compiler.target>${java.version}</maven.compiler.target> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <jgiven.report.dir>target/jgiven-reports</jgiven.report.dir> </properties> <modules> <module>extension</module> <!-- Example module is included via profile, see below --> </modules> <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>com.tngtech.jgiven</groupId> <artifactId>jgiven-junit</artifactId> <version>${jgiven.version}</version> </dependency> <dependency> <groupId>com.tngtech.jgiven</groupId> <artifactId>jgiven-junit5</artifactId> <version>${jgiven.version}</version> </dependency> <dependency> <groupId>org.assertj</groupId> <artifactId>assertj-core</artifactId> <version>${assertj.version}</version> </dependency> <dependency> <groupId>io.toolisticon.testing</groupId> <artifactId>jgiven-kotlin</artifactId> <version>${jgiven-kotlin.version}</version> </dependency> <dependency> <groupId>org.camunda.bpm</groupId> <artifactId>camunda-engine</artifactId> <version>${camunda.version}</version> </dependency> <dependency> <groupId>org.camunda.bpm</groupId> <artifactId>camunda-bpm-assert</artifactId> <version>${camunda.version}</version> </dependency> <dependency> <groupId>org.camunda.bpm</groupId> <artifactId>camunda-bpm-junit5</artifactId> <version>${camunda.version}</version> </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.jetbrains.kotlin</groupId> <artifactId>kotlin-stdlib-jdk8</artifactId> </dependency> <dependency> <groupId>org.jetbrains.kotlin</groupId> <artifactId>kotlin-test</artifactId> <scope>test</scope> </dependency> </dependencies> <build> <defaultGoal>clean package</defaultGoal> <sourceDirectory>src/main/kotlin</sourceDirectory> <testSourceDirectory>src/test/kotlin</testSourceDirectory> <pluginManagement> <plugins> <!-- Enforce correct Java and Maven --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-enforcer-plugin</artifactId> <version>3.5.0</version> <executions> <execution> <id>enforce-maven</id> <goals> <goal>enforce</goal> </goals> <configuration> <rules> <requireMavenVersion> <version>3.9.0</version> </requireMavenVersion> <requireJavaVersion> <version>${java.version}</version> </requireJavaVersion> </rules> </configuration> </execution> </executions> </plugin> <plugin> <!-- cleaning --> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-clean-plugin</artifactId> <version>3.4.0</version> </plugin> <plugin> <!-- java compiler --> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.13.0</version> <configuration> <encoding>UTF-8</encoding> <source>${java.version}</source> <target>${java.version}</target> </configuration> <executions> <execution> <id>default-compile</id> <phase>none</phase> </execution> <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> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>3.5.1</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-failsafe-plugin</artifactId> <version>3.5.1</version> </plugin> <plugin> <!-- resources --> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId> <version>3.3.1</version> <configuration> <encoding>UTF-8</encoding> </configuration> </plugin> <plugin> <!-- git flow --> <groupId>com.amashchenko.maven.plugin</groupId> <artifactId>gitflow-maven-plugin</artifactId> <version>1.21.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> </configuration> </plugin> <plugin> <!-- kotlin compiler --> <artifactId>kotlin-maven-plugin</artifactId> <groupId>org.jetbrains.kotlin</groupId> <version>${kotlin.version}</version> <configuration> <jvmTarget>${java.version}</jvmTarget> <languageVersion>1.9</languageVersion> <apiVersion>1.9</apiVersion> <compilerPlugins> <plugin>spring</plugin> <plugin>jpa</plugin> <plugin>no-arg</plugin> <plugin>all-open</plugin> </compilerPlugins> <pluginOptions> <!-- Each annotation is placed on its own line --> <option>all-open:annotation=io.holunda.camunda.bpm.extension.jgiven.JGivenProcessStage</option> </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> </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> <plugin> <!-- JGiven Reports --> <groupId>com.tngtech.jgiven</groupId> <artifactId>jgiven-maven-plugin</artifactId> <version>${jgiven.version}</version> <executions> <execution> <goals> <goal>report</goal> </goals> </execution> </executions> <configuration> <format>html</format> </configuration> </plugin> <plugin> <!-- javadoc for kotlin --> <groupId>org.jetbrains.dokka</groupId> <artifactId>dokka-maven-plugin</artifactId> <version>1.9.20</version> <executions> <execution> <phase>test</phase> <id>attach-javadocs</id> <goals> <goal>javadocJar</goal> </goals> </execution> </executions> </plugin> <plugin> <!-- source from kotlin --> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <version>3.6.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> <plugin> <!-- attach sources --> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>3.3.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> <!-- To sign the artifacts --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <version>3.2.7</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> <artifactId>maven-deploy-plugin</artifactId> <version>3.1.3</version> <configuration> <skip>true</skip> </configuration> </plugin> <plugin> <groupId>org.sonatype.plugins</groupId> <artifactId>nexus-staging-maven-plugin</artifactId> <version>1.7.0</version> <executions> <execution> <id>default-deploy</id> <phase>deploy</phase> <goals> <goal>deploy</goal> </goals> <configuration> <serverId>ossrh</serverId> <nexusUrl>https://oss.sonatype.org/</nexusUrl> <autoReleaseAfterClose>true</autoReleaseAfterClose> </configuration> </execution> </executions> </plugin> <!-- Install --> <plugin> <artifactId>maven-install-plugin</artifactId> <version>3.1.3</version> </plugin> </plugins> </pluginManagement> <plugins> <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.jetbrains.dokka</groupId> <artifactId>dokka-maven-plugin</artifactId> </plugin> <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.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>examples</id> <activation> <property><name>!skipExamples</name></property> </activation> <modules> <module>examples</module> </modules> </profile> </profiles> <licenses> <license> <name>Apache License, Version 2.0</name> <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url> <distribution>repo</distribution> </license> </licenses> <scm> <connection>scm:git:git@github.com:holunda-io/camunda-bpm-jgiven.git</connection> <url>scm:git:git@github.com:holunda-io/camunda-bpm-jgiven.git</url> <developerConnection>scm:git:git@github.com:holunda-io/camunda-bpm-jgiven.git</developerConnection> <tag>HEAD</tag> </scm> <distributionManagement> <site> <id>README</id> <url>https://github.com/holunda-io/camunda-bpm-jgiven</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> <pluginRepositories> <!-- required for Dokka (Kotlin javadoc) --> <pluginRepository> <id>jcenter</id> <name>JCenter</name> <url>https://jcenter.bintray.com/</url> <releases> <enabled>true</enabled> </releases> </pluginRepository> </pluginRepositories> <developers> <developer> <id>zambrovski</id> <name>Simon Zambrovski</name> <email>simon.zambrovski@holisticon.de</email> <organization>Holisticon AG</organization> <organizationUrl>https://www.holisticon.de</organizationUrl> </developer> <developer> <id>jangalinski</id> <name>Jan Galinski</name> <email>jan.galinski@holisticon.de</email> <organization>Holisticon AG</organization> <organizationUrl>https://www.holisticon.de</organizationUrl> </developer> </developers> </project>