Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Clean up CI for JVM packages #10982

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
111 changes: 10 additions & 101 deletions jvm-packages/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,16 @@
</licenses>
<developers>
<developer>
<name>CodingCat</name>
<email>codingcat@apache.org</email>
<name>Bobby Wang</name>
<email>wbo4958@gmail.com</email>
</developer>
<developer>
<name>Jiaming Yuan</name>
<email>jm.yuan@outlook.com</email>
</developer>
<developer>
<name>Hyunsu Cho</name>
<email>chohyu01@cs.washington.edu</email>
</developer>
</developers>
<scm>
Expand Down Expand Up @@ -106,13 +114,6 @@

<profile>
<id>release</id>
<modules>
<module>xgboost4j</module>
<module>xgboost4j-example</module>
<module>xgboost4j-spark</module>
<module>xgboost4j-flink</module>
<module>xgboost4j-spark-gpu</module>
</modules>
<build>
<plugins>
<plugin>
Expand Down Expand Up @@ -192,98 +193,6 @@
</plugins>
</build>
</profile>
<profile>
<id>assembly</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>3.7.1</version>
<configuration>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
<skipAssembly>true</skipAssembly>
</configuration>
<executions>
<execution>
<id>make-assembly</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>release-to-github</id>
<distributionManagement>
<repository>
<id>github.repo</id>
<name>Temporary Staging Repository</name>
<url>file://${project.build.directory}/mvn-repo</url>
</repository>
</distributionManagement>
<properties>
<github.global.server>github</github.global.server>
</properties>
<modules>
<module>xgboost4j</module>
<module>xgboost4j-example</module>
<module>xgboost4j-spark</module>
<module>xgboost4j-flink</module>
<module>xgboost4j-spark-gpu</module>
</modules>
<build>
<plugins>
<plugin>
<groupId>com.github.github</groupId>
<artifactId>site-maven-plugin</artifactId>
<version>0.12</version>
<configuration>
<message>Maven artifacts for ${project.version}</message>
<noJekyll>true</noJekyll>
<outputDirectory>${project.build.directory}/mvn-repo</outputDirectory>
<branch>refs/heads/maven-repo</branch>
<excludes>
<exclude>*-with-dependencies.jar</exclude>
</excludes>
<repositoryName>xgboost</repositoryName>
<repositoryOwner>CodingCat</repositoryOwner>
<merge>true</merge>
</configuration>
<executions>
<!-- run site-maven-plugin's 'site' target as part of the build's normal 'deploy' phase -->
<execution>
<goals>
<goal>site</goal>
</goals>
<phase>deploy</phase>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>3.1.3</version>
<configuration>
<altDeploymentRepository>internal.repo::default::file://${project.build.directory}/mvn-repo</altDeploymentRepository>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<skipTests>true</skipTests>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>release-to-s3</id>
<distributionManagement>
Expand Down
3 changes: 3 additions & 0 deletions jvm-packages/xgboost4j-spark-gpu/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,12 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<configuration>
<createDependencyReducedPom>true</createDependencyReducedPom>
<useDependencyReducedPomInJar>true</useDependencyReducedPomInJar>
<shadedArtifactAttached>false</shadedArtifactAttached>
<artifactSet>
<includes>
<include>ml.dmlc:xgboost4j_${scala.binary.version}</include>
<include>ml.dmlc:xgboost4j-spark_${scala.binary.version}</include>
</includes>
</artifactSet>
Expand Down
2 changes: 2 additions & 0 deletions jvm-packages/xgboost4j-spark/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<configuration>
<createDependencyReducedPom>true</createDependencyReducedPom>
<useDependencyReducedPomInJar>true</useDependencyReducedPomInJar>
<shadedArtifactAttached>false</shadedArtifactAttached>
<artifactSet>
<includes>
Expand Down
162 changes: 0 additions & 162 deletions jvm-packages/xgboost4j-tester/generate_pom.py

This file was deleted.

10 changes: 0 additions & 10 deletions jvm-packages/xgboost4j-tester/get_iris.py

This file was deleted.

This file was deleted.

Loading