jruby-openssl 0.10.0-java → 0.10.5-java

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. checksums.yaml +4 -4
  2. data/History.md +58 -0
  3. data/Mavenfile +45 -63
  4. data/README.md +6 -9
  5. data/Rakefile +4 -0
  6. data/lib/jopenssl.jar +0 -0
  7. data/lib/jopenssl/_compat23.rb +71 -0
  8. data/lib/jopenssl/load.rb +13 -7
  9. data/lib/jopenssl/version.rb +8 -3
  10. data/lib/jopenssl19/openssl/ssl-internal.rb +104 -0
  11. data/lib/jopenssl22/openssl/ssl.rb +16 -16
  12. data/lib/jopenssl23/openssl.rb +1 -1
  13. data/lib/jopenssl23/openssl/bn.rb +2 -1
  14. data/lib/jopenssl23/openssl/buffering.rb +39 -35
  15. data/lib/jopenssl23/openssl/config.rb +65 -64
  16. data/lib/jopenssl23/openssl/digest.rb +1 -1
  17. data/lib/jopenssl23/openssl/pkey.rb +22 -34
  18. data/lib/jopenssl23/openssl/ssl.rb +205 -124
  19. data/lib/jopenssl23/openssl/x509.rb +76 -1
  20. data/lib/openssl/bn.rb +1 -3
  21. data/lib/openssl/buffering.rb +1 -3
  22. data/lib/openssl/cipher.rb +1 -3
  23. data/lib/openssl/config.rb +10 -4
  24. data/lib/openssl/digest.rb +1 -3
  25. data/lib/openssl/pkcs12.rb +1 -3
  26. data/lib/openssl/pkcs5.rb +22 -0
  27. data/lib/openssl/ssl-internal.rb +1 -3
  28. data/lib/openssl/ssl.rb +1 -3
  29. data/lib/openssl/x509-internal.rb +1 -3
  30. data/lib/openssl/x509.rb +1 -3
  31. data/lib/org/bouncycastle/bcpkix-jdk15on/1.65/bcpkix-jdk15on-1.65.jar +0 -0
  32. data/lib/org/bouncycastle/bcprov-jdk15on/1.65/bcprov-jdk15on-1.65.jar +0 -0
  33. data/lib/org/bouncycastle/bctls-jdk15on/1.65/bctls-jdk15on-1.65.jar +0 -0
  34. data/pom.xml +94 -283
  35. metadata +16 -63
  36. data/integration/1.47/pom.xml +0 -15
  37. data/integration/1.48/pom.xml +0 -15
  38. data/integration/1.49/pom.xml +0 -15
  39. data/integration/1.50/pom.xml +0 -15
  40. data/integration/Mavenfile +0 -57
  41. data/integration/pom.xml +0 -122
  42. data/lib/jopenssl24.rb +0 -112
  43. data/lib/openssl/pkcs7.rb +0 -5
  44. data/lib/org/bouncycastle/bcpkix-jdk15on/1.59/bcpkix-jdk15on-1.59.jar +0 -0
  45. data/lib/org/bouncycastle/bcprov-jdk15on/1.59/bcprov-jdk15on-1.59.jar +0 -0
  46. data/lib/org/bouncycastle/bctls-jdk15on/1.59/bctls-jdk15on-1.59.jar +0 -0
@@ -14,6 +14,54 @@
14
14
 
15
15
  module OpenSSL
16
16
  module X509
17
+ # class ExtensionFactory
18
+ # def create_extension(*arg)
19
+ # if arg.size > 1
20
+ # create_ext(*arg)
21
+ # else
22
+ # send("create_ext_from_"+arg[0].class.name.downcase, arg[0])
23
+ # end
24
+ # end
25
+ #
26
+ # def create_ext_from_array(ary)
27
+ # raise ExtensionError, "unexpected array form" if ary.size > 3
28
+ # create_ext(ary[0], ary[1], ary[2])
29
+ # end
30
+ #
31
+ # def create_ext_from_string(str) # "oid = critical, value"
32
+ # oid, value = str.split(/=/, 2)
33
+ # oid.strip!
34
+ # value.strip!
35
+ # create_ext(oid, value)
36
+ # end
37
+ #
38
+ # def create_ext_from_hash(hash)
39
+ # create_ext(hash["oid"], hash["value"], hash["critical"])
40
+ # end
41
+ # end
42
+ #
43
+ # class Extension
44
+ # def ==(other)
45
+ # return false unless Extension === other
46
+ # to_der == other.to_der
47
+ # end
48
+ #
49
+ # def to_s # "oid = critical, value"
50
+ # str = self.oid
51
+ # str << " = "
52
+ # str << "critical, " if self.critical?
53
+ # str << self.value.gsub(/\n/, ", ")
54
+ # end
55
+ #
56
+ # def to_h # {"oid"=>sn|ln, "value"=>value, "critical"=>true|false}
57
+ # {"oid"=>self.oid,"value"=>self.value,"critical"=>self.critical?}
58
+ # end
59
+ #
60
+ # def to_a
61
+ # [ self.oid, self.value, self.critical? ]
62
+ # end
63
+ # end
64
+
17
65
  class Name
