Skip to content

Commit

Permalink
Pom cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
charphi committed Feb 12, 2024
1 parent 08ba6ba commit 13d6527
Show file tree
Hide file tree
Showing 2 changed files with 60 additions and 22 deletions.
1 change: 0 additions & 1 deletion java-service-bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@
<plugin>
<groupId>org.jreleaser</groupId>
<artifactId>jreleaser-maven-plugin</artifactId>
<version>1.10.0</version>
<executions>
<execution>
<phase>install</phase>
Expand Down
81 changes: 60 additions & 21 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<name>java-service</name>
<description>Java service utilities</description>
<url>https://github.com/nbbrd/java-service-util</url>
<url>https://github.com/${x.github.user}/${x.github.repo}</url>
<inceptionYear>2019</inceptionYear>

<licenses>
Expand All @@ -30,13 +30,21 @@
</developers>

<scm>
<connection>scm:git:git://github.com/nbbrd/java-service-util.git</connection>
<developerConnection>scm:git:ssh://github.com:nbbrd/java-service-util.git</developerConnection>
<url>http://github.com/nbbrd/java-service-util/tree/master</url>
<connection>scm:git:git://github.com/${x.github.user}/${x.github.repo}.git</connection>
<developerConnection>scm:git:ssh://github.com:${x.github.user}/${x.github.repo}.git</developerConnection>
<url>http://github.com/${x.github.user}/${x.github.repo}/tree/master</url>
</scm>

<properties>
<!-- Java 8+ config -->
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.build.outputTimestamp>2024-01-01T00:00:00Z</project.build.outputTimestamp>
<maven.compiler.target>1.8</maven.compiler.target>
<maven.compiler.source>1.8</maven.compiler.source>

<!-- GitHub hosting -->
<x.github.user>nbbrd</x.github.user>
<x.github.repo>java-service-util</x.github.repo>
</properties>

<dependencyManagement>
Expand Down Expand Up @@ -138,15 +146,60 @@
<version>3.6.1</version>
</plugin>
<plugin>
<groupId>com.github.nbbrd.heylogs</groupId>
<artifactId>heylogs-maven-plugin</artifactId>
<version>0.7.2</version>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>3.4.1</version>
</plugin>
<plugin>
<groupId>org.gaul</groupId>
<artifactId>modernizer-maven-plugin</artifactId>
<version>2.7.0</version>
</plugin>
<plugin>
<groupId>de.thetaphi</groupId>
<artifactId>forbiddenapis</artifactId>
<version>3.6</version>
</plugin>
<plugin>
<groupId>com.github.nbbrd.heylogs</groupId>
<artifactId>heylogs-maven-plugin</artifactId>
<version>0.7.2</version>
</plugin>
<plugin>
<groupId>com.amashchenko.maven.plugin</groupId>
<artifactId>gitflow-maven-plugin</artifactId>
<version>1.21.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.3.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.6.3</version>
</plugin>
<plugin>
<groupId>org.simplify4u.plugins</groupId>
<artifactId>sign-maven-plugin</artifactId>
<version>1.0.1</version>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.13</version>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.11</version>
</plugin>
<plugin>
<groupId>org.jreleaser</groupId>
<artifactId>jreleaser-maven-plugin</artifactId>
<version>1.10.0</version>
</plugin>
</plugins>
</pluginManagement>
<plugins>
Expand Down Expand Up @@ -226,11 +279,6 @@
<name>!skipBaseJava8</name>
</property>
</activation>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.target>1.8</maven.compiler.target>
<maven.compiler.source>1.8</maven.compiler.source>
</properties>
<build>
<plugins>
<plugin>
Expand Down Expand Up @@ -268,7 +316,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>3.4.1</version>
<dependencies>
<dependency>
<groupId>org.kordamp.maven</groupId>
Expand Down Expand Up @@ -341,7 +388,6 @@
<plugin>
<groupId>org.gaul</groupId>
<artifactId>modernizer-maven-plugin</artifactId>
<version>2.7.0</version>
<configuration>
<javaVersion>1.8</javaVersion>
</configuration>
Expand Down Expand Up @@ -373,7 +419,6 @@
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.11</version>
<executions>
<execution>
<goals>
Expand Down Expand Up @@ -406,7 +451,6 @@
<plugin>
<groupId>com.amashchenko.maven.plugin</groupId>
<artifactId>gitflow-maven-plugin</artifactId>
<version>1.21.0</version>
<configuration>
<gitFlowConfig>
<versionTagPrefix>v</versionTagPrefix>
Expand All @@ -425,7 +469,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.3.0</version>
<executions>
<execution>
<id>attach-sources</id>
Expand All @@ -438,7 +481,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.6.3</version>
<executions>
<execution>
<id>attach-javadocs</id>
Expand All @@ -454,7 +496,6 @@
<plugin>
<groupId>org.simplify4u.plugins</groupId>
<artifactId>sign-maven-plugin</artifactId>
<version>1.0.1</version>
<executions>
<execution>
<goals>
Expand All @@ -481,7 +522,6 @@
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.13</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
Expand All @@ -507,7 +547,6 @@
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.13</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
Expand Down

0 comments on commit 13d6527

Please sign in to comment.