diff --git a/.github/RUNBOOK.md b/.github/RUNBOOK.md index f3e36cd..de3ce0f 100644 --- a/.github/RUNBOOK.md +++ b/.github/RUNBOOK.md @@ -25,13 +25,9 @@ How to do stuff ## Generate Javadoc ```sh -jenv shell 16 -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" -jenv shell 1.8 ``` - Locally, 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 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..d944716 100644 --- a/pom.xml +++ b/pom.xml @@ -12,8 +12,10 @@ UTF-8 + 1.8 - 1.8 + + 18 @@ -55,7 +57,7 @@ org.apache.maven.plugins maven-compiler-plugin - 3.8.1 + 3.10.1 ${maven.compiler.source} ${maven.compiler.target} @@ -64,7 +66,7 @@ org.apache.felix maven-bundle-plugin - 5.1.2 + 5.1.5 true @@ -77,7 +79,7 @@ org.sonatype.plugins nexus-staging-maven-plugin - 1.6.8 + 1.6.13 true ossrh @@ -88,7 +90,7 @@ org.apache.maven.plugins maven-source-plugin - 3.2.0 + 3.2.1 attach-sources @@ -181,8 +183,9 @@ org.apache.felix maven-bundle-plugin - 5.1.5 + 5.1.6 maven-plugin + test