Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion pom.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
model_version '4.0.0'
inception_year '2001'
id 'org.jruby:jruby-parent', version
inherit 'org.sonatype.oss:oss-parent:7'
packaging 'pom'

description 'JRuby is the effort to recreate the Ruby (https://www.ruby-lang.org) interpreter in Java.'
Expand Down Expand Up @@ -141,6 +140,10 @@
plugin 'org.eclipse.m2e:lifecycle-mapping:1.0.0'
plugin :'scm-publish', '3.1.0'
end

plugin( 'org.sonatype.central:central-publishing-maven-plugin:0.7.0',
extensions: true,
publishingServerId: 'central')

plugin( :site,
'port' => '9000',
Expand Down Expand Up @@ -274,6 +277,10 @@
execute_goals('jar', :id => 'attach-javadocs')
configuration(doclint: 'none')
end
plugin( :gpg, '1.6',
gpgArguments: [ '--pinentry-mode', 'loopback' ]) do
execute_goals( 'sign', id: 'sign-artifacts', phase: 'verify')
end
end

profile 'snapshots' do
Expand Down
33 changes: 28 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,6 @@ DO NOT MODIFY - GENERATED CODE
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.sonatype.oss</groupId>
<artifactId>oss-parent</artifactId>
<version>7</version>
</parent>
<groupId>org.jruby</groupId>
<artifactId>jruby-parent</artifactId>
<version>9.4.13.0-SNAPSHOT</version>
Expand Down Expand Up @@ -341,6 +336,34 @@ DO NOT MODIFY - GENERATED CODE
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>0.7.0</version>
<extensions>true</extensions>
<configuration>
<publishingServerId>central</publishingServerId>
</configuration>
</plugin>
<plugin>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.6</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
<configuration>
<gpgArguments>
<gpgArgument>--pinentry-mode</gpgArgument>
<gpgArgument>loopback</gpgArgument>
</gpgArguments>
</configuration>
</plugin>
<plugin>
<artifactId>maven-site-plugin</artifactId>
<executions>
Expand Down
Loading