|
20 | 20 |
|
21 | 21 | <properties> |
22 | 22 | <jruby.version>9.4.7.0</jruby.version> |
23 | | - <vendor.gems.path>vendor/gems</vendor.gems.path> |
24 | | - <bundler.version>2.4.19</bundler.version> |
25 | | - <bundler.local>false</bundler.local> <!-- true by default --> |
26 | 23 | <jruby.maven.plugins.version>3.0.3</jruby.maven.plugins.version> |
27 | 24 | <gem.home>${project.build.directory}/rubygems</gem.home> |
28 | 25 | </properties> |
|
97 | 94 | <groupId>org.jruby</groupId> |
98 | 95 | <artifactId>jruby-core</artifactId> |
99 | 96 | <version>${jruby.version}</version> |
| 97 | + <scope>provided</scope> |
100 | 98 | </dependency> |
101 | 99 | <!-- JavaEE 6 APIs --> |
102 | 100 | <dependency> |
|
147 | 145 | <version>3.2.10.RELEASE</version> |
148 | 146 | <scope>test</scope> |
149 | 147 | </dependency> |
150 | | - <dependency> |
151 | | - <groupId>rubygems</groupId> |
152 | | - <artifactId>jruby-openssl</artifactId> |
153 | | - <version>0.9.6</version> |
154 | | - <type>gem</type> |
155 | | - <scope>provided</scope> |
156 | | - </dependency> |
157 | | - <dependency> |
158 | | - <groupId>rubygems</groupId> |
159 | | - <artifactId>bundler</artifactId> |
160 | | - <version>${bundler.version}</version> |
161 | | - <type>gem</type> |
162 | | - <scope>provided</scope> |
163 | | - </dependency> |
164 | 148 | <dependency> |
165 | 149 | <groupId>javax.activation</groupId> |
166 | 150 | <artifactId>activation</artifactId> |
167 | 151 | <version>1.1</version> |
| 152 | + <scope>test</scope> |
168 | 153 | </dependency> |
169 | 154 | </dependencies> |
170 | 155 |
|
|
233 | 218 | </execution> |
234 | 219 | </executions> |
235 | 220 | </plugin> |
236 | | - <plugin> |
237 | | - <groupId>org.jruby.maven</groupId> |
238 | | - <artifactId>gem-maven-plugin</artifactId> |
239 | | - <version>${jruby.maven.plugins.version}</version> |
240 | | - <configuration> |
241 | | - <includeOpenSSL>false</includeOpenSSL> |
242 | | - <gemHomes> |
243 | | - <provided>${gem.home}</provided> |
244 | | - </gemHomes> |
245 | | - </configuration> |
246 | | - <executions> |
247 | | - <execution> |
248 | | - <id>gem-install-bundler</id> |
249 | | - <phase>test</phase> |
250 | | - <goals> |
251 | | - <goal>initialize</goal> |
252 | | - </goals> |
253 | | - </execution> |
254 | | - </executions> |
255 | | - </plugin> |
256 | 221 | <plugin> |
257 | 222 | <groupId>org.jruby.maven</groupId> |
258 | 223 | <artifactId>bundler-maven-plugin</artifactId> |
|
263 | 228 | <phase>test</phase> |
264 | 229 | <goals><goal>install</goal></goals> |
265 | 230 | <configuration> |
266 | | - <jruby.version>${jruby.version}</jruby.version> |
267 | | - <!--<local>false</local>--> |
268 | | - <bundlerVersion>${bundler.version}</bundlerVersion> |
| 231 | + <jrubyVersion>${jruby.version}</jrubyVersion> |
| 232 | + <local>false</local> |
| 233 | + <quiet>false</quiet> |
269 | 234 | </configuration> |
270 | 235 | </execution> |
271 | 236 | </executions> |
|
274 | 239 | <groupId>org.jruby.maven</groupId> |
275 | 240 | <artifactId>rake-maven-plugin</artifactId> |
276 | 241 | <version>${jruby.maven.plugins.version}</version> |
| 242 | + <configuration> |
| 243 | + <jrubyVersion>${jruby.version}</jrubyVersion> |
| 244 | + </configuration> |
277 | 245 | <executions> |
278 | | -<!-- <execution>--> |
279 | | -<!-- <id>rake-spec</id>--> |
280 | | -<!-- <phase>test</phase>--> |
281 | | -<!-- <goals><goal>rake</goal></goals>--> |
282 | | -<!-- <configuration>--> |
283 | | -<!-- <jruby.version>${jruby.version}</jruby.version>--> |
284 | | -<!-- <args>speconly SKIP_SPECS=${maven.test.skip} FULL_BIN_PATH=true</args>--> |
285 | | -<!-- </configuration>--> |
286 | | -<!-- </execution>--> |
| 246 | + <execution> |
| 247 | + <id>rake-spec</id> |
| 248 | + <phase>test</phase> |
| 249 | + <goals><goal>rake</goal></goals> |
| 250 | + <configuration> |
| 251 | + <args>speconly SKIP_SPECS=${maven.test.skip}</args> |
| 252 | + </configuration> |
| 253 | + </execution> |
287 | 254 | <execution> |
288 | 255 | <!-- additional (ruby) generated resources --> |
289 | 256 | <id>rake-resources</id> |
290 | 257 | <phase>prepare-package</phase> |
291 | 258 | <!-- bind "late" so we do not run during compile/test-compile --> |
292 | 259 | <goals><goal>rake</goal></goals> |
293 | 260 | <configuration> |
294 | | - <jruby.version>${jruby.version}</jruby.version> |
295 | 261 | <args>resources VERSION=${project.version}</args> |
296 | 262 | </configuration> |
297 | 263 | </execution> |
|
0 commit comments