18
66
  module RFC2253DN
19
67
  Special = ',=+<>#;'
@@ -96,7 +144,13 @@ module OpenSSL
96
144
  end
97
145
 
98
146
  def parse_openssl(str, template=OBJECT_TYPE_TEMPLATE)
99
- ary = str.scan(/\s*([^\/,]+)\s*/).collect{|i| i[0].split("=", 2) }
147
+ if str.start_with?("/")
148
+ # /A=B/C=D format
149
+ ary = str[1..-1].split("/").map { |i| i.split("=", 2) }
150
+ else
151
+ # Comma-separated
152
+ ary = str.split(",").map { |i| i.strip.split("=", 2) }
153
+ end
100
154
  self.new(ary, template)
101
155
  end
102
156
 
@@ -111,6 +165,13 @@ module OpenSSL
111
165
  end
112
166
  end
113
167
 
168
+ # class Attribute
169
+ # def ==(other)
170
+ # return false unless Attribute === other
171
+ # to_der == other.to_der
172
+ # end
173
+ # end
174
+
114
175
  class StoreContext
115
176
  def cleanup
116
177
  warn "(#{caller.first}) OpenSSL::X509::StoreContext#cleanup is deprecated with no replacement" if $VERBOSE
@@ -129,5 +190,19 @@ module OpenSSL
129
190
  }
130
191
  end
131
192
  end
193
+
194
+ # class CRL
195
+ # def ==(other)
196
+ # return false unless CRL === other
197
+ # to_der == other.to_der
198
+ # end
199
+ # end
200
+
201
+ # class Request
202
+ # def ==(other)
203
+ # return false unless Request === other
204
+ # to_der == other.to_der
205
+ # end
206
+ # end
132
207
  end
133
208
  end
@@ -4,8 +4,6 @@ elsif RUBY_VERSION > '2.2'
4
4
  load "jopenssl22/openssl/#{File.basename(__FILE__)}"
5
5
  elsif RUBY_VERSION > '2.1'
6
6
  load "jopenssl21/openssl/#{File.basename(__FILE__)}"
7
- elsif RUBY_VERSION > '1.9'
8
- load "jopenssl19/openssl/#{File.basename(__FILE__)}"
9
7
  else
10
- load "jopenssl18/openssl/#{File.basename(__FILE__)}"
8
+ load "jopenssl19/openssl/#{File.basename(__FILE__)}"
11
9
  end
@@ -4,8 +4,6 @@ elsif RUBY_VERSION > '2.2'
4
4
  load "jopenssl22/openssl/#{File.basename(__FILE__)}"
5
5
  elsif RUBY_VERSION > '2.1'
6
6
  load "jopenssl21/openssl/#{File.basename(__FILE__)}"
7
- elsif RUBY_VERSION > '1.9'
8
- load "jopenssl19/openssl/#{File.basename(__FILE__)}"
9
7
  else
10
- load "jopenssl18/openssl/#{File.basename(__FILE__)}"
8
+ load "jopenssl19/openssl/#{File.basename(__FILE__)}"
11
9
  end
@@ -4,8 +4,6 @@ elsif RUBY_VERSION > '2.2'
4
4
  load "jopenssl22/openssl/#{File.basename(__FILE__)}"
5
5
  elsif RUBY_VERSION > '2.1'
6
6
  load "jopenssl21/openssl/#{File.basename(__FILE__)}"
7
- elsif RUBY_VERSION > '1.9'
8
- load "jopenssl19/openssl/#{File.basename(__FILE__)}"
9
7
  else
10
- load "jopenssl18/openssl/#{File.basename(__FILE__)}"
8
+ load "jopenssl19/openssl/#{File.basename(__FILE__)}"
11
9
  end
@@ -4,8 +4,14 @@ elsif RUBY_VERSION > '2.2'
4
4
  load "jopenssl22/openssl/#{File.basename(__FILE__)}"
5
5
  elsif RUBY_VERSION > '2.1'
6
6
  load "jopenssl21/openssl/#{File.basename(__FILE__)}"
7
- elsif RUBY_VERSION > '1.9'
8
- load "jopenssl19/openssl/#{File.basename(__FILE__)}"
9
7
  else
10
- load "jopenssl18/openssl/#{File.basename(__FILE__)}"
11
- end
8
+ load "jopenssl19/openssl/#{File.basename(__FILE__)}"
9
+ end
10
+
11
+ # @note moved from JOpenSSL native bits.
12
+ module OpenSSL
13
+ class Config
14
+ DEFAULT_CONFIG_FILE = nil
15
+ end
16
+ class ConfigError < OpenSSLError; end
17
+ end
@@ -4,8 +4,6 @@ elsif RUBY_VERSION > '2.2'
4
4
  load "jopenssl22/openssl/#{File.basename(__FILE__)}"
5
5
  elsif RUBY_VERSION > '2.1'
6
6
  load "jopenssl21/openssl/#{File.basename(__FILE__)}"
7
- elsif RUBY_VERSION > '1.9'
8
- load "jopenssl19/openssl/#{File.basename(__FILE__)}"
9
7
  else
