Repository: incubator-hivemall Updated Branches: refs/heads/v0.5.0 3aeed6f75 -> 03437007f
Fixed pom for xgboost Project: http://git-wip-us.apache.org/repos/asf/incubator-hivemall/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-hivemall/commit/03437007 Tree: http://git-wip-us.apache.org/repos/asf/incubator-hivemall/tree/03437007 Diff: http://git-wip-us.apache.org/repos/asf/incubator-hivemall/diff/03437007 Branch: refs/heads/v0.5.0 Commit: 03437007f543ffb6d671d8f9462217515c821c50 Parents: 3aeed6f Author: Makoto Yui <[email protected]> Authored: Mon Jan 22 15:34:51 2018 +0900 Committer: Makoto Yui <[email protected]> Committed: Mon Jan 22 15:34:51 2018 +0900 ---------------------------------------------------------------------- xgboost/pom.xml | 60 ++++++++-------------------------------------------- 1 file changed, 9 insertions(+), 51 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-hivemall/blob/03437007/xgboost/pom.xml ---------------------------------------------------------------------- diff --git a/xgboost/pom.xml b/xgboost/pom.xml index 81767ce..7dab4cb 100644 --- a/xgboost/pom.xml +++ b/xgboost/pom.xml @@ -31,7 +31,7 @@ <packaging>jar</packaging> <properties> - <xgboost.version>0.7</xgboost.version> + <xgboost.version>0.7-rc1</xgboost.version> <main.basedir>${project.parent.basedir}</main.basedir> </properties> @@ -100,7 +100,7 @@ <!-- compile scope --> <dependency> - <groupId>ml.dmlc</groupId> + <groupId>io.github.myui</groupId> <artifactId>xgboost4j</artifactId> <version>${xgboost.version}</version> <scope>compile</scope> @@ -120,62 +120,20 @@ <finalName>${project.artifactId}-${project.version}</finalName> <testOutputDirectory>target/test-classes</testOutputDirectory> <plugins> - <!-- TODO: This is hacky, so we'll replace this with another better way in a future --> <plugin> <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-install-plugin</artifactId> - <version>2.4</version> - <executions> - <execution> - <id>install-xgboost</id> - <phase>validate</phase> - <configuration> - <file>${basedir}/lib/xgboost4j-${xgboost.version}.jar</file> - <repositoryLayout>default</repositoryLayout> - <groupId>ml.dmlc</groupId> - <artifactId>xgboost4j</artifactId> - <version>${xgboost.version}</version> - <packaging>jar</packaging> - <generatePom>true</generatePom> - </configuration> - <goals> - <goal>install-file</goal> - </goals> - </execution> - </executions> + <artifactId>maven-jar-plugin</artifactId> + <version>2.5</version> + <configuration> + <finalName>${project.artifactId}-${project.version}</finalName> + <outputDirectory>${project.parent.build.directory}</outputDirectory> + </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-shade-plugin</artifactId> <version>3.1.0</version> <executions> - <!-- hivemall-xgboost-xx.jar --> - <execution> - <id>jar-with-portal-binaries</id> - <phase>package</phase> - <goals> - <goal>shade</goal> - </goals> - <configuration> - <finalName>${project.artifactId}-${project.version}</finalName> - <outputDirectory>${project.parent.build.directory}</outputDirectory> - <minimizeJar>false</minimizeJar> - <createDependencyReducedPom>false</createDependencyReducedPom> - <artifactSet> - <includes> - <include>ml.dmlc:xgboost4j</include> - </includes> - </artifactSet> - <filters> - <filter> - <artifact>*:*</artifact> - <excludes> - <exclude>tracker.py</exclude> - </excludes> - </filter> - </filters> - </configuration> - </execution> <!-- hivemall-xgboost-xx-with-dependencies.jar including minimum dependencies --> <execution> <id>jar-with-dependencies</id> @@ -196,7 +154,7 @@ <include>com.github.haifengl:smile-math</include> <include>com.github.haifengl:smile-data</include> <include>org.tukaani:xz</include> - <include>ml.dmlc:xgboost4j</include> + <include>io.github.myui:xgboost4j</include> <include>com.esotericsoftware.kryo:kryo</include> </includes> </artifactSet>
