Skip to content
This repository was archived by the owner on Feb 4, 2022. It is now read-only.

Commit fe3a7dc

Browse files
committed
POM: isolate versions into properties
This allows them to be overridden by tooling on the CLI.
1 parent 1cb7b1a commit fe3a7dc

File tree

1 file changed

+16
-10
lines changed

1 file changed

+16
-10
lines changed

pom.xml

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,13 @@
8383
<license.licenseName>apache_v2</license.licenseName>
8484
<license.copyrightOwners>Hadrien Mary</license.copyrightOwners>
8585
<netbeans.hint.license>apache20</netbeans.hint.license>
86+
87+
<commons-cli.version>1.4</commons-cli.version>
88+
<json-simple.version>1.1.1</json-simple.version>
89+
<beaker-kernel-base.version>0.9.1</beaker-kernel-base.version>
90+
<jai-imageio-core.version>1.3.1</jai-imageio-core.version>
91+
<groovy-json.version>2.5.0-beta-1</groovy-json.version>
92+
<xchart.version>3.4.0</xchart.version>
8693
</properties>
8794

8895
<repositories>
@@ -113,40 +120,40 @@
113120
<dependency>
114121
<groupId>commons-cli</groupId>
115122
<artifactId>commons-cli</artifactId>
116-
<version>1.4</version>
123+
<version>${commons-cli.version}</version>
117124
</dependency>
118125

119126
<!-- Used to create the kernel.json file -->
120127
<dependency>
121128
<groupId>com.googlecode.json-simple</groupId>
122129
<artifactId>json-simple</artifactId>
123-
<version>1.1.1</version>
130+
<version>${json-simple.version}</version>
124131
</dependency>
125132

126133
<!-- The Beaker base kernel that we rely on -->
127134
<dependency>
128135
<groupId>com.github.twosigma.beakerx</groupId>
129136
<artifactId>beaker-kernel-base</artifactId>
130-
<version>0.9.1</version>
137+
<version>${beaker-kernel-base.version}</version>
131138
</dependency>
132139

133140
<!-- The package to convert images to PNG/JPEG -->
134141
<dependency>
135142
<groupId>com.github.jai-imageio</groupId>
136143
<artifactId>jai-imageio-core</artifactId>
137-
<version>1.3.1</version>
144+
<version>${jai-imageio-core.version}</version>
138145
</dependency>
139-
146+
140147
<dependency>
141148
<groupId>org.codehaus.groovy</groupId>
142149
<artifactId>groovy-json</artifactId>
143-
<version>2.5.0-beta-1</version>
150+
<version>${groovy-json.version}</version>
144151
</dependency>
145-
146-
<dependency>
152+
153+
<dependency>
147154
<groupId>org.knowm.xchart</groupId>
148155
<artifactId>xchart</artifactId>
149-
<version>3.4.0</version>
156+
<version>${xchart.version}</version>
150157
</dependency>
151158

152159
<!-- ImageJ packages used in the NotebookService -->
@@ -218,6 +225,5 @@
218225
<artifactId>junit</artifactId>
219226
<scope>test</scope>
220227
</dependency>
221-
222228
</dependencies>
223229
</project>

0 commit comments

Comments
 (0)