10
- load "jopenssl18/openssl/#{File.basename(__FILE__)}"
8
+ load "jopenssl19/openssl/#{File.basename(__FILE__)}"
11
9
  end
@@ -28,10 +28,8 @@ module OpenSSL
28
28
  @der = str
29
29
  end
30
30
 
31
- p12_input_stream = java.io.StringBufferInputStream.new(@der)
32
-
33
31
  store = SecurityHelper.getKeyStore("PKCS12")
34
- store.load(p12_input_stream, password.to_java.to_char_array)
32
+ store.load(java.io.ByteArrayInputStream.new(@der.to_java_bytes), password.to_java.to_char_array)
35
33
 
36
34
  aliases = store.aliases
37
35
  aliases.each do |alias_name|
@@ -0,0 +1,22 @@
1
+ #--
2
+ # Ruby/OpenSSL Project
3
+ # Copyright (C) 2017 Ruby/OpenSSL Project Authors
4
+ #++
5
+
6
+ # JOpenSSL has these - here for explicit require 'openssl/pkcs5' compatibility
7
+
8
+ # module OpenSSL
9
+ # module PKCS5
10
+ # module_function
11
+ #
12
+ # # OpenSSL::PKCS5.pbkdf2_hmac has been renamed to OpenSSL::KDF.pbkdf2_hmac.
13
+ # # This method is provided for backwards compatibility.
14
+ # def pbkdf2_hmac(pass, salt, iter, keylen, digest)
15
+ # OpenSSL::KDF.pbkdf2_hmac(pass, salt: salt, iterations: iter, length: keylen, hash: digest)
16
+ # end
17
+ #
18
+ # def pbkdf2_hmac_sha1(pass, salt, iter, keylen)
19
+ # pbkdf2_hmac(pass, salt, iter, keylen, "sha1")
20
+ # end
21
+ # end
22
+ # end
@@ -1,7 +1,5 @@
1
1
  if RUBY_VERSION > '2.1'
2
2
  raise LoadError, "no such library in #{RUBY_VERSION}: openssl/ssl-internal.rb"
3
- elsif RUBY_VERSION > '1.9'
4
- load "jopenssl19/openssl/#{File.basename(__FILE__)}"
5
3
  else
6
- load "jopenssl18/openssl/#{File.basename(__FILE__)}"
4
+ load "jopenssl19/openssl/#{File.basename(__FILE__)}"
7
5
  end
@@ -4,8 +4,6 @@ elsif RUBY_VERSION > '2.2'
4
4
  load "jopenssl22/openssl/#{File.basename(__FILE__)}"
5
5
  elsif RUBY_VERSION > '2.1'
6
6
  load "jopenssl21/openssl/#{File.basename(__FILE__)}"
7
- elsif RUBY_VERSION > '1.9'
8
- load "jopenssl19/openssl/#{File.basename(__FILE__)}"
9
7
  else
10
- load "jopenssl18/openssl/#{File.basename(__FILE__)}"
8
+ load "jopenssl19/openssl/#{File.basename(__FILE__)}"
11
9
  end
@@ -1,7 +1,5 @@
1
1
  if RUBY_VERSION > '2.1'
2
2
  raise LoadError, "no such library in #{RUBY_VERSION}: openssl/x509-internal.rb"
3
- elsif RUBY_VERSION > '1.9'
4
- load "jopenssl19/openssl/#{File.basename(__FILE__)}"
5
3
  else
6
- load "jopenssl18/openssl/#{File.basename(__FILE__)}"
4
+ load "jopenssl19/openssl/#{File.basename(__FILE__)}"
7
5
  end
@@ -4,8 +4,6 @@ elsif RUBY_VERSION > '2.2'
4
4
  load "jopenssl22/openssl/#{File.basename(__FILE__)}"
5
5
  elsif RUBY_VERSION > '2.1'
6
6
  load "jopenssl21/openssl/#{File.basename(__FILE__)}"
7
- elsif RUBY_VERSION > '1.9'
8
- load "jopenssl19/openssl/#{File.basename(__FILE__)}"
9
7
  else
10
- load "jopenssl18/openssl/#{File.basename(__FILE__)}"
8
+ load "jopenssl19/openssl/#{File.basename(__FILE__)}"
11
9
  end
data/pom.xml CHANGED
@@ -11,7 +11,7 @@ DO NOT MODIFIY - GENERATED CODE
11
11
  <modelVersion>4.0.0</modelVersion>
12
12
  <groupId>rubygems</groupId>
13
13
  <artifactId>jruby-openssl</artifactId>
14
- <version>0.10.0</version>
14
+ <version>0.10.5</version>
15
15
  <packaging>gem</packaging>
16
16
  <name>JRuby OpenSSL</name>
17
17
  <description>JRuby-OpenSSL is an add-on gem for JRuby that emulates the Ruby OpenSSL native library.</description>
@@ -34,9 +34,12 @@ DO NOT MODIFIY - GENERATED CODE
34
34
  </license>
35
35
  </licenses>
36
36
  <developers>
37
+ <developer>
38
+ <name>Karol Bucek</name>
39
+ <email>self+jruby-openssl@kares.org</email>
40
+ </developer>
37
41
  <developer>
