Skip to content

Commit 1c23511

Browse files
committed
pom: use jython-slim
Motivation: dCache pull jython-standalone as a dependency, however, slim version is required. Modification: Update pom to use jython-slim Result: dcache package reduced by 10MB Acked-by: Lea Morschel Target: master Require-book: no Require-notes: yes
1 parent c3d4db4 commit 1c23511

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

modules/dcache/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@
290290

291291
<dependency>
292292
<groupId>org.python</groupId>
293-
<artifactId>jython-standalone</artifactId>
293+
<artifactId>jython-slim</artifactId>
294294
<scope>test</scope>
295295
</dependency>
296296
<dependency>

modules/gplazma2-pyscript/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
</dependency>
2525
<dependency>
2626
<groupId>org.python</groupId>
27-
<artifactId>jython-standalone</artifactId>
27+
<artifactId>jython-slim</artifactId>
2828
</dependency>
2929
<dependency>
3030
<groupId>org.dcache</groupId>

pom.xml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -745,8 +745,14 @@
745745
</dependency>
746746
<dependency>
747747
<groupId>org.python</groupId>
748-
<artifactId>jython-standalone</artifactId>
748+
<artifactId>jython-slim</artifactId>
749749
<version>2.7.3</version>
750+
<exclusions>
751+
<exclusion>
752+
<groupId>com.github.jnr</groupId>
753+
<artifactId>jffi</artifactId>
754+
</exclusion>
755+
</exclusions>
750756
</dependency>
751757
<dependency>
752758
<groupId>org.dcache</groupId>

0 commit comments

Comments
 (0)