Skip to content

Commit

Permalink
Update to jruby-maven-plugins 3.0.4
Browse files Browse the repository at this point in the history
Various small fixes, but notably File.exists? replaced so it works
with JRuby 10.
  • Loading branch information
headius committed Dec 11, 2024
1 parent f672461 commit 8e77846
Show file tree
Hide file tree
Showing 22 changed files with 22 additions and 22 deletions.
2 changes: 1 addition & 1 deletion lib/pom.rb
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def log(message=nil)

properties( 'polyglot.dump.pom' => 'pom.xml',
'polyglot.dump.readonly' => true,
'jruby.plugins.version' => '3.0.2',
'jruby.plugins.version' => '3.0.4',
'gem.home' => '${basedir}/ruby/gems/shared',
# we copy everything into the target/classes/META-INF
# so the jar plugin just packs it - see build/resources below
Expand Down
2 changes: 1 addition & 1 deletion lib/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ DO NOT MODIFY - GENERATED CODE
<gem.home>${basedir}/ruby/gems/shared</gem.home>
<jruby.complete.gems>${jruby.complete.home}/lib/ruby/gems/shared</jruby.complete.gems>
<jruby.complete.home>${project.build.outputDirectory}/META-INF/jruby.home</jruby.complete.home>
<jruby.plugins.version>3.0.2</jruby.plugins.version>
<jruby.plugins.version>3.0.4</jruby.plugins.version>
<polyglot.dump.pom>pom.xml</polyglot.dump.pom>
<polyglot.dump.readonly>true</polyglot.dump.readonly>
</properties>
Expand Down
2 changes: 1 addition & 1 deletion maven/jruby-complete/src/it/extended/Mavenfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#-*- mode: ruby -*-

# default versions will be overwritten by pom.rb from root directory
properties( 'jruby.plugins.version' => '3.0.2',
properties( 'jruby.plugins.version' => '3.0.4',
'project.build.sourceEncoding' => 'utf-8',
'jruby.home' => '${basedir}/../../../../..' )

Expand Down
2 changes: 1 addition & 1 deletion maven/jruby-complete/src/it/runnable/Mavenfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#-*- mode: ruby -*-

# default versions will be overwritten by pom.rb from root directory
properties( 'jruby.plugins.version' => '3.0.2',
properties( 'jruby.plugins.version' => '3.0.4',
'mavengem.wagon.version' => '2.0.1',
'jruby.version' => '9.4.3.0' )

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
packaging 'bundle'

# default versions will be overwritten by pom.rb from root directory
properties( 'jruby.plugins.version' => '3.0.2',
properties( 'jruby.plugins.version' => '3.0.4',
# needed bundle plugin
'polyglot.dump.pom' => 'pom.xml' )

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
packaging :pom

# default versions will be overwritten by pom.rb from root directory
properties( 'jruby.plugins.version' => '3.0.2',
properties( 'jruby.plugins.version' => '3.0.4',
'project.build.sourceEncoding' => 'utf-8' )

modules [ 'gems-bundle', 'scripts-bundle', 'test' ]
2 changes: 1 addition & 1 deletion maven/jruby-jars/Mavenfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ end

properties( 'tesla.dump.pom' => 'pom.xml',
'tesla.dump.readonly' => true,
'jruby.plugins.version' => '3.0.2',
'jruby.plugins.version' => '3.0.4',
# we share the already installed gems
'gem.home' => '${jruby_home}/lib/ruby/gems/shared',
# need jruby_home but not jruby.home as name otherwise
Expand Down
2 changes: 1 addition & 1 deletion maven/jruby/src/it/j2ee_jetty/pom.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
packaging 'war'

# default versions will be overwritten by pom.rb from root directory
properties( 'jruby.plugins.version' => '3.0.2',
properties( 'jruby.plugins.version' => '3.0.4',
'project.build.sourceEncoding' => 'utf-8' )

pom( 'org.jruby:jruby', '${jruby.version}' )
Expand Down
2 changes: 1 addition & 1 deletion maven/jruby/src/it/j2ee_jetty_rack/Mavenfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
packaging 'war'

# get jruby dependencies
properties( 'jruby.plugins.version' => '3.0.2',
properties( 'jruby.plugins.version' => '3.0.4',
'project.build.sourceEncoding' => 'utf-8',
'public.dir' => '${basedir}/public' )

Expand Down
2 changes: 1 addition & 1 deletion maven/jruby/src/it/j2ee_tomcat/pom.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
packaging 'war'

# default versions will be overwritten by pom.rb from root directory
properties( 'jruby.plugins.version' => '3.0.2',
properties( 'jruby.plugins.version' => '3.0.4',
'project.build.sourceEncoding' => 'utf-8' )

pom( 'org.jruby:jruby', '${jruby.version}' )
Expand Down
2 changes: 1 addition & 1 deletion maven/jruby/src/it/j2ee_tomcat_rack/Mavenfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
packaging 'war'

# get jruby dependencies
properties( 'jruby.plugins.version' => '3.0.2',
properties( 'jruby.plugins.version' => '3.0.4',
'project.build.sourceEncoding' => 'utf-8',
'public.dir' => '${basedir}/public' )

Expand Down
2 changes: 1 addition & 1 deletion maven/jruby/src/it/j2ee_wildfly/pom.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
packaging 'war'

# default versions will be overwritten by pom.rb from root directory
properties( 'jruby.plugins.version' => '3.0.2',
properties( 'jruby.plugins.version' => '3.0.4',
'wildfly.version' => '9.0.2.Final',
'project.build.sourceEncoding' => 'utf-8' )

Expand Down
2 changes: 1 addition & 1 deletion maven/jruby/src/it/jetty/Mavenfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
packaging 'war'

# default versions will be overwritten by pom.rb from root directory
properties( 'jruby.plugins.version' => '3.0.2',
properties( 'jruby.plugins.version' => '3.0.4',
'project.build.sourceEncoding' => 'utf-8',
'public.dir' => '${basedir}/public' )

Expand Down
2 changes: 1 addition & 1 deletion maven/jruby/src/it/many_jars_with_embedded_gems/app/pom.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# two jars with embedded gems
jar 'org.jruby.maven:maven-tools', '3.0.2'
jar 'org.jruby.maven:maven-tools', '3.0.4'
jar 'org.rubygems:zip', '2.0.2'

# jruby scripting container
Expand Down
2 changes: 1 addition & 1 deletion maven/jruby/src/it/many_jars_with_embedded_gems/pom.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#-*- mode: ruby -*-

# default versions will be overwritten by pom.rb from root directory
properties( 'jruby.plugins.version' => '3.0.2' )
properties( 'jruby.plugins.version' => '3.0.4' )

packaging :pom

Expand Down
2 changes: 1 addition & 1 deletion maven/jruby/src/it/many_jars_with_embedded_gems_ng/pom.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#-*- mode: ruby -*-

# default versions will be overwritten by pom.rb from root directory
properties( 'jruby.plugins.version' => '3.0.2' )
properties( 'jruby.plugins.version' => '3.0.4' )

packaging :pom

Expand Down
2 changes: 1 addition & 1 deletion maven/jruby/src/it/tomcat/pom.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
packaging 'war'

# default versions will be overwritten by pom.rb from root directory
properties( 'jruby.plugins.version' => '3.0.2',
properties( 'jruby.plugins.version' => '3.0.4',
'project.build.sourceEncoding' => 'utf-8' )

pom( 'org.jruby:jruby', '${jruby.version}' )
Expand Down
2 changes: 1 addition & 1 deletion maven/jruby/src/templates/hellowarld/Mavenfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ packaging 'pom'
# TODO add extension to .mvn/extensions.xml
extension 'org.jruby.maven', 'jruby9-extensions', '${jruby9.plugins.version}'

properties( 'jruby.plugins.version' => '3.0.2',
properties( 'jruby.plugins.version' => '3.0.4',
'jruby9.plugins.version' => '0.2.0' )

# integration tests
Expand Down
2 changes: 1 addition & 1 deletion maven/jruby/src/templates/j2ee_wlp/pom.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
packaging 'war'

# default versions will be overwritten by pom.rb from root directory
properties( 'jruby.plugins.version' => '3.0.2',
properties( 'jruby.plugins.version' => '3.0.4',
'project.build.sourceEncoding' => 'utf-8' )

pom( 'org.jruby:jruby', '${jruby.version}' )
Expand Down
2 changes: 1 addition & 1 deletion maven/jruby/src/templates/osgi_all_inclusive/pom.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
packaging 'bundle'

# default versions will be overwritten by pom.rb from root directory
properties( 'jruby.plugins.version' => '3.0.2',
properties( 'jruby.plugins.version' => '3.0.4',
'exam.version' => '3.0.3',
'url.version' => '1.5.2',
'logback.version' => '1.0.13',
Expand Down
2 changes: 1 addition & 1 deletion pom.rb
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
'github.global.server' => 'github',
'polyglot.dump.pom' => 'pom.xml',
'polyglot.dump.readonly' => 'true',
'jruby.plugins.version' => '3.0.2',
'jruby.plugins.version' => '3.0.4',

# versions for default gems with bin executables
# used in ./lib/pom.rb and ./maven/jruby-stdlib/pom.rb
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ DO NOT MODIFY - GENERATED CODE
<joda.time.version>2.12.7</joda.time.version>
<jruby-launcher.version>1.1.6</jruby-launcher.version>
<jruby.basedir>${project.basedir}</jruby.basedir>
<jruby.plugins.version>3.0.2</jruby.plugins.version>
<jruby.plugins.version>3.0.4</jruby.plugins.version>
<main.basedir>${project.basedir}</main.basedir>
<polyglot.dump.pom>pom.xml</polyglot.dump.pom>
<polyglot.dump.readonly>true</polyglot.dump.readonly>
Expand Down

0 comments on commit 8e77846

Please sign in to comment.