38
42
  <name>Ola Bini</name>
39
- <email>ola.bini@gmail.com</email>
40
43
  </developer>
41
44
  <developer>
42
45
  <name>JRuby contributors</name>
@@ -57,59 +60,39 @@ DO NOT MODIFIY - GENERATED CODE
57
60
  </snapshotRepository>
58
61
  </distributionManagement>
59
62
  <properties>
60
- <bc.versions></bc.versions>
61
- <jruby.plugins.version>1.0.10</jruby.plugins.version>
63
+ <bc.versions>1.65</bc.versions>
62
64
  <invoker.skip>${maven.test.skip}</invoker.skip>
63
- <jruby.version>1.7.20</jruby.version>
64
- <runit.dir>src/test/ruby/**/test_*.rb</runit.dir>
65
- <jruby.versions>1.7.20</jruby.versions>
66
- <polyglot.dump.readonly>true</polyglot.dump.readonly>
67
- <tesla.dump.pom>pom.xml</tesla.dump.pom>
68
- <polyglot.dump.pom>pom.xml</polyglot.dump.pom>
69
- <tesla.dump.readonly>true</tesla.dump.readonly>
70
65
  <invoker.test>${bc.versions}</invoker.test>
66
+ <jruby.plugins.version>1.1.8</jruby.plugins.version>
67
+ <jruby.switches>-W0</jruby.switches>
68
+ <jruby.version>9.1.17.0</jruby.version>
69
+ <jruby.versions>9.1.17.0</jruby.versions>
70
+ <mavengem-wagon.version>1.0.3</mavengem-wagon.version>
71
+ <mavengem.wagon.version>1.0.3</mavengem.wagon.version>
72
+ <polyglot.dump.pom>pom.xml</polyglot.dump.pom>
73
+ <polyglot.dump.readonly>true</polyglot.dump.readonly>
74
+ <runit.dir>src/test/ruby/**/test_*.rb</runit.dir>
71
75
  </properties>
72
76
  <dependencies>
73
- <dependency>
74
- <groupId>rubygems</groupId>
75
- <artifactId>jar-dependencies</artifactId>
76
- <version>[0.1,0.99999]</version>
77
- <type>gem</type>
78
- <scope>test</scope>
79
- </dependency>
80
- <dependency>
81
- <groupId>rubygems</groupId>
82
- <artifactId>mocha</artifactId>
83
- <version>[1.1.0,1.1.99999]</version>
84
- <type>gem</type>
85
- <scope>test</scope>
86
- </dependency>
87
- <dependency>
88
- <groupId>rubygems</groupId>
89
- <artifactId>ruby-maven</artifactId>
90
- <version>[3.0,3.99999]</version>
91
- <type>gem</type>
92
- <scope>test</scope>
93
- </dependency>
94
77
  <dependency>
95
78
  <groupId>org.bouncycastle</groupId>
96
79
  <artifactId>bcprov-jdk15on</artifactId>
97
- <version>1.59</version>
80
+ <version>1.65</version>
98
81
  </dependency>
99
82
  <dependency>
100
83
  <groupId>org.bouncycastle</groupId>
101
84
  <artifactId>bcpkix-jdk15on</artifactId>
102
- <version>1.59</version>
85
+ <version>1.65</version>
103
86
  </dependency>
104
87
  <dependency>
105
88
  <groupId>org.bouncycastle</groupId>
106
89
  <artifactId>bctls-jdk15on</artifactId>
107
- <version>1.59</version>
90
+ <version>1.65</version>
108
91
  </dependency>
109
92
  <dependency>
110
93
  <groupId>org.jruby</groupId>
111
94
  <artifactId>jruby-core</artifactId>
112
- <version>1.7.17</version>
95
+ <version>1.7.20</version>
113
96
  <scope>provided</scope>
114
97
  </dependency>
115
98
  <dependency>
@@ -121,22 +104,17 @@ DO NOT MODIFIY - GENERATED CODE
121
104
  </dependencies>
122
105
  <repositories>
123
106
  <repository>
124
- <id>rubygems-releases</id>
125
- <url>http://rubygems-proxy.torquebox.org/releases</url>
126
- </repository>
127
- <repository>
128
- <releases>
129
- <enabled>false</enabled>
130
- </releases>
131
- <snapshots>
132
- <enabled>true</enabled>
133
- </snapshots>
134
- <id>sonatype</id>
135
- <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
107
+ <id>mavengems</id>
108
+ <url>mavengem:https://rubygems.org</url>
136
109
  </repository>
137
110
  </repositories>
138
111
  <build>
139
112
  <extensions>
113
+ <extension>
114
+ <groupId>org.torquebox.mojo</groupId>
115
+ <artifactId>mavengem-wagon</artifactId>
116
+ <version>${mavengem.wagon.version}</version>
117
+ </extension>
140
118
  <extension>
141
119
  <groupId>de.saumya.mojo</groupId>
142
120
  <artifactId>gem-with-jar-extension</artifactId>
@@ -276,6 +254,7 @@ DO NOT MODIFIY - GENERATED CODE
276
254
  </includes>
