Skip to content

Commit

Permalink
Replace oss parent with custom configuration (#2902)
Browse files Browse the repository at this point in the history
  • Loading branch information
pivovarit authored Oct 12, 2024
1 parent 5b0b5c3 commit d3f0903
Showing 1 changed file with 50 additions and 35 deletions.
85 changes: 50 additions & 35 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,6 @@ We use these goals frequently to keep the dependencies and plugins up-to-date:
-->
<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>
<parent>
<groupId>org.sonatype.oss</groupId>
<artifactId>oss-parent</artifactId>
<version>9</version>
</parent>
<groupId>io.vavr</groupId>
<artifactId>vavr-parent</artifactId>
<version>0.10.5-SNAPSHOT</version>
Expand Down Expand Up @@ -146,21 +141,6 @@ We use these goals frequently to keep the dependencies and plugins up-to-date:
</plugins>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>${maven.source.version}</version>
<executions>
<execution>
<id>attach-sources</id>
<phase>prepare-package</phase>
<goals>
<goal>jar-no-fork</goal>
<goal>test-jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.moditect</groupId>
<artifactId>moditect-maven-plugin</artifactId>
Expand Down Expand Up @@ -365,38 +345,72 @@ We use these goals frequently to keep the dependencies and plugins up-to-date:
</plugins>
</build>
</profile>
<!-- A profile for gpg-signing .jars when releasing -->
<profile>
<id>release-sign-artifacts</id>
<activation>
<property>
<!-- Automatically set to true on mvn release:perform -->
<name>performRelease</name>
<value>true</value>
</property>
</activation>
<id>sonatype-oss-release</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>${maven.gpg.version}</version>
<artifactId>maven-source-plugin</artifactId>
<version>${maven.source.version}</version>
<executions>
<execution>
<id>attach-sources</id>
<phase>prepare-package</phase>
<goals>
<goal>jar-no-fork</goal>
<goal>test-jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.10.1</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
<configuration>
<gpgArguments>
<arg>--pinentry-mode</arg>
<arg>loopback</arg>
</gpgArguments>
<links>
<link>https://docs.oracle.com/javase/8/docs/api/</link>
</links>
<stylesheetfile>${basedir}/../.javadoc/stylesheet.css</stylesheetfile>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>3.2.7</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
<configuration>
<gpgArguments>
<arg>--pinentry-mode</arg>
<arg>loopback</arg>
</gpgArguments>
</configuration>
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
Expand All @@ -418,6 +432,7 @@ We use these goals frequently to keep the dependencies and plugins up-to-date:
</plugins>
</build>
</profile>

<!-- A profile for eliminating eclipse m2e warnings -->
<profile>
<id>eclipse-m2e</id>
Expand Down

0 comments on commit d3f0903

Please sign in to comment.