Skip to content

Commit

Permalink
Tidy up POM.
Browse files Browse the repository at this point in the history
  • Loading branch information
uhafner committed Jan 30, 2024
1 parent fa9e392 commit 3d26e47
Showing 1 changed file with 43 additions and 51 deletions.
94 changes: 43 additions & 51 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
<?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/maven-v4_0_0.xsd">

<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>edu.hm.hafner</groupId>
<artifactId>codingstyle</artifactId>
<version>3.42.0-SNAPSHOT</version>

<packaging>jar</packaging>

<name>Java coding style</name>
Expand All @@ -18,14 +16,7 @@
required in this project. These classes also use some additional libraries that are included using the Maven
dependency mechanism. If the sample classes are deleted then the dependencies can be safely deleted, too.
</description>

<scm>
<connection>scm:git:https://github.com/uhafner/codingstyle.git</connection>
<developerConnection>scm:git:[email protected]:uhafner/codingstyle.git</developerConnection>
<url>https://github.com/uhafner/codingstyle</url>
<tag>HEAD</tag>
</scm>

<url>https://www.cs.hm.edu/die_fakultaet/ansprechpartner/professoren/hafner/index.de.html</url>
<licenses>
<license>
<name>MIT license</name>
Expand All @@ -47,7 +38,22 @@
</developer>
</developers>

<url>https://www.cs.hm.edu/die_fakultaet/ansprechpartner/professoren/hafner/index.de.html</url>
<scm>
<connection>scm:git:https://github.com/uhafner/codingstyle.git</connection>
<developerConnection>scm:git:[email protected]:uhafner/codingstyle.git</developerConnection>
<url>https://github.com/uhafner/codingstyle</url>
<tag>HEAD</tag>
</scm>
<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>ossrh</id>
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>

<properties>
<source.encoding>UTF-8</source.encoding>
Expand Down Expand Up @@ -135,7 +141,6 @@
</dependency>
</dependencies>
</dependencyManagement>

<dependencies>
<dependency>
<groupId>com.github.spotbugs</groupId>
Expand Down Expand Up @@ -221,7 +226,30 @@
<filtering>false</filtering>
</resource>
</resources>

<pluginManagement>
<plugins>
<plugin>
<groupId>org.pitest</groupId>
<artifactId>pitest-maven</artifactId>
<version>${maven-pitest-plugin.version}</version>
<dependencies>
<dependency>
<groupId>org.pitest</groupId>
<artifactId>pitest-junit5-plugin</artifactId>
<version>${pitest-junit5-plugin.version}</version>
</dependency>
</dependencies>
<configuration>
<outputFormats>XML,HTML</outputFormats>
<excludedMethods>
<param>*equals</param>
<param>*hashCode</param>
<param>*toString</param>
</excludedMethods>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down Expand Up @@ -725,30 +753,6 @@
</executions>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.pitest</groupId>
<artifactId>pitest-maven</artifactId>
<version>${maven-pitest-plugin.version}</version>
<dependencies>
<dependency>
<groupId>org.pitest</groupId>
<artifactId>pitest-junit5-plugin</artifactId>
<version>${pitest-junit5-plugin.version}</version>
</dependency>
</dependencies>
<configuration>
<outputFormats>XML,HTML</outputFormats>
<excludedMethods>
<param>*equals</param>
<param>*hashCode</param>
<param>*toString</param>
</excludedMethods>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>

<profiles>
Expand Down Expand Up @@ -836,16 +840,4 @@
</build>
</profile>
</profiles>

<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>ossrh</id>
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>

</project>

0 comments on commit 3d26e47

Please sign in to comment.