Skip to content

Commit

Permalink
Update JRuby and all JRuby/Maven plugins
Browse files Browse the repository at this point in the history
This is part of work to update the entire JRuby/Maven stack, in
order to update the version of JRuby used and to address API
deprecations at rubygems.org.

This PR updates JRuby to latest (9.4.3.0) and moves all plugins
to their new org.jruby.maven group ID with latest versions.

Part of the fix for jruby/maven-tools#37.

We will need to coordinate getting this released along with the
maven plugins in the very near term. Because of the rubygems.org
API being shut down next week (the 8th), we are under the gun.

See jruby/mavengem#9, jruby/jruby-maven-plugins#126,
jruby/maven-tools#38 and jruby/jruby#7872.
  • Loading branch information
headius committed Aug 3, 2023
1 parent 81a1150 commit 5dadf0a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions polyglot-ruby/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<dependency>
<groupId>org.jruby</groupId>
<artifactId>jruby</artifactId>
<version>9.2.19.0</version>
<version>9.4.3.0</version>
<type>pom</type>
</dependency>
<!-- Test -->
Expand All @@ -43,13 +43,13 @@
</dependencies>

<properties>
<mavengem-wagon.version>1.0.3</mavengem-wagon.version>
<mavengem-wagon.version>2.0.0-SNAPSHOT</mavengem-wagon.version>
</properties>

<build>
<extensions>
<extension>
<groupId>org.torquebox.mojo</groupId>
<groupId>org.jruby.maven</groupId>
<artifactId>mavengem-wagon</artifactId>
<version>${mavengem-wagon.version}</version>
</extension>
Expand Down Expand Up @@ -87,7 +87,7 @@
<pluginExecutions>
<pluginExecution>
<pluginExecutionFilter>
<groupId>de.saumya.mojo</groupId>
<groupId>org.jruby.maven</groupId>
<artifactId>
gem-maven-plugin
</artifactId>
Expand Down Expand Up @@ -145,14 +145,14 @@
</dependencies>

<properties>
<jruby.plugins.version>2.0.1</jruby.plugins.version>
<jruby.plugins.version>3.0.0-SNAPSHOT</jruby.plugins.version>
</properties>

<build>

<plugins>
<plugin>
<groupId>de.saumya.mojo</groupId>
<groupId>org.jruby.maven</groupId>
<artifactId>gem-maven-plugin</artifactId>
<version>${jruby.plugins.version}</version>
<executions>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ private String simplify( StringWriter xml, boolean debug )
// the one from this plugin
.replaceAll("[0-9]+(-SNAPSHOT)?", VERSION_PATTERN)
// fix absolute path for test_pom_from_jarfile
.replaceAll("..basedir./myfirst.jar", "uri:classloader://myfirst.jar")
.replaceAll("..basedir./myfirst.jar", "uri:classloader:/myfirst.jar")
// some of the configuration tags are empty - unify them
.replaceAll("></(arg|chmod)>", "/>");
if ( debug )
Expand Down
2 changes: 1 addition & 1 deletion polyglot-ruby/src/test/poms/jruby-test-pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@
<defaultGoal>test</defaultGoal>
<plugins>
<plugin>
<groupId>de.saumya.mojo</groupId>
<groupId>org.jruby.maven</groupId>
<artifactId>gem-maven-plugin</artifactId>
<version>${jruby.plugins.version}</version>
<inherited>false</inherited>
Expand Down

0 comments on commit 5dadf0a

Please sign in to comment.