Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
MXNET-1302 Exclude commons-codec and commons-io from assembled JAR
Browse files Browse the repository at this point in the history
  • Loading branch information
Gordon Reid committed Feb 10, 2019
1 parent 2ff8ce0 commit 038a1f0
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 5 deletions.
1 change: 1 addition & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ List of Contributors
* [Xiao Wang](https://github.com/BeyonderXX)
* [Piyush Ghai](https://github.com/piyushghai)
* [Zach Boldyga](https://github.com/zboldyga)
* [Gordon Reid](https://github.com/gordon1992)

Label Bot
---------
Expand Down
2 changes: 2 additions & 0 deletions scala-package/assembly/src/main/assembly/assembly.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
<include>*:*:jar</include>
</includes>
<excludes>
<exclude>commons-codec:</exclude>
<exclude>commons-io:*</exclude>
<exclude>org.scala-lang:*</exclude>
<exclude>org.scala-lang.modules:*</exclude>
</excludes>
Expand Down
12 changes: 12 additions & 0 deletions scala-package/core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,22 @@
<version>INTERNAL</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.11</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
<version>1.10</version>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.1</version>
<scope>provided</scope>
</dependency>
<!-- https://mvnrepository.com/artifact/org.mockito/mockito-all -->
<dependency>
Expand Down
10 changes: 10 additions & 0 deletions scala-package/deploy/src/main/deploy/deploy.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,15 @@
<artifactId>scala-compiler</artifactId>
<version>SCALA_VERSION</version>
</dependency>
<dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
<version>1.10</version>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-codec</artifactId>
<version>2.1</version>
</dependency>
</dependencies>
</project>
5 changes: 0 additions & 5 deletions scala-package/macros/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,6 @@
<version>INTERNAL</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.1</version>
</dependency>
</dependencies>

<build>
Expand Down
1 change: 1 addition & 0 deletions scala-package/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,7 @@
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
<version>1.10</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
Expand Down

0 comments on commit 038a1f0

Please sign in to comment.