gematik-parent
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>de.gematik</groupId> <artifactId>gematik-parent</artifactId> <version>2.0.0-alpha8</version> </dependency>
<?xml version="1.0" encoding="UTF-8"?> <!-- START SNIPPET: Alles --> <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/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <!-- Koordinaten --> <groupId>de.gematik</groupId> <artifactId>gematik-parent</artifactId> <!-- <version>2.0.0-SNAPSHOT</version>--> <version>2.0.0-alpha8</version> <packaging>pom</packaging> <description>The Company Parent with functionalities for Version handling of plugins</description> <name>Gematik-Parent</name> <url>https://github.com/gematik/parent</url> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <maven.compiler.encoding>UTF-8</maven.compiler.encoding> <!-- Plugin Management Build --> <version.appassembler-maven-plugin>2.1.0</version.appassembler-maven-plugin> <version.maven-assembly-plugin>3.3.0</version.maven-assembly-plugin> <version.build-helper-maven-plugin>3.2.0</version.build-helper-maven-plugin> <version.buildnumber-maven-plugin>1.4</version.buildnumber-maven-plugin> <version.maven-compiler-plugin>3.8.1</version.maven-compiler-plugin> <version.maven-jar-plugin>3.2.0</version.maven-jar-plugin> <version.java>11</version.java> <version.maven-release-plugin>3.0.0-M1</version.maven-release-plugin> <version.maven-resources-plugin>3.2.0</version.maven-resources-plugin> <version.maven-war-plugin>3.3.1</version.maven-war-plugin> <version.maven-clean-plugin>3.1.0</version.maven-clean-plugin> <version.maven-source-plugin>3.2.0</version.maven-source-plugin> <version.maven-javadoc-plugin>3.2.0</version.maven-javadoc-plugin> <version.versions-maven-plugin>2.8.1</version.versions-maven-plugin> <version.plugin.gpg>1.6</version.plugin.gpg> <!-- Plugin Management QS and Reporting --> <version.maven-dependency-plugin>3.1.2</version.maven-dependency-plugin> <version.jacoco-maven-plugin>0.8.6</version.jacoco-maven-plugin> <version.maven-surefire-plugin>3.0.0-M5</version.maven-surefire-plugin> <version.maven-surefire-report-plugin>3.0.0-M5</version.maven-surefire-report-plugin> <!-- Test Coverage in SonarQube--> <sonar.coverage.jacoco.xmlReportPaths>**/site/jacoco/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths> <version.junit>4.13.1</version.junit> <version.log4j2>2.14</version.log4j2> <version.log4j>1.2.17</version.log4j> <version.mockito>3.7.7</version.mockito> <version.slf4j-api>1.7.30</version.slf4j-api> </properties> <!-- Projekteinstellungen: Build --> <build> <plugins> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>${version.jacoco-maven-plugin}</version> <executions> <execution> <id>prepare-agent</id> <goals> <goal>prepare-agent</goal> </goals> </execution> <execution> <id>report</id> <phase>prepare-package</phase> <goals> <goal>report</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>${version.maven-surefire-plugin}</version> <configuration> <excludes> <exclude>**/*LocalTest.java</exclude> <exclude>**/*IntegrationTest.java</exclude> </excludes> </configuration> </plugin> </plugins> <pluginManagement> <plugins> <!-- Plugin Management Build --> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>versions-maven-plugin</artifactId> <version>${version.versions-maven-plugin}</version> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>appassembler-maven-plugin</artifactId> <version>${version.appassembler-maven-plugin}</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-assembly-plugin</artifactId> <version>${version.maven-assembly-plugin}</version> <executions> <execution> <phase>package</phase> <goals> <goal>single</goal> </goals> <configuration> <appendAssemblyId> false </appendAssemblyId> <finalName>assembly</finalName> <descriptors> <descriptor> src/main/assembly/debug.xml </descriptor> </descriptors> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <version>${version.build-helper-maven-plugin}</version> <executions> <execution> <id>remove-old-artifacts</id> <phase>package</phase> <goals> <goal>remove-project-artifact</goal> </goals> <configuration> <removeAll>true</removeAll><!-- remove all versions of built artifacts including all versions. Install phase will regenerate --> <failOnError>false</failOnError> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>buildnumber-maven-plugin</artifactId> <version>${version.buildnumber-maven-plugin}</version> <executions> <execution> <phase>validate</phase> <goals> <goal>create</goal> </goals> </execution> </executions> <configuration> <format>{0,date,yyyy-MM-dd HH:mm:ss}</format> <items> <item>timestamp</item> </items> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>${version.maven-compiler-plugin}</version> <configuration> <encoding>${project.build.sourceEncoding}</encoding> <source>${version.java}</source> <target>${version.java}</target> <debug>true</debug> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>${version.maven-source-plugin}</version> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>${version.maven-javadoc-plugin}</version> <configuration> <doclint>none</doclint> </configuration> <executions> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>exec-maven-plugin</artifactId> <version>${version.exec}</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <version>${version.maven-jar-plugin}</version> <configuration> <archive> <manifestEntries> <Build-Version> ${project.version} </Build-Version> <Build-Date>${buildNumber}</Build-Date> </manifestEntries> </archive> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-release-plugin</artifactId> <version>${version.maven-release-plugin}</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId> <version>${version.maven-resources-plugin}</version> <configuration> <encoding>UTF-8</encoding> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-war-plugin</artifactId> <version>${version.maven-war-plugin}</version> <configuration> <archive> <manifestEntries> <Build-Version> ${project.version} </Build-Version> <Build-Date>${buildNumber}</Build-Date> </manifestEntries> </archive> </configuration> </plugin> </plugins> </pluginManagement> </build> <!-- Reporting Plugins --> <reporting> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <version>${version.maven-dependency-plugin}</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>${version.maven-javadoc-plugin}</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-clean-plugin</artifactId> <version>${version.maven-clean-plugin}</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-report-plugin</artifactId> <version>${version.maven-surefire-report-plugin}</version> </plugin> </plugins> </reporting> <!-- Profile --> <profiles> <profile> <id>activate-integration-tests</id> <build> <plugins> <plugin> <artifactId>maven-surefire-plugin</artifactId> <configuration> <excludes> <exclude>**/*LocalTest.java</exclude> </excludes> </configuration> </plugin> </plugins> </build> </profile> <profile> <id>external</id> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <version>${version.plugin.gpg}</version> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> <configuration> <!-- This is necessary for gpg to not try to use the pinentry programs --> <gpgArguments> <arg>--pinentry-mode</arg> <arg>loopback</arg> </gpgArguments> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.sonatype.plugins</groupId> <artifactId>nexus-staging-maven-plugin</artifactId> <version>1.6.7</version> <extensions>true</extensions> <configuration> <serverId>ossrh</serverId> <nexusUrl>https://oss.sonatype.org/</nexusUrl> <stagingProgressTimeoutMinutes>20</stagingProgressTimeoutMinutes> </configuration> </plugin> </plugins> </build> </profile> </profiles> <!-- Dependency Management --> <dependencyManagement> <dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>${version.junit}</version> <scope>test</scope> </dependency> <dependency> <groupId>log4j</groupId> <artifactId>log4j</artifactId> <version>${version.log4j}</version> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-core</artifactId> <version>${version.mockito}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> <version>${version.slf4j-api}</version> </dependency> <dependency> <groupId>org.apache.logging.log4j</groupId> <artifactId>log4j-api</artifactId> <version>${version.log4j2}</version> </dependency> <dependency> <groupId>org.apache.logging.log4j</groupId> <artifactId>log4j-core</artifactId> <version>${version.log4j2}</version> </dependency> <dependency> <groupId>org.apache.logging.log4j</groupId> <artifactId>log4j-slf4j-impl</artifactId> <version>${version.log4j2}</version> <scope>runtime</scope> </dependency> </dependencies> </dependencyManagement> <!-- Projektbeziehungen --> <dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>${version.junit}</version> <scope>test</scope> </dependency> </dependencies> <distributionManagement> <repository> <id>releases</id> <url>${releaseDeploymentRepository}</url> </repository> <snapshotRepository> <id>snapshots</id> <url>${snapshotDeploymentRepository}</url> </snapshotRepository> </distributionManagement> <!-- Projektumgebungsinformationen --> <scm> <url>https://github.com/gematik/parent</url> <connection>scm:git:git://github.com/gematik/parent.git</connection> <developerConnection>scm:git:ssh://git@github.com:gematik/parent.git</developerConnection> </scm> <issueManagement> <system>GitHub</system> <url>https://github.com/gematik/parent/issues</url> </issueManagement> <!-- Projektinformationen --> <organization> <name>gematik GmbH</name> <url>http://www.gematik.de</url> </organization> <licenses> <license> <name>Apache License 2.0</name> <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url> </license> </licenses> <developers> <developer> <name>gematik</name> <email>development@gematik.de</email> <url>https://gematik.github.io/</url> <organization>gematik GmbH</organization> <organizationUrl>https://www.gematik.de/</organizationUrl> </developer> </developers> </project>