build-workflow
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>io.github.together</groupId>
<artifactId>build-workflow</artifactId>
<version>1.6.2</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>
<name>together Platform - BUILD Workflow</name>
<description>Default Build Workflow Definition for together Platform.</description>
<inceptionYear>01/2013</inceptionYear>
<url>https://together-platform.org</url>
<groupId>io.github.together</groupId>
<artifactId>build-workflow</artifactId>
<version>1.6.2</version>
<packaging>pom</packaging>
<modules>
<module>libraries</module>
</modules>
<properties>
<skipUnitTests>false</skipUnitTests>
<skipIntegrationTests>true</skipIntegrationTests>
<skipEnforcer>false</skipEnforcer>
<skipCoveralls>true</skipCoveralls>
<skipSwagger>true</skipSwagger>
<framework.spring.version>6.2.14</framework.spring.version>
<framework.hibernate.version>7.1.10</framework.hibernate.version>
<framework.jakarta.version>11.0.1</framework.jakarta.version>
<java.sdk.source>21</java.sdk.source>
<java.sdk.target>21</java.sdk.target>
<java.ee.version>11</java.ee.version>
<java.fx.version>17.0.6</java.fx.version>
<maven.version>[3.9,)</maven.version>
<!-- Docker execution -->
<skip.start.postgres>true</skip.start.postgres>
<directory.reporting.out>${basedir}/target/site/</directory.reporting.out>
<checkstyle.rules>${basedir}/checkstyle.xml</checkstyle.rules>
<pmd.rules>${basedir}/pmd-ruleset.xml</pmd.rules>
<spotbugs.rules>${basedir}/spotbugs-exclude.xml</spotbugs.rules>
<license.name>Apache License 2.0</license.name>
<release.repo>http://172.18.0.250:8081/repository/maven-releases/</release.repo>
<snapshot.repro>http://172.18.0.250:8081/repository/maven-snapshots/</snapshot.repro>
<site.repro>https://togeter-platform.com</site.repro>
<fetch.repo>http://172.18.0.250:8081/repository/maven-public/</fetch.repo>
</properties>
<scm>
<connection>scm:https://git.elmar-dott.com/scm/repo/TogetherPlatform/TP-CM/</connection>
<developerConnection>scm:https://git.elmar-dott.com/scm/repo/TogetherPlatform/TP-CM/</developerConnection>
<url>scm:https://git.elmar-dott.com/scm/repo/TogetherPlatform/TP-CM/</url>
</scm>
<issueManagement>
<system>Redmine</system>
<url>https://issues.elmar-dott.com/projects/tp-cm</url>
</issueManagement>
<!-- ================================================================== -->
<!-- ========================== DEPLOYMENT ======================== -->
<!-- ================================================================== -->
<distributionManagement>
<snapshotRepository>
<id>local-nexus</id>
<url>${snapshot.repro}</url>
</snapshotRepository>
<repository>
<id>local-nexus</id>
<url>${release.repo}</url>
</repository>
</distributionManagement>
<repositories>
<repository>
<id>RepositoryServer</id>
<url>${fetch.repo}</url>
</repository>
</repositories>
<!-- =================================================================== -->
<!-- =========================== BUILD ================================= -->
<!-- =================================================================== -->
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>3.6.2</version>
<executions>
<execution>
<phase>validate</phase>
<goals>
<goal>display-info</goal>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<banDuplicatePomDependencyVersions/>
<requireJavaVersion>
<version>${java.sdk.target}</version>
<message>The project used only openJDK LTS Java Versions.</message>
</requireJavaVersion>
<requireMavenVersion>
<version>${maven.version}</version>
</requireMavenVersion>
</rules>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>3.6.2</version>
<executions>
<execution>
<id>docker-run</id>
<phase>initialize</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<skip>${skip.start.postgres}</skip>
<executable>docker</executable>
<arguments>
<argument>start</argument>
<argument>postgres</argument>
</arguments>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>3.4.0</version>
<configuration>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>3.9.0</version>
<executions>
<execution>
<phase>process-resources</phase>
<goals>
<goal>copy-dependencies</goal>
</goals>
<configuration>
<excludeTransitive>true</excludeTransitive>
<transitive>false</transitive>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.14.1</version>
<configuration>
<encoding>UTF-8</encoding>
<source>${java.sdk.source}</source>
<target>${java.sdk.target}</target>
<compilerArgument>-Xlint:all</compilerArgument>
<showWarnings>true</showWarnings>
<showDeprecation>true</showDeprecation>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.5.4</version>
<configuration>
<skip>${skipUnitTests}</skip>
<testFailureIgnore>true</testFailureIgnore>
<failIfNoSpecifiedTests>false</failIfNoSpecifiedTests>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<version>3.5.4</version>
<executions>
<execution>
<phase>integration-test</phase>
<goals>
<goal>integration-test</goal>
</goals>
</execution>
</executions>
<configuration>
<skipTests>${skipIntegrationTests}</skipTests>
<testFailureIgnore>true</testFailureIgnore>
<failIfNoSpecifiedTests>false</failIfNoSpecifiedTests>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.5.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>3.5.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<version>3.1.4</version>
<configuration>
<createChecksum>true</createChecksum>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>3.1.4</version>
<executions>
<execution>
<id>deploy-private-nexus</id>
<phase>deploy</phase>
<goals>
<goal>deploy</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>0.9.0</version>
<extensions>true</extensions>
<configuration>
<publishingServerId>ossrh</publishingServerId>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>3.2.8</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.4.0</version>
</plugin>
<!-- REPORTING -->
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.14</version>
<executions>
<execution>
<id>pre-unit-test</id>
<goals>
<goal>prepare-agent</goal>
</goals>
<configuration>
<destFile>${basedir}/target/jacoco.exec</destFile>
</configuration>
</execution>
<execution>
<id>post-unit-test</id>
<phase>test</phase>
<goals>
<goal>report</goal>
</goals>
<configuration>
<dataFile>${basedir}/target/jacoco.exec</dataFile>
<outputDirectory>${directory.reporting.out}/jacoco</outputDirectory>
</configuration>
</execution>
</executions>
<configuration>
<excludes>
<exclude>org/europa/together/business/**/*</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<groupId>org.eluder.coveralls</groupId>
<artifactId>coveralls-maven-plugin</artifactId>
<version>4.3.0</version>
<configuration>
<skip>${skipCoveralls}</skip>
<jacocoReports>${basedir}/target/jacoco.xml</jacocoReports>
</configuration>
</plugin>
<plugin>
<groupId>io.swagger.core.v3</groupId>
<artifactId>swagger-maven-plugin-jakarta</artifactId>
<version>2.2.41</version>
<configuration>
<skip>${skipSwagger}</skip>
<outputFileName>swagger-API</outputFileName>
<outputFormat>JSON</outputFormat>
<outputPath>${project.build.directory}</outputPath>
<prettyPrint>true</prettyPrint>
</configuration>
<executions>
<execution>
<phase>compile</phase>
<goals>
<goal>resolve</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.sonarsource.scanner.maven</groupId>
<artifactId>sonar-maven-plugin</artifactId>
<version>5.3.0.6276</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>4.0.0-M16</version>
<dependencies>
<dependency>
<groupId>org.apache.maven.doxia</groupId>
<artifactId>doxia-module-markdown</artifactId>
<version>2.0.0</version>
</dependency>
</dependencies>
<configuration>
<inputEncoding>UTF-8</inputEncoding>
<outputEncoding>UTF-8</outputEncoding>
</configuration>
<executions>
<execution>
<id>attach-descriptor-build</id>
<phase>process-resources</phase>
<goals>
<goal>attach-descriptor</goal>
</goals>
</execution>
<execution>
<id>attach-descriptor</id>
<phase>site</phase>
<goals>
<goal>attach-descriptor</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.12.0</version>
<executions>
<execution>
<id>aggregate</id>
<phase>site</phase>
<goals>
<goal>aggregate</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<configuration>
<skip>${skipEnforcer}</skip>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
<!-- =================================================================== -->
<!-- ========================= DEPENDENCIES ============================ -->
<!-- =================================================================== -->
<dependencyManagement>
<dependencies>
<!-- REDIS -->
<dependency>
<groupId>redis.clients</groupId>
<artifactId>jedis</artifactId>
<version>7.1.0</version>
</dependency>
<!-- Global Testing Libraries -->
<dependency>
<groupId>org.apiguardian</groupId>
<artifactId>apiguardian-api</artifactId>
<version>1.1.2</version>
</dependency>
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>annotations</artifactId>
<version>3.0.1u2</version>
<scope>provided</scope>
</dependency>
<dependency>
<!-- SMTP Server Mock -->
<groupId>com.icegreen</groupId>
<artifactId>greenmail</artifactId>
<version>2.1.7</version>
<scope>test</scope>
</dependency>
<!-- TEST FRAMEWORKS -->
<dependency>
<groupId>com.google.code.bean-matchers</groupId>
<artifactId>bean-matchers</artifactId>
<version>0.14</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest</artifactId>
<version>3.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-bom</artifactId>
<version>5.20.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.junit</groupId>
<artifactId>junit-bom</artifactId>
<version>6.0.1</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-test</artifactId>
<version>${framework.spring.version}</version>
<exclusions>
<exclusion>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
</exclusion>
</exclusions>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.hibernate.orm</groupId>
<artifactId>hibernate-testing-jakarta</artifactId>
<version>6.0.0.Alpha9</version>
<scope>test</scope>
</dependency>
<!-- Bundels -->
<dependency>
<groupId>io.github.together.libraries</groupId>
<artifactId>bundle-spring</artifactId>
<version>${framework.spring.version}</version>
<type>pom</type>
</dependency>
<dependency>
<groupId>io.github.together.libraries</groupId>
<artifactId>bundle-hibernate</artifactId>
<version>${framework.hibernate.version}</version>
<type>pom</type>
</dependency>
<dependency>
<groupId>io.github.together.libraries</groupId>
<artifactId>bundle-jakarta</artifactId>
<version>${framework.jakarta.version}</version>
<type>pom</type>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>com.icegreen</groupId>
<artifactId>greenmail</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apiguardian</groupId>
<artifactId>apiguardian-api</artifactId>
</dependency>
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>annotations</artifactId>
</dependency>
<!-- SCOPE: TEST - Do not change order for test frameworks -->
<dependency>
<groupId>com.google.code.bean-matchers</groupId>
<artifactId>bean-matchers</artifactId>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest</artifactId>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-params</artifactId>
<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-engine</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.hibernate.orm</groupId>
<artifactId>hibernate-testing-jakarta</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<!-- ================================================================== -->
<!-- =========================== REPORTS ========================== -->
<!-- ================================================================== -->
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>4.0.0-M16</version>
<configuration>
<moduleExcludes>
<fml>*.fml</fml>
</moduleExcludes>
<chmod>true</chmod>
<locales>en</locales>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>3.9.0</version>
<reportSets>
<reportSet>
<reports>
<report>index</report>
<report>summary</report>
<report>plugin-management</report>
<report>dependency-management</report>
<report>licenses</report>
</reports>
</reportSet>
</reportSets>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.12.0</version>
<configuration>
<skip>${skipJavaDoc}</skip>
<includeDependencySources>false</includeDependencySources>
<quiet>true</quiet>
<maxmemory>1g</maxmemory>
<failOnError>false</failOnError>
</configuration>
<reportSets>
<reportSet>
<id>aggregate</id>
<inherited>false</inherited>
<reports>
<report>aggregate</report>
</reports>
</reportSet>
</reportSets>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>taglist-maven-plugin</artifactId>
<version>3.2.2</version>
<configuration>
<tagListOptions>
<tagClasses>
<tagClass>
<displayName>Todo Work:</displayName>
<tags>
<tag>
<matchString>todo</matchString>
<matchType>ignoreCase</matchType>
</tag>
<tag>
<matchString>FIXME</matchString>
<matchType>ignoreCase</matchType>
</tag>
</tags>
</tagClass>
</tagClasses>
</tagListOptions>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
<version>3.5.4</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>3.6.0</version>
<reportSets>
<reportSet>
<reports>
<report>checkstyle</report>
</reports>
</reportSet>
</reportSets>
<configuration>
<configLocation>${checkstyle.rules}</configLocation>
<sourceDirectories>src/main/java</sourceDirectories>
<includes>**/*.java</includes>
<format>xml</format>
<enableRSS>false</enableRSS>
<enableRulesSummary>false</enableRulesSummary>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<version>3.28.0</version>
<configuration>
<rulesets>
<ruleset>${pmd.rules}</ruleset>
</rulesets>
<format>xml</format>
<linkXref>true</linkXref>
<minimumTokens>100</minimumTokens>
<targetJdk>${java.sdk.version}</targetJdk>
</configuration>
</plugin>
<plugin>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-maven-plugin</artifactId>
<version>4.9.8.2</version>
<configuration>
<excludeFilterFile>${spotbugs.rules}</excludeFilterFile>
<plugins>
<plugin>
<groupId>com.h3xstream.findsecbugs</groupId>
<artifactId>findsecbugs-plugin</artifactId>
<version>1.14.0</version>
</plugin>
</plugins>
</configuration>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.14</version>
<reportSets>
<reportSet>
<reports>
<report>report</report>
</reports>
</reportSet>
</reportSets>
<configuration>
<dataFile>${project.build.directory}/target/jacoco-unit.exec</dataFile>
</configuration>
</plugin>
</plugins>
</reporting>
<!-- ================================================================== -->
<!-- =========================== PROFILES ========================= -->
<!-- ================================================================== -->
<profiles>
<profile>
<id>tp-release</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<configuration>
<skip>${skipEnforcer}</skip>
<rules>
<requireReleaseVersion>
<message>No SNAPSHOTS allowed!</message>
</requireReleaseVersion>
</rules>
<fail>true</fail>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<debug>false</debug>
<optimize>true</optimize>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<skip>false</skip>
<testFailureIgnore>false</testFailureIgnore>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<configuration>
<skipTests>false</skipTests>
<testFailureIgnore>false</testFailureIgnore>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>jar-no-fork</goal>
<goal>test-jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<executions>
<execution>
<id>attach-apidocs</id>
<goals>
<goal>javadoc</goal>
<goal>jar</goal>
</goals>
</execution>
</executions>
<configuration>
<javadocDirectory>${directory.reporting.out}/apidocs</javadocDirectory>
<failOnError>false</failOnError>
</configuration>
</plugin>
<plugin>
<groupId>net.nicoulaj.maven.plugins</groupId>
<artifactId>checksum-maven-plugin</artifactId>
<version>1.11</version>
<executions>
<execution>
<goals>
<goal>artifacts</goal>
</goals>
</execution>
</executions>
<configuration>
<algorithms>
<algorithm>SHA-1</algorithm>
</algorithms>
<attachChecksums>true</attachChecksums>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<configuration>
<homedir>${gpg.homedir}</homedir>
<keyname>togetherPlatform</keyname>
<secretKeyring>${gpg.tp.keypasspharse}</secretKeyring>
<defaultKeyring>${gpg.tp.keypasspharse}</defaultKeyring>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>owasp</id>
<properties>
<skipUnitTests>true</skipUnitTests>
<skipIntegrationTests>true</skipIntegrationTests>
<skipEnforcer>true</skipEnforcer>
<skipCoveralls>true</skipCoveralls>
<skipSwagger>true</skipSwagger>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.owasp</groupId>
<artifactId>dependency-check-maven</artifactId>
<version>12.1.9</version>
<executions>
<execution>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
<configuration>
<failOnError>false</failOnError>
<outputDirectory>${directory.reporting.out}</outputDirectory>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>mutation-test</id>
<properties>
<skipUnitTests>true</skipUnitTests>
<skipIntegrationTests>true</skipIntegrationTests>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.pitest</groupId>
<artifactId>pitest-maven</artifactId>
<version>1.22.0</version>
<executions>
<execution>
<id>pit-report</id>
<phase>test</phase>
<goals>
<goal>mutationCoverage</goal>
</goals>
</execution>
</executions>
<dependencies>
<!-- https://github.com/hcoles/pitest/issues/284 -->
<!-- Need this to support JUnit 5 -->
<dependency>
<groupId>org.pitest</groupId>
<artifactId>pitest-junit5-plugin</artifactId>
<version>1.2.3</version>
</dependency>
</dependencies>
<configuration>
<targetClasses>
<param>org.europa.together.*</param>
</targetClasses>
<targetTests>
<param>org.europa.together.*</param>
</targetTests>
<timeoutFactor>2.5</timeoutFactor>
<sourceDataFormats>
<sourceDataFormat>HTML</sourceDataFormat>
</sourceDataFormats>
<siteReportName>Mutation Test</siteReportName>
<reportsDirectory>${directory.reporting.out}/mutation-tests</reportsDirectory>
<siteReportDirectory>pit-site-directory</siteReportDirectory>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>clover-report</id>
<build>
<plugins>
<plugin>
<groupId>org.openclover</groupId>
<artifactId>clover-maven-plugin</artifactId>
<version>4.5.2</version>
<executions>
<execution>
<phase>test</phase>
<goals>
<goal>instrument</goal>
<goal>instrument-test</goal>
<goal>check</goal>
<goal>save-history</goal>
<goal>aggregate</goal>
<goal>clover</goal>
</goals>
</execution>
</executions>
<configuration>
<codeType>ALL</codeType>
<generateHistorical>true</generateHistorical>
<historyDir>${basedir}/src/site/clover-history/</historyDir>
<generateHtml>true</generateHtml>
<title>together Platform [Module:${project.artifactId}] - Coverage Report</title>
<cloverOutputDirectory>${directory.reporting.out}/clover/</cloverOutputDirectory>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<licenses>
<license>
<name>${license.name}</name>
<url>https://www.apache.org/licenses/LICENSE-2.0</url>
</license>
</licenses>
<developers>
<developer>
<id>CEO</id>
<name>Elmar Dott</name>
<roles>
<role>CEO</role>
<role>Architect</role>
<role>Build Maanager</role>
<role>Lead Developer</role>
</roles>
<email>elmar.dott@gmail.com</email>
<url>https://elmar-dott.com</url>
</developer>
</developers>
</project>