From 8a62d45a0cc71cef8ee5f7860129e9354660ee16 Mon Sep 17 00:00:00 2001 From: Max Rydahl Andersen Date: Wed, 1 Oct 2025 14:10:44 +0200 Subject: [PATCH 1/4] fix: allow jitpack to build any commit --- jitpack.yml | 13 +++++++++++++ mise.toml | 3 +++ 2 files changed, 16 insertions(+) create mode 100755 jitpack.yml create mode 100644 mise.toml diff --git a/jitpack.yml b/jitpack.yml new file mode 100755 index 0000000..8097a22 --- /dev/null +++ b/jitpack.yml @@ -0,0 +1,13 @@ +before_install: +# Setup mise environment + - curl https://mise.run | sh +# the following installs the right tools and creates a mise.toml +# you can skip these if you commit a mise.toml to the project. + - ~/.local/bin/mise use java@21 maven@3.9 + + +install: +# you could technically just run mvn install directly +# put just showing mise x as an option where you can +# configure additional jdks. + - ~/.local/bin/mise x -- mvn install -B -ntp diff --git a/mise.toml b/mise.toml new file mode 100644 index 0000000..dcad49d --- /dev/null +++ b/mise.toml @@ -0,0 +1,3 @@ +[tools] +java = "17" +maven = "3.9" From ef321e0214312a36d315ff26d27c628bdbe60a04 Mon Sep 17 00:00:00 2001 From: Max Rydahl Andersen Date: Wed, 1 Oct 2025 14:19:14 +0200 Subject: [PATCH 2/4] fix: skip tests on jitpack --- jitpack.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/jitpack.yml b/jitpack.yml index 8097a22..1abba1b 100755 --- a/jitpack.yml +++ b/jitpack.yml @@ -3,11 +3,10 @@ before_install: - curl https://mise.run | sh # the following installs the right tools and creates a mise.toml # you can skip these if you commit a mise.toml to the project. - - ~/.local/bin/mise use java@21 maven@3.9 - + - ~/.local/bin/mise use java@17 maven@3.9 install: # you could technically just run mvn install directly # put just showing mise x as an option where you can # configure additional jdks. - - ~/.local/bin/mise x -- mvn install -B -ntp + - ~/.local/bin/mise x -- mvn install -B -ntp -DskipTests From d0daa01b32398da40430c67ebdb372315a0fc2bd Mon Sep 17 00:00:00 2001 From: Max Rydahl Andersen Date: Wed, 1 Oct 2025 15:09:24 +0200 Subject: [PATCH 3/4] fix: use older maven --- jitpack.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jitpack.yml b/jitpack.yml index 1abba1b..e033d35 100755 --- a/jitpack.yml +++ b/jitpack.yml @@ -3,7 +3,7 @@ before_install: - curl https://mise.run | sh # the following installs the right tools and creates a mise.toml # you can skip these if you commit a mise.toml to the project. - - ~/.local/bin/mise use java@17 maven@3.9 + - ~/.local/bin/mise use java@17 maven@3.6.3 install: # you could technically just run mvn install directly From bdfa183af97eb1c64f9fdbec67ff0ef99828712b Mon Sep 17 00:00:00 2001 From: Max Rydahl Andersen Date: Wed, 1 Oct 2025 15:20:09 +0200 Subject: [PATCH 4/4] fix: explicit trust --- jitpack.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/jitpack.yml b/jitpack.yml index e033d35..3e4079d 100755 --- a/jitpack.yml +++ b/jitpack.yml @@ -3,6 +3,7 @@ before_install: - curl https://mise.run | sh # the following installs the right tools and creates a mise.toml # you can skip these if you commit a mise.toml to the project. + - ~/.local/bin/mise trust mise.toml - ~/.local/bin/mise use java@17 maven@3.6.3 install: