Skip to content

Commit fae8628

Browse files
committed
Move to new Maven Central deploy system
1 parent 65b181b commit fae8628

1 file changed

Lines changed: 64 additions & 6 deletions

File tree

pom.xml

Lines changed: 64 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,12 @@
1010
Java port of Oniguruma: http://www.geocities.jp/kosako3/oniguruma
1111
that uses byte arrays directly instead of java Strings and chars
1212
</description>
13+
<url>https://github.com/jruby/joni</url>
1314

1415
<properties>
1516
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
1617
</properties>
1718

18-
<parent>
19-
<groupId>org.sonatype.oss</groupId>
20-
<artifactId>oss-parent</artifactId>
21-
<version>7</version>
22-
</parent>
23-
2419
<issueManagement>
2520
<system>GitHub</system>
2621
<url>https://github.com/jruby/joni/issues</url>
@@ -112,6 +107,15 @@
112107
</archive>
113108
</configuration>
114109
</plugin>
110+
<plugin>
111+
<groupId>org.sonatype.central</groupId>
112+
<artifactId>central-publishing-maven-plugin</artifactId>
113+
<version>0.7.0</version>
114+
<extensions>true</extensions>
115+
<configuration>
116+
<publishingServerId>central</publishingServerId>
117+
</configuration>
118+
</plugin>
115119
</plugins>
116120
</build>
117121
<profiles>
@@ -225,5 +229,59 @@
225229
</plugins>
226230
</build>
227231
</profile>
232+
<profile>
233+
<id>release</id>
234+
<build>
235+
<plugins>
236+
<plugin>
237+
<artifactId>maven-source-plugin</artifactId>
238+
<executions>
239+
<execution>
240+
<id>attach-sources</id>
241+
<goals>
242+
<goal>jar-no-fork</goal>
243+
</goals>
244+
</execution>
245+
</executions>
246+
</plugin>
247+
<plugin>
248+
<artifactId>maven-javadoc-plugin</artifactId>
249+
<executions>
250+
<execution>
251+
<id>attach-javadocs</id>
252+
<goals>
253+
<goal>jar</goal>
254+
</goals>
255+
</execution>
256+
</executions>
257+
<configuration>
258+
<doclint>none</doclint>
259+
</configuration>
260+
</plugin>
261+
<plugin>
262+
<artifactId>maven-gpg-plugin</artifactId>
263+
<version>3.2.4</version>
264+
<executions>
265+
<execution>
266+
<id>sign-artifacts</id>
267+
<phase>verify</phase>
268+
<goals>
269+
<goal>sign</goal>
270+
</goals>
271+
</execution>
272+
</executions>
273+
<configuration>
274+
<gpgArguments>
275+
<gpgArgument>--pinentry-mode</gpgArgument>
276+
<gpgArgument>loopback</gpgArgument>
277+
</gpgArguments>
278+
</configuration>
279+
</plugin>
280+
</plugins>
281+
</build>
282+
<properties>
283+
<invoker.skip>true</invoker.skip>
284+
</properties>
285+
</profile>
228286
</profiles>
229287
</project>

0 commit comments

Comments
 (0)