Skip to content

Commit 2a05d12

Browse files
committed
POM: split out jruby version as property
This allows the version to be overridden by tooling.
1 parent f544359 commit 2a05d12

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

pom.xml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,10 @@ Institute of Molecular Cell Biology and Genetics.</license.copyrightOwners>
9292

9393
<!-- NB: Deploy releases to the ImageJ Maven repository. -->
9494
<releaseProfiles>deploy-to-imagej</releaseProfiles>
95+
96+
<jruby.version>1.7.12</jruby.version>
97+
<jruby-core.version>${jruby.version}</jruby-core.version>
98+
<jruby-stdlib.version>${jruby.version}</jruby-stdlib.version>
9599
</properties>
96100

97101
<dependencies>
@@ -105,12 +109,12 @@ Institute of Molecular Cell Biology and Genetics.</license.copyrightOwners>
105109
<dependency>
106110
<groupId>org.jruby</groupId>
107111
<artifactId>jruby-core</artifactId>
108-
<version>1.7.12</version>
112+
<version>${jruby-core.version}</version>
109113
</dependency>
110114
<dependency>
111115
<groupId>org.jruby</groupId>
112116
<artifactId>jruby-stdlib</artifactId>
113-
<version>1.7.12</version>
117+
<version>${jruby-stdlib.version}</version>
114118
</dependency>
115119

116120
<!-- Test dependencies -->

0 commit comments

Comments
 (0)