Skip to content

Commit

Permalink
[pom] Remove oss-parent, update libs, and add release/enforcer plugin
Browse files Browse the repository at this point in the history
rest was already in here from really old obsolete oss parent.
  • Loading branch information
hazendaz committed Jan 11, 2025
1 parent 37dc8d8 commit 3bee611
Showing 1 changed file with 44 additions and 18 deletions.
62 changes: 44 additions & 18 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,18 +1,12 @@
<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>
<?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">

<!-- 'oss-parent' should not be used, it was deprecated years ago -->
<parent>
<groupId>org.sonatype.oss</groupId>
<artifactId>oss-parent</artifactId>
<version>9</version>
<relativePath />
</parent>
<modelVersion>4.0.0</modelVersion>

<groupId>net.masterthought</groupId>
<artifactId>cucumber-reporting</artifactId>
<packaging>jar</packaging>
<version>5.8.5-SNAPSHOT</version>

<name>cucumber-reporting</name>
<url>https://github.com/damianszczepanik/cucumber-reporting</url>

Expand All @@ -25,7 +19,10 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.build.resourceEncoding>UTF-8</project.build.resourceEncoding>

<byte-buddy.version>1.15.10</byte-buddy.version>
<!-- Maven minimum version -->
<maven.min-version>3.6.3</maven.min-version>

<byte-buddy.version>1.15.11</byte-buddy.version>
<junit.version>5.11.4</junit.version>
<slf4j.version>2.0.16</slf4j.version>

Expand Down Expand Up @@ -159,7 +156,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.10.1</version>
<version>3.11.2</version>
<configuration>
<!-- do not warn about missing javadoc -->
<doclint>-missing</doclint>
Expand Down Expand Up @@ -209,7 +206,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<version>3.3.0</version>
<version>3.5.2</version>
<configuration>
<includes>
<!-- Run only integration tests -->
Expand All @@ -225,6 +222,35 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>3.5.0</version>
<executions>
<execution>
<id>enforce-maven</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireMavenVersion>
<version>[${maven.min-version},)</version>
</requireMavenVersion>
</rules>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>3.1.1</version>
<configuration>
<addSchema>false</addSchema>
<arguments>-Daether.checksums.algorithms=SHA-512,SHA-256,SHA-1,MD5</arguments>
</configuration>
</plugin>
</plugins>
</build>

Expand All @@ -233,7 +259,7 @@
<dependency>
<groupId>com.fasterxml.jackson</groupId>
<artifactId>jackson-bom</artifactId>
<version>2.18.1</version>
<version>2.18.2</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down Expand Up @@ -290,7 +316,7 @@
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-text</artifactId>
<version>1.12.0</version>
<version>1.13.0</version>
</dependency>
<dependency>
<groupId>org.jsoup</groupId>
Expand Down Expand Up @@ -336,7 +362,7 @@
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>5.14.2</version>
<version>5.15.2</version>
<scope>test</scope>
</dependency>
<dependency>
Expand All @@ -360,15 +386,15 @@
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<version>3.26.3</version>
<version>3.27.2</version>
<scope>test</scope>
</dependency>

<!-- Usage by ReportParserTest due to optional requirement with commons configuration 2. -->
<dependency>
<groupId>commons-beanutils</groupId>
<artifactId>commons-beanutils</artifactId>
<version>1.9.4</version>
<version>1.10.0</version>
<scope>test</scope>
<exclusions>
<exclusion>
Expand Down

0 comments on commit 3bee611

Please sign in to comment.