jruby-openssl 0.9.16-java → 0.9.17-java

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 390fcbe6a3e79904d716a3a01d5a0c57b8cb0f51
4
- data.tar.gz: ccb36ce879e1f39966118141cc727893b8dea631
3
+ metadata.gz: 54fe73283dd1bf1d21f0838b07d74d69b9dc2712
4
+ data.tar.gz: e913cf2109cae61539fa77462ead94bd848b7f49
5
5
  SHA512:
6
- metadata.gz: 6d7195a55754d197680ad516e1b58fb66537236fa899f3d882ee9c41c57a378d0e86862145a33a11316b07e481ec45c1469b7f2c8a1f79d5b8b6d3cfeb0b2b40
7
- data.tar.gz: efdfec47995c72101b7f9bafe6095a1c8a6f451e6f42fe066407897886b52b3d0d1997368192abfbe029c9de6d443d36f894d22d9f312dac2c5c1259fe20698c
6
+ metadata.gz: 0b7acfce75c719f7493618d9f1a231bc113e753efd1117155970b0175ddfb4bcfa452ac47b64087462885d1c8c8bb1b7c70285e40d9cc4197d7030cdfa8850d2
7
+ data.tar.gz: e80da49c3c0757fd04f120721fe70b7186ef15f80a830677fbc5d7e8aa0afa16cd4c5933203230a50287b9043442293bd90d2c6a80b06f573f43a3254dc5d1b8
data/History.md CHANGED
@@ -1,3 +1,24 @@
1
+ ## 0.9.17
2
+
3
+ * temporarily register BC provider on X.509 factory (work-around for #94)
4
+ * support Cipher#auth_tag and auth_data for GCM ciphers (e.g. aes-128-gcm)
5
+ * need to drop support for BC <= 1.50 due EC support (N/A in older BCs)
6
+ * (somehow working) draft at implementing PKey::EC (elliptic curve support)
7
+ DH encryption expected to behave correctly
8
+ * make sure (initial) BC security provider registration works!
9
+ ... when **-Djruby.openssl.provider.register=true** (due #94)
10
+ * Make ALL cipherstring match ECDHE cihphers (#91)
11
+ * fix X.509 indexBySubject returning correct index
12
+ * try to handle `SSLContext.session=` and also try answering `session_reused?`
13
+ * handle equals/hashCode on SSL::Session and raise on timeout int overflow
14
+ * Allow DSA private keys to be initialized from parameters. (#83)
15
+ * Instantiate both the private and public keys when setting parameters. (#82)
16
+
17
+ ## 0.9.16
18
+
19
+ * add hard dependency to jar-dependencies (#74)
20
+ * Recognize Android java.version (#81)
21
+
1
22
  ## 0.9.15
2
23
 
3
24
  * always return a Fixnum from `OpenSSL::SSL::Session#timeout`, OpenSSL defaults
@@ -0,0 +1,193 @@
1
+ #-*- mode: ruby -*-
2
+
3
+ gemspec :jar => 'jopenssl', :include_jars => true
4
+
5
+ sonatype_url = 'https://oss.sonatype.org/content/repositories/snapshots/'
6
+ snapshot_repository :id => 'sonatype', :url => sonatype_url
7
+
8
+ distribution_management do
9
+ snapshot_repository :id => :ossrh, :url => 'https://oss.sonatype.org/content/repositories/snapshots'
10
+ repository :id => :ossrh, :url => 'https://oss.sonatype.org/service/local/staging/deploy/maven2/'
11
+ end
12
+
13
+ java_target = '1.6'
14
+ gen_sources = '${basedir}/target/generated-sources' # hard-coded in AnnotationBinder
15
+
16
+ plugin( 'org.codehaus.mojo:exec-maven-plugin', '1.3.2' ) do
17
+
18
+ =begin
19
+ invoker_main = '-Djruby.bytecode.version=${compiler.target}'
20
+ #invoker_main << ' -classpath '
21
+ invoker_main << ' org.jruby.anno.InvokerGenerator'
22
+ invoker_main << " #{gen_sources}/annotated_classes.txt ${project.build.outputDirectory}"
23
+
24
+ dependency 'org.jruby', 'jruby-core', '${jruby.version}'
25
+
26
+ execute_goal :java, :id => 'invoker-generator', :phase => 'process-classes',
27
+ :mainClass => 'org.jruby.anno.InvokerGenerator', :classpathScope => 'compile',
28
+ #:arguments => [ '${gen.sources}/annotated_classes.txt', '${project.build.outputDirectory}' ] do
29
+ :commandlineArgs => "#{gen_sources}/annotated_classes.txt ${project.build.outputDirectory}",
30
+ :classpathScope => 'runtime', :additionalClasspathElements => [ '${project.build.outputDirectory}' ],
31
+ :includeProjectDependencies => false, :includePluginDependencies => true do
32
+
33
+ #systemProperties do
34
+ # property '-Djruby.bytecode.version=${compiler.target}'
35
+ #end
36
+ =end
37
+
38
+ execute_goal :exec, :id => 'invoker-generator', :phase => 'process-classes',
39
+ :executable => 'java', :classpathScope => 'compile',
40
+ :arguments => [ "-Djruby.bytecode.version=#{java_target}",
41
+ '-classpath', xml( '<classpath/>' ),
42
+ 'org.jruby.anno.InvokerGenerator',
43
+ "#{gen_sources}/annotated_classes.txt",
44
+ '${project.build.outputDirectory}' ]
45
+ end
46
+
47
+ plugin( 'org.codehaus.mojo:build-helper-maven-plugin', '1.9' ) do
48
+ execute_goal 'add-source', :phase => 'process-classes', :sources => [ gen_sources ]
49
+ end
50
+
51
+ plugin( :compiler, '3.1',
52
+ :source => java_target, :target => java_target,
53
+ :encoding => 'UTF-8', :debug => true,
54
+ :showWarnings => true, :showDeprecation => true,
55
+
56
+ :generatedSourcesDirectory => gen_sources,
57
+ :annotationProcessors => [ 'org.jruby.anno.AnnotationBinder' ],
58
+ :compilerArgs => [ '-XDignore.symbol.file=true' ] ) do
59
+
60
+ #execute_goal :compile, :id => 'annotation-binder', :phase => 'compile',
61
+ # :generatedSourcesDirectory => gen_sources, #:outputDirectory => gen_sources,
62
+ # :annotationProcessors => [ 'org.jruby.anno.AnnotationBinder' ],
63
+ # :proc => 'only', # :compilerReuseStrategy => 'alwaysNew',
64
+ # :useIncrementalCompilation => false, :fork => true, :verbose => true,
65
+ # :compilerArgs => [ '-XDignore.symbol.file=true', '-J-Dfile.encoding=UTF-8' ]
66
+
67
+ execute_goal :compile, :id => 'compile-populators', :phase => 'process-classes',
68
+ :includes => [ 'org/jruby/gen/**/*.java' ], :optimize => true,
69
+ :compilerArgs => [ '-XDignore.symbol.file=true' ]
70
+ # NOTE: maybe '-J-Xbootclasspath/p:${unsafe.jar}' ... as well ?!
71
+ end
72
+
73
+ plugin :clean do
74
+ execute_goals( 'clean', :id => 'default-clean', :phase => 'clean',
75
+ 'filesets' => [
76
+ { :directory => 'lib', :includes => [ 'jopenssl.jar' ] },
77
+ { :directory => 'lib/org' },
78
+ { :directory => 'target', :includes => [ '*' ] }
79
+ ],
80
+ 'failOnError' => 'false' )
81
+ end
82
+
83
+ # NOTE: unfortunately we can not use 1.6.8 to generate invokers ...
84
+ # although we'd like to compile against 1.6 to make sure all is well
85
+ jar 'org.jruby:jruby-core', '1.7.17', :scope => :provided # 1.6.8
86
+ jar 'junit:junit', '4.11', :scope => :test
87
+
88
+ jruby_plugin! :gem do
89
+ # when installing dependent gems we want to use the built in openssl
90
+ # not the one from this lib directory
91
+ # we compile against jruby-core-1.7.17 and want to keep this out of
92
+ # the plugin execution here
93
+ execute_goal :id => 'default-initialize', :addProjectClasspath => false, :libDirectory => 'something-which-does-not-exists'
94
+ execute_goals :id => 'default-push', :skip => true
95
+ end
96
+
97
+ # we want to have the snapshots on oss.sonatype.org and the released gems
98
+ # on maven central
99
+ plugin :deploy, '2.8.1' do
100
+ execute_goals( :deploy, :skip => false )
101
+ end
102
+
103
+ supported_bc_versions = %w{ 1.51 1.52 1.53 1.54 } # due EC support dropped <= 1.50
104
+
105
+ default_bc_version = File.read('lib/jopenssl/version.rb')[/BOUNCY_CASTLE_VERSION\s?=\s?'(.*?)'/, 1]
106
+
107
+ properties( 'jruby.plugins.version' => '1.0.10',
108
+ 'jruby.versions' => '1.7.18',
109
+ 'bc.versions' => default_bc_version,
110
+ 'invoker.test' => '${bc.versions}',
111
+ # allow to skip all tests with -Dmaven.test.skip
112
+ 'invoker.skip' => '${maven.test.skip}',
113
+ 'runit.dir' => 'src/test/ruby/**/test_*.rb',
114
+ # use this version of jruby for ALL the jruby-maven-plugins
115
+ 'jruby.version' => '1.7.18',
116
+ # dump pom.xml as readonly when running 'rmvn'
117
+ 'polyglot.dump.pom' => 'pom.xml',
118
+ 'polyglot.dump.readonly' => true,
119
+ 'tesla.dump.pom' => 'pom.xml',
120
+ 'tesla.dump.readonly' => true )
121
+
122
+ # make sure we have the embedded jars in place before we run runit plugin
123
+ plugin! :dependency do
124
+ execute_goal 'copy-dependencies', :phase => 'generate-test-resources', :outputDirectory => '${basedir}/lib', :useRepositoryLayout => true, :includeGroupIds => 'org.bouncycastle'
125
+ end
126
+
127
+ jruby_plugin(:runit) { execute_goal( :test, :runitDirectory => '${runit.dir}' ) }
128
+
129
+ invoker_run_options = {
130
+ :id => 'tests-with-different-bc-versions',
131
+ :projectsDirectory => 'integration',
132
+ :pomIncludes => [ '*/pom.xml' ],
133
+ :streamLogs => true,
134
+ # pass those properties on to the test project
135
+ :properties => {
136
+ 'jruby.versions' => '${jruby.versions}',
137
+ 'jruby.modes' => '${jruby.modes}',
138
+ 'jruby.openssl.version' => '${project.version}',
139
+ 'bc.versions' => '${bc.versions}',
140
+ 'runit.dir' => '${runit.dir}' }
141
+ }
142
+
143
+ profile :id => 'test-1.6.8' do
144
+ plugin :invoker, '1.8' do
145
+ execute_goals( :install, :run, invoker_run_options )
146
+ end
147
+ properties 'jruby.versions' => '1.6.8', 'jruby.modes' => '1.8,1.9',
148
+ 'bc.versions' => supported_bc_versions.join(',')
149
+ end
150
+
151
+ profile :id => 'test-1.7.4' do
152
+ plugin :invoker, '1.8' do
153
+ execute_goals( :install, :run, invoker_run_options )
154
+ end
155
+ properties 'jruby.versions' => '1.7.4', 'jruby.modes' => '1.8,1.9',
156
+ 'bc.versions' => supported_bc_versions.join(',')
157
+ end
158
+
159
+ jruby_1_7_versions = %w{ 1.7.13 1.7.15 1.7.16 1.7.18 1.7.20 1.7.22 1.7.23 }
160
+ jruby_1_7_versions += %w{ 1.7.24 1.7.25 }
161
+
162
+ jruby_1_7_versions.each { |version|
163
+
164
+ profile :id => "test-#{version}" do
165
+ plugin :invoker, '1.8' do
166
+ execute_goals( :install, :run, invoker_run_options )
167
+ end
168
+ properties 'jruby.versions' => version, 'jruby.modes' => '1.8,1.9,2.0',
169
+ 'bc.versions' => supported_bc_versions.join(',')
170
+ end
171
+
172
+ }
173
+
174
+ jruby_9_K_versions = %w{ 9.0.1.0 9.0.5.0 9.1.0.0 9.1.1.0 9.1.2.0 }
175
+
176
+ jruby_9_K_versions.each { |version|
177
+ profile :id => "test-#{version}" do
178
+ plugin :invoker, '1.8' do
179
+ execute_goals( :install, :run, invoker_run_options )
180
+ end
181
+ # NOTE: we're work-around 9K maven-runit version bug (due minitest changes) !
182
+ # ... still can not build with 9K : https://github.com/jruby/jruby/issues/3184
183
+ properties 'jruby.version' => version, 'jruby.versions' => version,
184
+ 'bc.versions' => supported_bc_versions.join(',')
185
+ end
186
+ }
187
+
188
+ profile :id => 'release' do
189
+ plugin :gpg, '1.5' do
190
+ execute_goal :sign, :phase => :verify
191
+ end
192
+ end
193
+ # vim: syntax=Ruby
data/Rakefile CHANGED
@@ -1,7 +1,7 @@
1
1
  #-*- mode: ruby -*-
2
2
 
3
3
  begin
4
- require 'maven/ruby/tasks'
4
+ require 'ruby-maven'
5
5
  rescue LoadError
6
6
  warn "ruby-maven not available - some tasks will not work " <<
7
7
  "either `gem install ruby-maven' or use mvn instead of rake"
@@ -16,20 +16,22 @@ rescue LoadError
16
16
  end
17
17
  end
18
18
  else
19
- Rake::Task[:jar].clear
19
+ #Rake::Task[:jar].clear rescue nil
20
20
  desc "Package jopenssl.jar with the compiled classes"
21
- task :jar => :maven do
22
- maven.prepare_package '-Dmaven.test.skip=true'
21
+ task :jar do
22
+ RubyMaven.exec( 'prepare-package -Dmaven.test.skip=true' )
23
23
  end
24
24
  namespace :jar do
25
25
  desc "Package jopenssl.jar file (and dependendent jars)"
26
- task :all => :maven do
27
- maven.package '-Dmaven.test.skip=true'
26
+ task :all do
27
+ RubyMaven.exec( 'package -Dmaven.test.skip=true' )
28
28
  end
29
29
  end
30
30
  end
31
31
 
32
- # the actual build configuration is inside the Mavenfile
32
+ task :build do
33
+ RubyMaven.exec('package -Dmaven.test.skip')
34
+ end
33
35
 
34
36
  task :default => :build
35
37
 
@@ -64,4 +66,4 @@ namespace :integration do
64
66
  lib = [ 'lib', 'src/test/integration' ]
65
67
  ruby "-I#{lib.join(':')} -e \"#{loader}\" #{test_files.map { |f| "\"#{f}\"" }.join(' ')}"
66
68
  end
67
- end
69
+ end
@@ -0,0 +1,15 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
3
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4
+ <modelVersion>4.0.0</modelVersion>
5
+ <parent>
6
+ <groupId>none</groupId>
7
+ <artifactId>base</artifactId>
8
+ <version>0</version>
9
+ </parent>
10
+ <artifactId>bouncy-castle</artifactId>
11
+ <version>1.47</version>
12
+ <properties>
13
+ <bc.version>${project.version}</bc.version>
14
+ </properties>
15
+ </project>
@@ -0,0 +1,15 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
3
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4
+ <modelVersion>4.0.0</modelVersion>
5
+ <parent>
6
+ <groupId>none</groupId>
7
+ <artifactId>base</artifactId>
8
+ <version>0</version>
9
+ </parent>
10
+ <artifactId>bouncy-castle</artifactId>
11
+ <version>1.48</version>
12
+ <properties>
13
+ <bc.version>${project.version}</bc.version>
14
+ </properties>
15
+ </project>
@@ -0,0 +1,15 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
3
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4
+ <modelVersion>4.0.0</modelVersion>
5
+ <parent>
6
+ <groupId>none</groupId>
7
+ <artifactId>base</artifactId>
8
+ <version>0</version>
9
+ </parent>
10
+ <artifactId>bouncy-castle</artifactId>
11
+ <version>1.49</version>
12
+ <properties>
13
+ <bc.version>${project.version}</bc.version>
14
+ </properties>
15
+ </project>
@@ -0,0 +1,15 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
3
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4
+ <modelVersion>4.0.0</modelVersion>
5
+ <parent>
6
+ <groupId>none</groupId>
7
+ <artifactId>base</artifactId>
8
+ <version>0</version>
9
+ </parent>
10
+ <artifactId>bouncy-castle</artifactId>
11
+ <version>1.50</version>
12
+ <properties>
13
+ <bc.version>${project.version}</bc.version>
14
+ </properties>
15
+ </project>
@@ -0,0 +1,57 @@
1
+ #-*- mode: ruby -*-
2
+
3
+ id 'none:base:0'
4
+ packaging :pom
5
+
6
+ snapshot_repository :id => 'jruby', :url => 'http://ci.jruby.org/snapshots/maven'
7
+
8
+ # TODO should be setup whenever a plugin uses gems
9
+ plugin_repository :id => 'rubygems-releases', :url => 'http://rubygems-proxy.torquebox.org/releases'
10
+
11
+ base_path = File.expand_path('..', File.dirname(__FILE__))
12
+ bc_version = File.read("#{base_path}/lib/jopenssl/version.rb")[/BOUNCY_CASTLE_VERSION\s?=\s?'(.*?)'/, 1]
13
+
14
+ properties( 'bc.version' => bc_version, # to satisfy maven
15
+ 'jruby.openssl.version' => '0.9.7', # to satisfy maven
16
+ # use the gem-maven-plugin repo for the tests
17
+ 'gem.home' => '${basedir}/../pkg/rubygems',
18
+ 'gem.path' => '${basedir}/../pkg/rubygems',
19
+ 'tesla.dump.pom' => 'pom.xml',
20
+ 'tesla.dump.readonly' => true,
21
+ 'jruby.version' => '1.7.19', # for jruby-maven-plugins
22
+ 'jruby.plugins.version' => '1.0.9' )
23
+
24
+ jruby_plugin :gem, :gemHomes => { 'gem-maven-plugin' => '${gem.home}' } do
25
+ execute_goal :initialize
26
+
27
+ gem 'jar-dependencies', '0.1.8' # TODO change after 0.1.15 is out
28
+ spec = Gem::Specification.load "#{base_path}/jruby-openssl.gemspec"
29
+ spec.development_dependencies.each do |dev_spec|
30
+ gem dev_spec.name, *dev_spec.requirements_list
31
+ end
32
+
33
+ # make sure we have those in the local repo
34
+ # BUT not be part of the runit-classloader
35
+ # otherwise jruby-1.7.x and jruby-1.6.x will not use those
36
+ # required in the test_*.rb files
37
+ jar 'org.bouncycastle', 'bcpkix-jdk15on', '${bc.version}'
38
+ jar 'org.bouncycastle', 'bcprov-jdk15on', '${bc.version}'
39
+ #spec.requirements.each do |req|
40
+ # req = req.sub('jar', '').split(',').each(&:strip!)
41
+ # jar req[0], req[1]
42
+ #end
43
+
44
+ gem 'jruby-openssl', '${jruby.openssl.version}'
45
+
46
+ end
47
+
48
+ jruby_plugin :runit do
49
+ execute_goal( :test,
50
+ :env => { 'BC_VERSION' => '${bc.version}' },
51
+ :jrubySwitches => '-I../../lib',
52
+ :runitDirectory => '../../src/test/ruby/**/test_*.rb',
53
+ :versions => '${jruby.versions}',
54
+ :modes => '${jruby.modes}' )
55
+ end
56
+
57
+ # vim: syntax=Ruby
@@ -0,0 +1,122 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
3
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4
+ <modelVersion>4.0.0</modelVersion>
5
+ <groupId>none</groupId>
6
+ <artifactId>base</artifactId>
7
+ <version>0</version>
8
+ <packaging>pom</packaging>
9
+ <name>integration</name>
10
+ <properties>
11
+ <jruby.version>1.7.19</jruby.version>
12
+ <tesla.dump.readonly>true</tesla.dump.readonly>
13
+ <jruby.openssl.version>0.9.7</jruby.openssl.version>
14
+ <gem.path>${basedir}/../pkg/rubygems</gem.path>
15
+ <jruby.plugins.version>1.0.9</jruby.plugins.version>
16
+ <gem.home>${basedir}/../pkg/rubygems</gem.home>
17
+ <bc.version>1.50</bc.version>
18
+ <tesla.dump.pom>pom.xml</tesla.dump.pom>
19
+ </properties>
20
+ <repositories>
21
+ <repository>
22
+ <releases>
23
+ <enabled>false</enabled>
24
+ </releases>
25
+ <snapshots>
26
+ <enabled>true</enabled>
27
+ </snapshots>
28
+ <id>jruby</id>
29
+ <url>http://ci.jruby.org/snapshots/maven</url>
30
+ </repository>
31
+ </repositories>
32
+ <pluginRepositories>
33
+ <pluginRepository>
34
+ <id>rubygems-releases</id>
35
+ <url>http://rubygems-proxy.torquebox.org/releases</url>
36
+ </pluginRepository>
37
+ </pluginRepositories>
38
+ <build>
39
+ <plugins>
40
+ <plugin>
41
+ <groupId>de.saumya.mojo</groupId>
42
+ <artifactId>gem-maven-plugin</artifactId>
43
+ <version>${jruby.plugins.version}</version>
44
+ <executions>
45
+ <execution>
46
+ <goals>
47
+ <goal>initialize</goal>
48
+ </goals>
49
+ </execution>
50
+ </executions>
51
+ <dependencies>
52
+ <dependency>
53
+ <groupId>rubygems</groupId>
54
+ <artifactId>jar-dependencies</artifactId>
55
+ <version>0.1.8</version>
56
+ <type>gem</type>
57
+ </dependency>
58
+ <dependency>
59
+ <groupId>rubygems</groupId>
60
+ <artifactId>jar-dependencies</artifactId>
61
+ <version>[0.1.0,0.1.99999]</version>
62
+ <type>gem</type>
63
+ </dependency>
64
+ <dependency>
65
+ <groupId>rubygems</groupId>
66
+ <artifactId>mocha</artifactId>
67
+ <version>[1.1.0,1.1.99999]</version>
68
+ <type>gem</type>
69
+ </dependency>
70
+ <dependency>
71
+ <groupId>rubygems</groupId>
72
+ <artifactId>ruby-maven</artifactId>
73
+ <version>[0,)</version>
74
+ <type>gem</type>
75
+ </dependency>
76
+ <dependency>
77
+ <groupId>org.bouncycastle</groupId>
78
+ <artifactId>bcpkix-jdk15on</artifactId>
79
+ <version>${bc.version}</version>
80
+ </dependency>
81
+ <dependency>
82
+ <groupId>org.bouncycastle</groupId>
83
+ <artifactId>bcprov-jdk15on</artifactId>
84
+ <version>${bc.version}</version>
85
+ </dependency>
86
+ <dependency>
87
+ <groupId>rubygems</groupId>
88
+ <artifactId>jruby-openssl</artifactId>
89
+ <version>${jruby.openssl.version}</version>
90
+ <type>gem</type>
91
+ </dependency>
92
+ </dependencies>
93
+ <configuration>
94
+ <gemHomes>
95
+ <gem-maven-plugin>${gem.home}</gem-maven-plugin>
96
+ </gemHomes>
97
+ </configuration>
98
+ </plugin>
99
+ <plugin>
100
+ <groupId>de.saumya.mojo</groupId>
101
+ <artifactId>runit-maven-plugin</artifactId>
102
+ <version>${jruby.plugins.version}</version>
103
+ <executions>
104
+ <execution>
105
+ <goals>
106
+ <goal>test</goal>
107
+ </goals>
108
+ <configuration>
109
+ <env>
110
+ <BC_VERSION>${bc.version}</BC_VERSION>
111
+ </env>
112
+ <jrubySwitches>-I../../lib</jrubySwitches>
113
+ <runitDirectory>../../src/test/ruby/**/test_*.rb</runitDirectory>
114
+ <versions>${jruby.versions}</versions>
115
+ <modes>${jruby.modes}</modes>
116
+ </configuration>
117
+ </execution>
118
+ </executions>
119
+ </plugin>
120
+ </plugins>
121
+ </build>
122
+ </project>