Skip to content

Commit

Permalink
add scala version
Browse files Browse the repository at this point in the history
  • Loading branch information
wbo4958 committed Jan 16, 2024
1 parent 88a5559 commit e61ee93
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions examples/XGBoost-Examples/agaricus/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>spark_examples_agaricus</artifactId>
<artifactId>spark_examples_agaricus_${scala.binary.version}</artifactId>

<properties>
<maven.compiler.source>8</maven.compiler.source>
Expand All @@ -35,7 +35,7 @@
<dependencies>
<dependency>
<groupId>com.nvidia</groupId>
<artifactId>spark_examples_utility</artifactId>
<artifactId>spark_examples_utility_${scala.binary.version}</artifactId>
<version>${project.version}</version>
<scope>compile</scope>
</dependency>
Expand Down
12 changes: 6 additions & 6 deletions examples/XGBoost-Examples/aggregator/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>spark_examples_aggregator</artifactId>
<artifactId>spark_examples_aggregator_${scala.binary.version}</artifactId>

<properties>
<maven.compiler.source>8</maven.compiler.source>
Expand All @@ -35,32 +35,32 @@
<dependencies>
<dependency>
<groupId>com.nvidia</groupId>
<artifactId>spark_examples_utility</artifactId>
<artifactId>spark_examples_utility_${scala.binary.version}</artifactId>
<version>${project.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.nvidia</groupId>
<artifactId>spark_examples_agaricus</artifactId>
<artifactId>spark_examples_agaricus_${scala.binary.version}</artifactId>
<version>${project.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.nvidia</groupId>
<artifactId>spark_examples_mortgage</artifactId>
<artifactId>spark_examples_mortgage_${scala.binary.version}</artifactId>
<version>${project.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.nvidia</groupId>
<artifactId>spark_examples_taxi</artifactId>
<artifactId>spark_examples_taxi_${scala.binary.version}</artifactId>
<version>${project.version}</version>
<scope>compile</scope>
</dependency>
</dependencies>

<build>
<finalName>sample_xgboost_apps-${project.version}</finalName>
<finalName>sample_xgboost_apps_${scala.binary.version}-${project.version}</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down
2 changes: 1 addition & 1 deletion examples/XGBoost-Examples/assembly/assembly-no-scala.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<assembly xmlns="http://maven.apache.org/ASSEMBLY/2.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.0.0 http://maven.apache.org/xsd/assembly-2.0.0.xsd">
<id>jar-with-dependencies</id>
<id>jar-with-dependencies_${scala.binary.version}</id>
<formats>
<format>jar</format>
</formats>
Expand Down
4 changes: 2 additions & 2 deletions examples/XGBoost-Examples/mortgage/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>spark_examples_mortgage</artifactId>
<artifactId>spark_examples_mortgage_${scala.binary.version}</artifactId>

<properties>
<maven.compiler.source>8</maven.compiler.source>
Expand All @@ -35,7 +35,7 @@
<dependencies>
<dependency>
<groupId>com.nvidia</groupId>
<artifactId>spark_examples_utility</artifactId>
<artifactId>spark_examples_utility_${scala.binary.version}</artifactId>
<version>${project.version}</version>
<scope>compile</scope>
</dependency>
Expand Down
4 changes: 2 additions & 2 deletions examples/XGBoost-Examples/taxi/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>spark_examples_taxi</artifactId>
<artifactId>spark_examples_taxi_${scala.binary.version}</artifactId>

<properties>
<maven.compiler.source>8</maven.compiler.source>
Expand All @@ -35,7 +35,7 @@
<dependencies>
<dependency>
<groupId>com.nvidia</groupId>
<artifactId>spark_examples_utility</artifactId>
<artifactId>spark_examples_utility_${scala.binary.version}</artifactId>
<version>${project.version}</version>
<scope>compile</scope>
</dependency>
Expand Down
2 changes: 1 addition & 1 deletion examples/XGBoost-Examples/utility/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>spark_examples_utility</artifactId>
<artifactId>spark_examples_utility_${scala.binary.version}</artifactId>

<properties>
<maven.compiler.source>8</maven.compiler.source>
Expand Down

0 comments on commit e61ee93

Please sign in to comment.