277
255
  <optimize>true</optimize>
278
256
  <compilerArgs>
257
+ <compilerArg></compilerArg>
279
258
  <compilerArg>-XDignore.symbol.file=true</compilerArg>
280
259
  </compilerArgs>
281
260
  </configuration>
@@ -288,13 +267,13 @@ DO NOT MODIFIY - GENERATED CODE
288
267
  <debug>true</debug>
289
268
  <showWarnings>true</showWarnings>
290
269
  <showDeprecation>true</showDeprecation>
270
+ <excludes>
271
+ <exclude>module-info.java</exclude>
272
+ </excludes>
291
273
  <generatedSourcesDirectory>${basedir}/target/generated-sources</generatedSourcesDirectory>
292
274
  <annotationProcessors>
293
275
  <annotationProcessor>org.jruby.anno.AnnotationBinder</annotationProcessor>
294
276
  </annotationProcessors>
295
- <compilerArgs>
296
- <compilerArg>-XDignore.symbol.file=true</compilerArg>
297
- </compilerArgs>
298
277
  </configuration>
299
278
  </plugin>
300
279
  <plugin>
@@ -378,198 +357,29 @@ DO NOT MODIFIY - GENERATED CODE
378
357
  </build>
379
358
  <profiles>
380
359
  <profile>
381
- <id>test-1.7.18</id>
360
+ <id>module-info</id>
361
+ <activation>
362
+ <jdk>[9,)</jdk>
363
+ </activation>
382
364
  <build>
383
365
  <plugins>
384
366
  <plugin>
385
- <artifactId>maven-invoker-plugin</artifactId>
386
- <version>1.8</version>
387
- <executions>
388
- <execution>
389
- <id>tests-with-different-bc-versions</id>
390
- <goals>
391
- <goal>install</goal>
392
- <goal>run</goal>
393
- </goals>
394
- <configuration>
395
- <projectsDirectory>integration</projectsDirectory>
396
- <pomIncludes>
397
- <pomInclude>*/pom.xml</pomInclude>
398
- </pomIncludes>
399
- <streamLogs>true</streamLogs>
400
- <properties>
401
- <jruby.versions>${jruby.versions}</jruby.versions>
402
- <jruby.modes>${jruby.modes}</jruby.modes>
403
- <jruby.openssl.version>${project.version}</jruby.openssl.version>
404
- <bc.versions>${bc.versions}</bc.versions>
405
- <runit.dir>${runit.dir}</runit.dir>
406
- </properties>
407
- </configuration>
408
- </execution>
409
- </executions>
410
- </plugin>
411
- </plugins>
412
- </build>
413
- <properties>
414
- <bc.versions>1.55,1.56,1.57,1.58,1.59</bc.versions>
415
- <jruby.modes>1.9,2.0</jruby.modes>
416
- <jruby.versions>1.7.18</jruby.versions>
417
- </properties>
418
- </profile>
419
- <profile>
420
- <id>test-1.7.20</id>
421
- <build>
422
- <plugins>
423
- <plugin>
424
- <artifactId>maven-invoker-plugin</artifactId>
425
- <version>1.8</version>
426
- <executions>
427
- <execution>
428
- <goals>
429
- <goal>install</goal>
430
- <goal>run</goal>
431
- </goals>
432
- <configuration>
433
- <projectsDirectory>integration</projectsDirectory>
434
- <pomIncludes>
435
- <pomInclude>*/pom.xml</pomInclude>
436
- </pomIncludes>
437
- <streamLogs>true</streamLogs>
438
- <properties>
439
- <jruby.versions>${jruby.versions}</jruby.versions>
440
- <jruby.modes>${jruby.modes}</jruby.modes>
441
- <jruby.openssl.version>${project.version}</jruby.openssl.version>
442
- <bc.versions>${bc.versions}</bc.versions>
443
- <runit.dir>${runit.dir}</runit.dir>
444
- </properties>
445
- </configuration>
446
- </execution>
447
- </executions>
448
- </plugin>
449
- </plugins>
450
- </build>
451
- <properties>
452
- <bc.versions>1.55,1.56,1.57,1.58,1.59</bc.versions>
453
- <jruby.modes>1.9,2.0</jruby.modes>
454
- <jruby.versions>1.7.20</jruby.versions>
455
- </properties>
456
- </profile>
457
- <profile>
458
- <id>test-1.7.22</id>
459
- <build>
460
- <plugins>
461
- <plugin>
462
- <artifactId>maven-invoker-plugin</artifactId>
463
- <version>1.8</version>
464
- <executions>
465
- <execution>
466
- <goals>
467
- <goal>install</goal>
468
- <goal>run</goal>
469
- </goals>
470
- <configuration>
471
- <projectsDirectory>integration</projectsDirectory>
472
- <pomIncludes>
473
- <pomInclude>*/pom.xml</pomInclude>
474
- </pomIncludes>
475
- <streamLogs>true</streamLogs>
476
- <properties>
477
- <jruby.versions>${jruby.versions}</jruby.versions>
478
- <jruby.modes>${jruby.modes}</jruby.modes>
479
- <jruby.openssl.version>${project.version}</jruby.openssl.version>
480
- <bc.versions>${bc.versions}</bc.versions>
481
- <runit.dir>${runit.dir}</runit.dir>
482
- </properties>
483
- </configuration>
484
- </execution>
485
- </executions>
486
- </plugin>
487
- </plugins>
488
- </build>
489
- <properties>
490
- <bc.versions>1.55,1.56,1.57,1.58,1.59</bc.versions>
491
- <jruby.modes>1.9,2.0</jruby.modes>
492
- <jruby.versions>1.7.22</jruby.versions>
493
- </properties>
494
- </profile>
495
- <profile>
496
- <id>test-1.7.23</id>
497
- <build>
498
- <plugins>
499
- <plugin>
500
- <artifactId>maven-invoker-plugin</artifactId>
501
- <version>1.8</version>
502
- <executions>
503
- <execution>
504
- <goals>
505
- <goal>install</goal>
506
- <goal>run</goal>
507
- </goals>
508
- <configuration>
509
- <projectsDirectory>integration</projectsDirectory>
510
- <pomIncludes>
511
- <pomInclude>*/pom.xml</pomInclude>
512
- </pomIncludes>
513
- <streamLogs>true</streamLogs>
514
- <properties>
515
- <jruby.versions>${jruby.versions}</jruby.versions>
516
- <jruby.modes>${jruby.modes}</jruby.modes>
517
- <jruby.openssl.version>${project.version}</jruby.openssl.version>
518
- <bc.versions>${bc.versions}</bc.versions>
519
- <runit.dir>${runit.dir}</runit.dir>
520
- </properties>
521
- </configuration>
522
- </execution>
523
- </executions>
524
- </plugin>
525
- </plugins>
526
- </build>
527
- <properties>
528
- <bc.versions>1.55,1.56,1.57,1.58,1.59</bc.versions>
529
- <jruby.modes>1.9,2.0</jruby.modes>
530
- <jruby.versions>1.7.23</jruby.versions>
531
- </properties>
532
- </profile>
533
- <profile>
534
- <id>test-1.7.24</id>
535
- <build>
536
- <plugins>
537
- <plugin>
538
- <artifactId>maven-invoker-plugin</artifactId>
539
- <version>1.8</version>
540
- <executions>
541
- <execution>
542
- <goals>
543
- <goal>install</goal>
544
- <goal>run</goal>
545
- </goals>
546
- <configuration>
547
- <projectsDirectory>integration</projectsDirectory>
548
- <pomIncludes>
549
- <pomInclude>*/pom.xml</pomInclude>
550
- </pomIncludes>
551
- <streamLogs>true</streamLogs>
552
- <properties>
553
- <jruby.versions>${jruby.versions}</jruby.versions>
554
- <jruby.modes>${jruby.modes}</jruby.modes>
555
- <jruby.openssl.version>${project.version}</jruby.openssl.version>
556
- <bc.versions>${bc.versions}</bc.versions>
557
- <runit.dir>${runit.dir}</runit.dir>
558
- </properties>
559
- </configuration>
560
- </execution>
561
- </executions>
367
+ <artifactId>maven-compiler-plugin</artifactId>
368
+ <version>3.8.1</version>
369
+ <configuration>
370
+ <source>9</source>
371
+ <target>1.7</target>
372
+ <release>9</release>
373
+ <includes>
374
+ <include>module-info.java</include>
375
+ </includes>
376
+ </configuration>
562
377
  </plugin>
