Skip to content

Commit 31f308a

Browse files
committed
Prepare for new deploy process on Maven Central
1 parent 7e3fff0 commit 31f308a

File tree

2 files changed

+53
-14
lines changed

2 files changed

+53
-14
lines changed

parent-mojo/pom.xml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,6 @@
4848
</resource>
4949
</resources>
5050
<plugins>
51-
<plugin>
52-
<artifactId>maven-source-plugin</artifactId>
53-
<version>3.2.1</version>
54-
<executions>
55-
<execution>
56-
<goals><goal>jar</goal></goals>
57-
</execution>
58-
</executions>
59-
</plugin>
6051
<plugin>
6152
<artifactId>maven-plugin-plugin</artifactId>
6253
<version>3.9.0</version>

pom.xml

Lines changed: 53 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<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">
33
<modelVersion>4.0.0</modelVersion>
4-
<parent>
5-
<groupId>org.sonatype.oss</groupId>
6-
<artifactId>oss-parent</artifactId>
7-
<version>7</version>
8-
</parent>
94
<groupId>org.jruby.maven</groupId>
105
<artifactId>jruby-maven-plugins</artifactId>
116
<packaging>pom</packaging>
@@ -148,6 +143,59 @@
148143
</plugin>
149144
</plugins>
150145
</pluginManagement>
146+
<plugins>
147+
<plugin>
148+
<groupId>org.sonatype.central</groupId>
149+
<artifactId>central-publishing-maven-plugin</artifactId>
150+
<version>0.8.0</version>
151+
<extensions>true</extensions>
152+
<configuration>
153+
<publishingServerId>central</publishingServerId>
154+
</configuration>
155+
</plugin>
156+
<plugin>
157+
<artifactId>maven-gpg-plugin</artifactId>
158+
<version>1.6</version>
159+
<executions>
160+
<execution>
161+
<id>sign-artifacts</id>
162+
<phase>verify</phase>
163+
<goals>
164+
<goal>sign</goal>
165+
</goals>
166+
</execution>
167+
</executions>
168+
<configuration>
169+
<gpgArguments>
170+
<gpgArgument>--pinentry-mode</gpgArgument>
171+
<gpgArgument>loopback</gpgArgument>
172+
</gpgArguments>
173+
</configuration>
174+
</plugin>
175+
<plugin>
176+
<artifactId>maven-javadoc-plugin</artifactId>
177+
<executions>
178+
<execution>
179+
<id>attach-javadocs</id>
180+
<goals>
181+
<goal>jar</goal>
182+
</goals>
183+
</execution>
184+
</executions>
185+
<configuration>
186+
<doclint>none</doclint>
187+
</configuration>
188+
</plugin>
189+
<plugin>
190+
<artifactId>maven-source-plugin</artifactId>
191+
<version>3.2.1</version>
192+
<executions>
193+
<execution>
194+
<goals><goal>jar</goal></goals>
195+
</execution>
196+
</executions>
197+
</plugin>
198+
</plugins>
151199
</build>
152200

153201
<properties>

0 commit comments

Comments
 (0)