Skip to content

Commit

Permalink
install-deps.sh: Warm up Maven cache with all Maven dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
kingjon3377 committed Jun 26, 2021
1 parent f9a9d41 commit 7c87fcd
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions install-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,10 @@ fi
wget "https://ceylon-lang.org/download/dist/$(echo "${CEYLON_VERSION}"|sed 's@\.@_@g')" \
--output-document=ceylon.zip
unzip ceylon.zip
# Work around eclipse/ceylon#7462
find source/ -name module.ceylon -exec grep -h maven: {} + | grep -v '^/' | \
sed -e 's@native("jvm")@@' \
-e 's@^[ ]*import maven:"\([^"]*\)" "\([^"]*\)";$@\1:\2@' | \
sort -u | while read -r dependency; do
mvn dependency:get -Dartifact="${dependency}" || exit 2
done

0 comments on commit 7c87fcd

Please sign in to comment.