Skip to content

Commit 85c1946

Browse files
committed
[build] try to make sonatype happy (validations)
1 parent ccb7b91 commit 85c1946

File tree

3 files changed

+36
-5
lines changed

3 files changed

+36
-5
lines changed

Mavenfile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,13 @@ end
171171
}
172172

173173
profile :id => 'release' do
174-
plugin :gpg, '1.5' do
174+
plugin :source do
175+
execute_goal :jar, id: 'attach-sources'
176+
end
177+
plugin :javadoc do
178+
execute_goal :jar, id: 'attach-javadoc'
179+
end
180+
plugin :gpg, '1.6' do
175181
execute_goal :sign, :phase => :verify
176182
end
177183
end

jruby-openssl.gemspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ Gem::Specification.new do |s|
88
s.version = version_rb.match( /.*\sVERSION\s*=\s*['"](.*)['"]/ )[1]
99

1010
s.platform = 'java'
11-
s.authors = ['Ola Bini', 'JRuby contributors']
12-
s.email = "ola.bini@gmail.com"
11+
s.authors = ['Karol Bucek', 'Ola Bini', 'JRuby contributors']
12+
s.email = 'self+jruby-openssl@kares.org'
1313
s.summary = "JRuby OpenSSL"
1414
s.homepage = 'https://github.com/jruby/jruby-openssl'
1515
s.description = 'JRuby-OpenSSL is an add-on gem for JRuby that emulates the Ruby OpenSSL native library.'

pom.xml

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,12 @@ DO NOT MODIFIY - GENERATED CODE
3434
</license>
3535
</licenses>
3636
<developers>
37+
<developer>
38+
<name>Karol Bucek</name>
39+
<email>self+jruby-openssl@kares.org</email>
40+
</developer>
3741
<developer>
3842
<name>Ola Bini</name>
39-
<email>ola.bini@gmail.com</email>
4043
</developer>
4144
<developer>
4245
<name>JRuby contributors</name>
@@ -1048,9 +1051,31 @@ DO NOT MODIFIY - GENERATED CODE
10481051
<id>release</id>
10491052
<build>
10501053
<plugins>
1054+
<plugin>
1055+
<artifactId>maven-source-plugin</artifactId>
1056+
<executions>
1057+
<execution>
1058+
<id>attach-sources</id>
1059+
<goals>
1060+
<goal>jar</goal>
1061+
</goals>
1062+
</execution>
1063+
</executions>
1064+
</plugin>
1065+
<plugin>
1066+
<artifactId>maven-javadoc-plugin</artifactId>
1067+
<executions>
1068+
<execution>
1069+
<id>attach-javadoc</id>
1070+
<goals>
1071+
<goal>jar</goal>
1072+
</goals>
1073+
</execution>
1074+
</executions>
1075+
</plugin>
10511076
<plugin>
10521077
<artifactId>maven-gpg-plugin</artifactId>
1053-
<version>1.5</version>
1078+
<version>1.6</version>
10541079
<executions>
10551080
<execution>
10561081
<phase>verify</phase>

0 commit comments

Comments
 (0)