Skip to content

Commit

Permalink
jdk & mvn version
Browse files Browse the repository at this point in the history
  • Loading branch information
nbauma109 committed Jan 21, 2024
1 parent 9572cbf commit cf34b97
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion jitci-build.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
export M3_VERSION=$(curl -Ls -o /dev/null -w %{url_effective} https://github.com/apache/maven/releases/latest | sed 's,https://github.com/apache/maven/releases/tag/maven-,,g')
export JAVA_HOME=$HOME/jdk-17.0.2+8
export JAVA_HOME=$HOME/jdk-17.0.9+9
$HOME/apache-maven-${M3_VERSION}/bin/mvn -B install -DskipTests -Dsigning.disabled=true
6 changes: 3 additions & 3 deletions jitci-init.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
curl -vkL https://github.com/ibmruntimes/semeru17-binaries/releases/download/jdk-17.0.2%2B8_openj9-0.30.0/ibm-semeru-open-jdk_x64_linux_17.0.2_8_openj9-0.30.0.tar.gz -o $HOME/ibm-semeru-open-jdk_x64_linux_17.0.2_8_openj9-0.30.0.tar.gz
tar xzvf $HOME/ibm-semeru-open-jdk_x64_linux_17.0.2_8_openj9-0.30.0.tar.gz -C $HOME
export JAVA_HOME=$HOME/jdk-17.0.2+8
curl -vkL https://github.com/ibmruntimes/semeru17-binaries/releases/download/jdk-17.0.9%2B9_openj9-0.41.0/ibm-semeru-open-jdk_x64_linux_17.0.9_9_openj9-0.41.0.tar.gz -o $HOME/ibm-semeru-open-jdk_x64_linux_17.0.8.1_1_openj9-0.40.0.tar.gz
tar xzvf $HOME/ibm-semeru-open-jdk_x64_linux_17.0.8.1_1_openj9-0.40.0.tar.gz -C $HOME
export JAVA_HOME=$HOME/jdk-17.0.9+9
export M3_VERSION=$(curl -Ls -o /dev/null -w %{url_effective} https://github.com/apache/maven/releases/latest | sed 's,https://github.com/apache/maven/releases/tag/maven-,,g')
curl -vkL https://archive.apache.org/dist/maven/maven-3/${M3_VERSION}/binaries/apache-maven-${M3_VERSION}-bin.zip -o $HOME/apache-maven-${M3_VERSION}-bin.zip
unzip -o $HOME/apache-maven-${M3_VERSION}-bin.zip -d $HOME
Expand Down
2 changes: 1 addition & 1 deletion jitci-publish.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
export M3_VERSION=$(curl -Ls -o /dev/null -w %{url_effective} https://github.com/apache/maven/releases/latest | sed 's,https://github.com/apache/maven/releases/tag/maven-,,g')
export JAVA_HOME=$HOME/jdk-17.0.2+8
export JAVA_HOME=$HOME/jdk-17.0.9+9
$HOME/apache-maven-${M3_VERSION}/bin/mvn -B deploy -DskipTests -Dfindbugs.skip=true -Dpmd.skip=true -Dcheckstyle.skip=true -Dsigning.disabled=true -DaltDeploymentRepository=jitci::default::file:///home/jitpack/deploy
8 changes: 4 additions & 4 deletions jitpack.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
install:
- curl -vkL https://github.com/ibmruntimes/semeru17-binaries/releases/download/jdk-17.0.2%2B8_openj9-0.30.0/ibm-semeru-open-jdk_x64_linux_17.0.2_8_openj9-0.30.0.tar.gz -o $HOME/ibm-semeru-open-jdk_x64_linux_17.0.2_8_openj9-0.30.0.tar.gz
- tar xzvf $HOME/ibm-semeru-open-jdk_x64_linux_17.0.2_8_openj9-0.30.0.tar.gz -C $HOME
- export JAVA_HOME=$HOME/jdk-17.0.2+8
- export M3_VERSION=3.8.5
- curl -vkL https://github.com/ibmruntimes/semeru17-binaries/releases/download/jdk-17.0.9%2B9_openj9-0.41.0/ibm-semeru-open-jdk_x64_linux_17.0.9_9_openj9-0.41.0.tar.gz -o $HOME/ibm-semeru-open-jdk_x64_linux_17.0.9_9_openj9-0.41.0.tar.gz
- tar xzvf $HOME/ibm-semeru-open-jdk_x64_linux_17.0.9_9_openj9-0.41.0.tar.gz -C $HOME
- export JAVA_HOME=$HOME/jdk-17.0.9+9
- export M3_VERSION=$(curl -Ls -o /dev/null -w %{url_effective} https://github.com/apache/maven/releases/latest | sed 's,https://github.com/apache/maven/releases/tag/maven-,,g')
- curl -vkL https://archive.apache.org/dist/maven/maven-3/${M3_VERSION}/binaries/apache-maven-${M3_VERSION}-bin.zip -o $HOME/apache-maven-${M3_VERSION}-bin.zip
- unzip -o $HOME/apache-maven-${M3_VERSION}-bin.zip -d $HOME
- $HOME/apache-maven-${M3_VERSION}/bin/mvn -B install -Dsigning.disabled=true

0 comments on commit cf34b97

Please sign in to comment.