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

Commit

Permalink
Pom file clean up -- moved surefire plugin to parent pom.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
piyushghai committed Jan 9, 2019
1 parent 7b768a7 commit 4eb1936
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 21 deletions.
14 changes: 4 additions & 10 deletions scala-package/core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
<artifactId>mxnet-core</artifactId>
<name>MXNet Scala Package - Core</name>

<properties>
<skipTests>false</skipTests>
</properties>

<build>
<plugins>
<plugin>
Expand Down Expand Up @@ -115,16 +119,6 @@
</argLine>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.22.0</version>
<configuration>
<argLine>
-Djava.library.path=${project.parent.basedir}/native/target
</argLine>
</configuration>
</plugin>
<plugin>
<groupId>org.scalastyle</groupId>
<artifactId>scalastyle-maven-plugin</artifactId>
Expand Down
14 changes: 4 additions & 10 deletions scala-package/infer/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
<relativePath>../pom.xml</relativePath>
</parent>

<properties>
<skipTests>false</skipTests>
</properties>

<artifactId>mxnet-infer</artifactId>
<name>MXNet Scala Package - Inference</name>

Expand All @@ -30,16 +34,6 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.22.0</version>
<configuration>
<argLine>
-Djava.library.path=${project.parent.basedir}/native/target
</argLine>
</configuration>
</plugin>
<plugin>
<groupId>org.scalatest</groupId>
<artifactId>scalatest-maven-plugin</artifactId>
Expand Down
7 changes: 6 additions & 1 deletion scala-package/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
<cxx>g++</cxx>
<dollar>$</dollar>
<MXNET_DIR>${project.basedir}/..</MXNET_DIR>
<skipTests>true</skipTests>
</properties>

<packaging>pom</packaging>
Expand Down Expand Up @@ -228,8 +229,12 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.19</version>
<version>2.22.0</version>
<configuration>
<skipTests>${skipTests}</skipTests>
<argLine>
-Djava.library.path=${project.parent.basedir}/native/target
</argLine>
<useSystemClassLoader>false</useSystemClassLoader>
</configuration>
</plugin>
Expand Down

0 comments on commit 4eb1936

Please sign in to comment.