From 17bfbbb9988abaed18011e2940541d65a5a9612e Mon Sep 17 00:00:00 2001 From: Diogo Nunes Date: Sun, 8 May 2022 15:52:09 +0100 Subject: [PATCH 1/5] BREAKING: not really, use Java 18 to run and Java 8 to build --- .java-version | 2 +- pom.xml | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.java-version b/.java-version index 6259340..3c03207 100644 --- a/.java-version +++ b/.java-version @@ -1 +1 @@ -1.8 +18 diff --git a/pom.xml b/pom.xml index b24a6fd..2d1dd31 100644 --- a/pom.xml +++ b/pom.xml @@ -12,8 +12,10 @@ UTF-8 + 1.8 - 1.8 + + 18 From 942f7d1b8865c8c62b37af6b0da4ac456f0604d8 Mon Sep 17 00:00:00 2001 From: Diogo Nunes Date: Sun, 8 May 2022 15:52:56 +0100 Subject: [PATCH 2/5] chore: with the new java, this is no longer needed --- .github/RUNBOOK.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/RUNBOOK.md b/.github/RUNBOOK.md index f3e36cd..e7a95f4 100644 --- a/.github/RUNBOOK.md +++ b/.github/RUNBOOK.md @@ -25,13 +25,11 @@ How to do stuff ## Generate Javadoc ```sh -jenv shell 16 mvn javadoc:javadoc rm -r docs cp -R target/site/apidocs docs git add . git commit -m "doc: update javadoc to latest version" -jenv shell 1.8 ``` - Locally, From cb1f979263a6654c5e6bb275e3df236e8bd20055 Mon Sep 17 00:00:00 2001 From: Diogo Nunes Date: Sun, 29 May 2022 18:09:57 +0100 Subject: [PATCH 3/5] feat: script to update javadoc --- .github/RUNBOOK.md | 4 +--- .github/update-javadoc.sh | 6 ++++++ 2 files changed, 7 insertions(+), 3 deletions(-) create mode 100755 .github/update-javadoc.sh diff --git a/.github/RUNBOOK.md b/.github/RUNBOOK.md index e7a95f4..de3ce0f 100644 --- a/.github/RUNBOOK.md +++ b/.github/RUNBOOK.md @@ -25,9 +25,7 @@ How to do stuff ## Generate Javadoc ```sh -mvn javadoc:javadoc -rm -r docs -cp -R target/site/apidocs docs +./.github/update-javadoc.sh git add . git commit -m "doc: update javadoc to latest version" ``` diff --git a/.github/update-javadoc.sh b/.github/update-javadoc.sh new file mode 100755 index 0000000..6acfd2e --- /dev/null +++ b/.github/update-javadoc.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash + +mvn javadoc:javadoc +rm -r docs +cp -R target/site/apidocs docs +open docs/index.html \ No newline at end of file From 0234714f50b465e6196c77ed1ca3f486a16e5690 Mon Sep 17 00:00:00 2001 From: Diogo Nunes Date: Sun, 29 May 2022 18:10:57 +0100 Subject: [PATCH 4/5] chore: upgrade dependencies --- pom.xml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pom.xml b/pom.xml index 2d1dd31..fceb240 100644 --- a/pom.xml +++ b/pom.xml @@ -57,7 +57,7 @@ org.apache.maven.plugins maven-compiler-plugin - 3.8.1 + 3.10.1 ${maven.compiler.source} ${maven.compiler.target} @@ -66,7 +66,7 @@ org.apache.felix maven-bundle-plugin - 5.1.2 + 5.1.5 true @@ -79,7 +79,7 @@ org.sonatype.plugins nexus-staging-maven-plugin - 1.6.8 + 1.6.13 true ossrh @@ -90,7 +90,7 @@ org.apache.maven.plugins maven-source-plugin - 3.2.0 + 3.2.1 attach-sources @@ -183,7 +183,7 @@ org.apache.felix maven-bundle-plugin - 5.1.5 + 5.1.6 maven-plugin From 26c0b310e98d1895e49a1eb67a48124dfd8cc580 Mon Sep 17 00:00:00 2001 From: Diogo Nunes Date: Sun, 29 May 2022 18:12:43 +0100 Subject: [PATCH 5/5] fix: make maven-bundle-plugin a build-only dependency closes #70 --- pom.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/pom.xml b/pom.xml index fceb240..d944716 100644 --- a/pom.xml +++ b/pom.xml @@ -185,6 +185,7 @@ maven-bundle-plugin 5.1.6 maven-plugin + test