Skip to content

Commit

Permalink
Use settings.xml if existing for internal build (#6833)
Browse files Browse the repository at this point in the history
For the internal cudf jar building, we'll use a settings.xml to define the maven repo.
Use the settings.xml if it exists in ci.
  • Loading branch information
GaryShen2008 authored Nov 23, 2020
1 parent b5f2e3c commit dbeac89
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@
- PR #6789 Rename `unary_op` to `unary_operator`
- PR #6770 Support building decimal columns with Table.TestBuilder
- PR #6819 Use CMake 3.19 for RMM when building cuDF jar
- PR #6833 Use settings.xml if existing for internal build

## Bug Fixes

Expand Down
5 changes: 5 additions & 0 deletions java/ci/build-in-docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,11 @@ if [ "$SIGN_FILE" == true ]; then
BUILD_ARG="$BUILD_ARG -Prelease"
fi

if [ -f $WORKSPACE/java/ci/settings.xml ]; then
# Build with an internal settings.xml
BUILD_ARG="$BUILD_ARG -s $WORKSPACE/java/ci/settings.xml"
fi

cd $WORKSPACE/java
mvn -B clean package $BUILD_ARG

Expand Down

0 comments on commit dbeac89

Please sign in to comment.