563
378
  </plugins>
564
379
  </build>
565
- <properties>
566
- <bc.versions>1.55,1.56,1.57,1.58,1.59</bc.versions>
567
- <jruby.modes>1.9,2.0</jruby.modes>
568
- <jruby.versions>1.7.24</jruby.versions>
569
- </properties>
570
380
  </profile>
571
381
  <profile>
572
- <id>test-1.7.25</id>
382
+ <id>test-9.0.5.0</id>
573
383
  <build>
574
384
  <plugins>
575
385
  <plugin>
@@ -577,6 +387,7 @@ DO NOT MODIFIY - GENERATED CODE
577
387
  <version>1.8</version>
578
388
  <executions>
579
389
  <execution>
390
+ <id>tests-with-different-bc-versions</id>
580
391
  <goals>
581
392
  <goal>install</goal>
582
393
  <goal>run</goal>
@@ -601,13 +412,13 @@ DO NOT MODIFIY - GENERATED CODE
601
412
  </plugins>
602
413
  </build>
603
414
  <properties>
604
- <bc.versions>1.55,1.56,1.57,1.58,1.59</bc.versions>
605
- <jruby.modes>1.9,2.0</jruby.modes>
606
- <jruby.versions>1.7.25</jruby.versions>
415
+ <bc.versions>1.58,1.59,1.60,1.61,1.62,1.63,1.64,1.65</bc.versions>
416
+ <jruby.version>9.0.5.0</jruby.version>
417
+ <jruby.versions>9.0.5.0</jruby.versions>
607
418
  </properties>
608
419
  </profile>
609
420
  <profile>
610
- <id>test-1.7.26</id>
421
+ <id>test-9.1.2.0</id>
611
422
  <build>
