Skip to content

Commit 234f68c

Browse files
committed
[build] work-around printed mvn plugin warnings
from JRuby messing up the pom contents (unable to release) jruby/jruby-maven-plugins#94
1 parent fb15aa4 commit 234f68c

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Mavenfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ default_bc_version = default_bc_version[/BOUNCY_CASTLE_VERSION\s?=\s?'(.*?)'/, 1
105105

106106
properties( 'jruby.plugins.version' => '1.1.6',
107107
'jruby.versions' => '9.1.17.0',
108+
'jruby.switches' => '-W0', # https://github.com/torquebox/jruby-maven-plugins/issues/94
108109
'bc.versions' => default_bc_version,
109110
'invoker.test' => '${bc.versions}',
110111
# allow to skip all tests with -Dmaven.test.skip

pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ DO NOT MODIFIY - GENERATED CODE
6464
<invoker.skip>${maven.test.skip}</invoker.skip>
6565
<invoker.test>${bc.versions}</invoker.test>
6666
<jruby.plugins.version>1.1.6</jruby.plugins.version>
67+
<jruby.switches>-W0</jruby.switches>
6768
<jruby.version>9.1.17.0</jruby.version>
6869
<jruby.versions>9.1.17.0</jruby.versions>
6970
<mavengem.wagon.version>0.2.1</mavengem.wagon.version>

0 commit comments

Comments
 (0)