Skip to content

Commit

Permalink
fix jitci-init.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
nbauma109 committed May 11, 2024
1 parent a3d6cd3 commit 07fd2f3
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions jitci-init.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/bin/bash
source ~/.sdkman/bin/sdkman-init.sh
sdk selfupdate force
sdk list java
#!/usr/bin/env bash
bash ensure-java-17-sem install
if ! bash ensure-java-17-sem use; then source ~/.sdkman/bin/sdkman-init.sh; fi
java -version
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')
mvn wrapper:wrapper -Dmaven=${M3_VERSION} --no-transfer-progress
Expand Down

0 comments on commit 07fd2f3

Please sign in to comment.