612
423
  <plugins>
613
424
  <plugin>
@@ -639,13 +450,13 @@ DO NOT MODIFIY - GENERATED CODE
639
450
  </plugins>
640
451
  </build>
641
452
  <properties>
642
- <bc.versions>1.55,1.56,1.57,1.58,1.59</bc.versions>
643
- <jruby.modes>1.9,2.0</jruby.modes>
644
- <jruby.versions>1.7.26</jruby.versions>
453
+ <bc.versions>1.58,1.59,1.60,1.61,1.62,1.63,1.64,1.65</bc.versions>
454
+ <jruby.version>9.1.2.0</jruby.version>
455
+ <jruby.versions>9.1.2.0</jruby.versions>
645
456
  </properties>
646
457
  </profile>
647
458
  <profile>
648
- <id>test-1.7.27</id>
459
+ <id>test-9.1.8.0</id>
649
460
  <build>
650
461
  <plugins>
651
462
  <plugin>
@@ -677,13 +488,13 @@ DO NOT MODIFIY - GENERATED CODE
677
488
  </plugins>
678
489
  </build>
679
490
  <properties>
680
- <bc.versions>1.55,1.56,1.57,1.58,1.59</bc.versions>
681
- <jruby.modes>1.9,2.0</jruby.modes>
682
- <jruby.versions>1.7.27</jruby.versions>
491
+ <bc.versions>1.58,1.59,1.60,1.61,1.62,1.63,1.64,1.65</bc.versions>
492
+ <jruby.version>9.1.8.0</jruby.version>
493
+ <jruby.versions>9.1.8.0</jruby.versions>
683
494
  </properties>
684
495
  </profile>
685
496
  <profile>
686
- <id>test-9.0.1.0</id>
497
+ <id>test-9.1.12.0</id>
687
498
  <build>
688
499
  <plugins>
689
500
  <plugin>
@@ -715,13 +526,13 @@ DO NOT MODIFIY - GENERATED CODE
715
526
  </plugins>
716
527
  </build>
717
528
  <properties>
718
- <bc.versions>1.55,1.56,1.57,1.58,1.59</bc.versions>
719
- <jruby.version>9.0.1.0</jruby.version>
720
- <jruby.versions>9.0.1.0</jruby.versions>
529
+ <bc.versions>1.58,1.59,1.60,1.61,1.62,1.63,1.64,1.65</bc.versions>
530
+ <jruby.version>9.1.12.0</jruby.version>
531
+ <jruby.versions>9.1.12.0</jruby.versions>
721
532
  </properties>
722
533
  </profile>
723
534
  <profile>
724
- <id>test-9.0.5.0</id>
535
+ <id>test-9.1.16.0</id>
725
536
  <build>
726
537
  <plugins>
727
538
  <plugin>
@@ -753,13 +564,13 @@ DO NOT MODIFIY - GENERATED CODE
753
564
  </plugins>
754
565
  </build>
755
566
  <properties>
756
- <bc.versions>1.55,1.56,1.57,1.58,1.59</bc.versions>
757
- <jruby.version>9.0.5.0</jruby.version>
758
- <jruby.versions>9.0.5.0</jruby.versions>
567
+ <bc.versions>1.58,1.59,1.60,1.61,1.62,1.63,1.64,1.65</bc.versions>
568
+ <jruby.version>9.1.16.0</jruby.version>
569
+ <jruby.versions>9.1.16.0</jruby.versions>
759
570
  </properties>
760
571
  </profile>
761
572
  <profile>
762
- <id>test-9.1.2.0</id>
573
+ <id>test-9.1.17.0</id>
763
574
  <build>
764
575
  <plugins>
765
576
  <plugin>
@@ -791,13 +602,13 @@ DO NOT MODIFIY - GENERATED CODE
791
602
  </plugins>
792
603
  </build>
793
604
  <properties>
794
- <bc.versions>1.55,1.56,1.57,1.58,1.59</bc.versions>
795
- <jruby.version>9.1.2.0</jruby.version>
796
- <jruby.versions>9.1.2.0</jruby.versions>
605
+ <bc.versions>1.58,1.59,1.60,1.61,1.62,1.63,1.64,1.65</bc.versions>
606
+ <jruby.version>9.1.17.0</jruby.version>
607
+ <jruby.versions>9.1.17.0</jruby.versions>
797
608
  </properties>
798
609
  </profile>
799
610
  <profile>
800
- <id>test-9.1.5.0</id>
611
+ <id>test-9.2.0.0</id>
801
612
  <build>
802
613
  <plugins>
803
614
  <plugin>
@@ -829,13 +640,13 @@ DO NOT MODIFIY - GENERATED CODE
829
640
  </plugins>
830
641
  </build>
831
642
  <properties>
832
- <bc.versions>1.55,1.56,1.57,1.58,1.59</bc.versions>
833
- <jruby.version>9.1.5.0</jruby.version>
834
- <jruby.versions>9.1.5.0</jruby.versions>
643
+ <bc.versions>1.58,1.59,1.60,1.61,1.62,1.63,1.64,1.65</bc.versions>
644
+ <jruby.version>9.2.0.0</jruby.version>
645
+ <jruby.versions>9.2.0.0</jruby.versions>
835
646
  </properties>
