ies-release-test
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>com.sitepark.ies</groupId> <artifactId>ies-release-test</artifactId> <version>1.47.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 https://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.sitepark.ies</groupId> <artifactId>ies-release-test</artifactId> <version>1.47.0</version> <name>Release-Test for maven projects</name> <description>Test maven releases with github actions</description> <url>https://github.com/sitepark/github-maven-release-test</url> <organization> <name>Sitepark</name> <url>https://www.sitepark.com</url> </organization> <licenses> <license> <name>The MIT License</name> <url>https://opensource.org/licenses/MIT</url> </license> </licenses> <developers> <developer> <id>veltrup@sitepark</id> <name>Holger Veltrup</name> <email>veltrup@sitepark.com</email> <url>https://github.com/sitepark-veltrup</url> <organization>Sitepark</organization> <organizationUrl>https://www.sitepark.com</organizationUrl> <roles> <role>developer</role> </roles> <timezone>Europe/Berlin</timezone> </developer> </developers> <scm> <connection>scm:git:git@github.com:sitepark/github-maven-release-test.git</connection> <developerConnection>scm:git:git@github.com:sitepark/github-maven-release-test.git</developerConnection> <tag>1.47.0</tag> <url>https://github.com/sitepark/github-maven-release-test</url> </scm> <properties> <junit.version>5.10.2</junit.version> <spotbugs.version>4.8.2</spotbugs.version> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <maven.compiler.release>11</maven.compiler.release> <gpg.skip>true</gpg.skip> </properties> <dependencyManagement> <dependencies> <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>javax.inject</groupId> <artifactId>javax.inject</artifactId> <version>1</version> </dependency> <!-- hard decision, see: https://stackoverflow.com/questions/4963300/which-notnull-java-annotation-should-i-use https://www.beyondjava.net/getting-rid-of-the-nullpointerexception-in-2020#what_about_jsr305 https://github.com/spotbugs/spotbugs/issues/471#issuecomment-338806092 --> <dependency> <groupId>org.eclipse.jdt</groupId> <artifactId>org.eclipse.jdt.annotation</artifactId> <version>2.2.800</version> </dependency> <!-- Wirklich dependencies zu thirdparty im core? Oder lieber "Java Util Logging" mit "Log4j JDK Logging Adapter" https://logging.apache.org/log4j/2.x/log4j-jul/index.html <dependency> <groupId>org.apache.logging.log4j</groupId> <artifactId>log4j-api</artifactId> <version>2.14.0</version> </dependency> --> <!-- Test-Dependencies --> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-api</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-engine</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.hamcrest</groupId> <artifactId>hamcrest-library</artifactId> <version>2.2</version> <scope>test</scope> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-core</artifactId> <version>5.9.0</version> <scope>test</scope> </dependency> </dependencies> <build> <plugins> <plugin> <artifactId>maven-compiler-plugin</artifactId> <version>3.12.1</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>3.2.5</version> </plugin> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>0.8.11</version> <executions> <execution> <goals> <goal>prepare-agent</goal> </goals> </execution> <execution> <id>jacoco-check</id> <goals> <goal>check</goal> </goals> <configuration> <rules> <rule> <element>PACKAGE</element> <limits> <limit> <counter>LINE</counter> <value>COVEREDRATIO</value> <minimum>0.0</minimum> </limit> </limits> </rule> </rules> </configuration> </execution> <execution> <id>generate-code-coverage-report</id> <goals> <goal>report</goal> </goals> <phase>test</phase> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>3.3.0</version> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar-no-fork</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>3.6.3</version> <executions> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <version>3.1.0</version> <executions> <execution> <id>sign-artifacts</id> <goals> <goal>sign</goal> </goals> <phase>verify</phase> </execution> </executions> </plugin> <plugin> <groupId>com.diffplug.spotless</groupId> <artifactId>spotless-maven-plugin</artifactId> <version>2.43.0</version> <configuration> <!-- define a language-specific format --> <java> <removeUnusedImports> <engine>google-java-format</engine> </removeUnusedImports> <!-- apply a specific flavor of google-java-format and reflow long strings --> <googleJavaFormat> <version>1.19.2</version> <style>GOOGLE</style> <reflowLongStrings>true</reflowLongStrings> <formatJavadoc>false</formatJavadoc> </googleJavaFormat> <formatAnnotations /> </java> <pom> <!-- These are the defaults, you can override if you want --> <includes> <include>pom.xml</include> </includes> <sortPom> <!-- value of -1 indicates that a tab character should be used instead --> <nrOfIndentSpace>-1</nrOfIndentSpace> </sortPom> </pom> </configuration> <executions> <execution> <id>spotless-check</id> <goals> <goal>check</goal> </goals> <phase>verify</phase> </execution> </executions> </plugin> <plugin> <groupId>com.diffplug.spotless</groupId> <artifactId>spotless-maven-plugin</artifactId> <version>2.43.0</version> <configuration> <!-- define a language-specific format --> <java> <removeUnusedImports> <engine>google-java-format</engine> </removeUnusedImports> <!-- apply a specific flavor of google-java-format and reflow long strings --> <googleJavaFormat> <version>1.19.2</version> <style>GOOGLE</style> <reflowLongStrings>true</reflowLongStrings> <formatJavadoc>false</formatJavadoc> </googleJavaFormat> <formatAnnotations /> </java> <pom> <!-- These are the defaults, you can override if you want --> <includes> <include>pom.xml</include> </includes> <sortPom> <!-- value of -1 indicates that a tab character should be used instead --> <nrOfIndentSpace>-1</nrOfIndentSpace> </sortPom> </pom> </configuration> <executions> <execution> <?m2e ignore?> <id>spotless-check</id> <goals> <goal>check</goal> </goals> <phase>verify</phase> </execution> </executions> </plugin> <plugin> <groupId>org.eclipse.m2e</groupId> <artifactId>lifecycle-mapping</artifactId> <version>1.0.0</version> <configuration> <lifecycleMappingMetadata> <pluginExecutions> <pluginExecution> <pluginExecutionFilter> <groupId>com.diffplug.spotless</groupId> <artifactId>spotless-maven-plugin</artifactId> <versionRange /> <goals> <goal>check</goal> </goals> </pluginExecutionFilter> <action> <ignore /> </action> </pluginExecution> </pluginExecutions> </lifecycleMappingMetadata> </configuration> </plugin> <plugin> <groupId>com.github.spotbugs</groupId> <artifactId>spotbugs-maven-plugin</artifactId> <version>4.8.2.0</version> <configuration> <effort>Max</effort> <threshold>Low</threshold> <maxRank>20</maxRank> <excludeFilterFile>spotbug-exclude-filter.xml</excludeFilterFile> </configuration> <!-- https://spotbugs.readthedocs.io/en/latest/maven.html --> <dependencies> <!-- overwrite dependency on spotbugs if you want to specify the version of spotbugs --> <dependency> <groupId>com.github.spotbugs</groupId> <artifactId>spotbugs</artifactId> <version>${spotbugs.version}</version> </dependency> </dependencies> <executions> <execution> <goals> <goal>check</goal> </goals> <phase>verify</phase> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-pmd-plugin</artifactId> <version>3.21.0</version> <configuration> <rulesets> <ruleset>pmd-ruleset.xml</ruleset> </rulesets> <includeTests>true</includeTests> <failOnViolation>true</failOnViolation> <failurePriority>5</failurePriority> <printFailingErrors>true</printFailingErrors> <linkXRef>false</linkXRef> <!-- erzeugt sonst eine Warnung --> </configuration> <executions> <execution> <id>pmd</id> <goals> <goal>check</goal> </goals> <phase>verify</phase> </execution> </executions> </plugin> <plugin> <artifactId>maven-release-plugin</artifactId> <version>3.0.1</version> <configuration> <scmCommentPrefix>ci(release):</scmCommentPrefix> <tagNameFormat>@{project.version}</tagNameFormat> </configuration> </plugin> </plugins> </build> <profiles> <profile> <id>publish-release</id> <build> <plugins> <plugin> <groupId>org.sonatype.central</groupId> <artifactId>central-publishing-maven-plugin</artifactId> <version>0.5.0</version> <extensions>true</extensions> <configuration> <publishingServerId>central</publishingServerId> <autoPublish>true</autoPublish> <waitUntil>published</waitUntil> </configuration> </plugin> </plugins> </build> </profile> </profiles> </project>