836
647
  </profile>
837
648
  <profile>
838
- <id>test-9.1.8.0</id>
649
+ <id>test-9.2.5.0</id>
839
650
  <build>
840
651
  <plugins>
841
652
  <plugin>
@@ -867,13 +678,13 @@ DO NOT MODIFIY - GENERATED CODE
867
678
  </plugins>
868
679
  </build>
869
680
  <properties>
870
- <bc.versions>1.55,1.56,1.57,1.58,1.59</bc.versions>
871
- <jruby.version>9.1.8.0</jruby.version>
872
- <jruby.versions>9.1.8.0</jruby.versions>
681
+ <bc.versions>1.58,1.59,1.60,1.61,1.62,1.63,1.64,1.65</bc.versions>
682
+ <jruby.version>9.2.5.0</jruby.version>
683
+ <jruby.versions>9.2.5.0</jruby.versions>
873
684
  </properties>
874
685
  </profile>
875
686
  <profile>
876
- <id>test-9.1.12.0</id>
687
+ <id>test-9.2.6.0</id>
877
688
  <build>
878
689
  <plugins>
879
690
  <plugin>
@@ -905,13 +716,13 @@ DO NOT MODIFIY - GENERATED CODE
905
716
  </plugins>
906
717
  </build>
907
718
  <properties>
908
- <bc.versions>1.55,1.56,1.57,1.58,1.59</bc.versions>
909
- <jruby.version>9.1.12.0</jruby.version>
910
- <jruby.versions>9.1.12.0</jruby.versions>
719
+ <bc.versions>1.58,1.59,1.60,1.61,1.62,1.63,1.64,1.65</bc.versions>
720
+ <jruby.version>9.2.6.0</jruby.version>
721
+ <jruby.versions>9.2.6.0</jruby.versions>
911
722
  </properties>
912
723
  </profile>
913
724
  <profile>
914
- <id>test-9.1.13.0</id>
725
+ <id>test-9.2.7.0</id>
915
726
  <build>
916
727
  <plugins>
917
728
  <plugin>
@@ -943,13 +754,13 @@ DO NOT MODIFIY - GENERATED CODE
943
754
  </plugins>
944
755
  </build>
945
756
  <properties>
946
- <bc.versions>1.55,1.56,1.57,1.58,1.59</bc.versions>
947
- <jruby.version>9.1.13.0</jruby.version>
948
- <jruby.versions>9.1.13.0</jruby.versions>
757
+ <bc.versions>1.58,1.59,1.60,1.61,1.62,1.63,1.64,1.65</bc.versions>
758
+ <jruby.version>9.2.7.0</jruby.version>
759
+ <jruby.versions>9.2.7.0</jruby.versions>
949
760
  </properties>
950
761
  </profile>
951
762
  <profile>
952
- <id>test-9.1.16.0</id>
763
+ <id>test-9.2.8.0</id>
953
764
  <build>
954
765
  <plugins>
955
766
  <plugin>
@@ -981,13 +792,13 @@ DO NOT MODIFIY - GENERATED CODE
981
792
  </plugins>
982
793
  </build>
983
794
  <properties>
984
- <bc.versions>1.55,1.56,1.57,1.58,1.59</bc.versions>
985
- <jruby.version>9.1.16.0</jruby.version>
986
- <jruby.versions>9.1.16.0</jruby.versions>
795
+ <bc.versions>1.58,1.59,1.60,1.61,1.62,1.63,1.64,1.65</bc.versions>
796
+ <jruby.version>9.2.8.0</jruby.version>
797
+ <jruby.versions>9.2.8.0</jruby.versions>
987
798
  </properties>
988
799
  </profile>
989
800
  <profile>
990
- <id>test-9.1.17.0</id>
801
+ <id>test-9.2.9.0</id>
991
802
  <build>
992
803
  <plugins>
993
804
  <plugin>
@@ -1019,9 +830,9 @@ DO NOT MODIFIY - GENERATED CODE
1019
830
  </plugins>
1020
831
  </build>
1021
832
  <properties>
1022
- <bc.versions>1.55,1.56,1.57,1.58,1.59</bc.versions>
1023
- <jruby.version>9.1.17.0</jruby.version>
1024
- <jruby.versions>9.1.17.0</jruby.versions>
833
+ <bc.versions>1.58,1.59,1.60,1.61,1.62,1.63,1.64,1.65</bc.versions>
834
+ <jruby.version>9.2.9.0</jruby.version>
835
+ <jruby.versions>9.2.9.0</jruby.versions>
1025
836
  </properties>
1026
837
  </profile>
1027
838
  <profile>
@@ -1030,7 +841,7 @@ DO NOT MODIFIY - GENERATED CODE
1030
841
  <plugins>
1031
842
  <plugin>
1032
843
  <artifactId>maven-gpg-plugin</artifactId>
1033
- <version>1.5</version>
844
+ <version>1.6</version>
1034
845
  <executions>
1035
846
  <execution>
1036
847
  <phase>verify</phase>