This is an automated email from the ASF dual-hosted git repository.

jamesbognar pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/juneau.git


The following commit(s) were added to refs/heads/master by this push:
     new 416a40667 Updates to Javadoc scripts.
416a40667 is described below

commit 416a40667c5e8a67d654c50b63a249ffbac0963a
Author: JamesBognar <[email protected]>
AuthorDate: Thu Aug 31 10:05:50 2023 -0400

    Updates to Javadoc scripts.
---
 juneau-build-javadoc.sh |   1 +
 juneau-doc/pom.xml      |   4 ++--
 juneau-doc/tools.jar    | Bin 0 -> 18319643 bytes
 juneau-release-env.sh   |   4 ++--
 juneau-release.sh       |   2 +-
 5 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/juneau-build-javadoc.sh b/juneau-build-javadoc.sh
index 17b12b1b1..3b70cba03 100755
--- a/juneau-build-javadoc.sh
+++ b/juneau-build-javadoc.sh
@@ -32,6 +32,7 @@ export 
cp=target/juneau-doc-${JUNEAU_VERSION}-SNAPSHOT.jar:../juneau-all/target/
 java -DjuneauVersion=$JUNEAU_VERSION -cp $cp 
org.apache.juneau.doc.internal.DocGenerator 
 cd .. 
 
+export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk-18.jdk/Contents/Home
 mvn javadoc:aggregate
 tput bel
 
diff --git a/juneau-doc/pom.xml b/juneau-doc/pom.xml
index 4677af340..9cf00a889 100644
--- a/juneau-doc/pom.xml
+++ b/juneau-doc/pom.xml
@@ -30,7 +30,7 @@
 
        <properties>
                <!-- Note:  If you want to build the docs, you have to update 
the following location for tools.jar -->
-               
<toolsjar>/Library/Java/JavaVirtualMachines/jdk1.8.0_162.jdk/Contents/Home/lib/tools.jar</toolsjar>
+               <toolsjar>${basedir}/tools.jar</toolsjar>
        </properties>
 
        <dependencies>
@@ -77,7 +77,7 @@
                <dependency>
                        <groupId>com.sun</groupId>
                        <artifactId>tools</artifactId>
-                       <version>1.8.0_162</version>
+                       <version>1.8.0_361</version>
                        <scope>system</scope>
                        <systemPath>${toolsjar}</systemPath>
                </dependency>
diff --git a/juneau-doc/tools.jar b/juneau-doc/tools.jar
new file mode 100644
index 000000000..d32938415
Binary files /dev/null and b/juneau-doc/tools.jar differ
diff --git a/juneau-release-env.sh b/juneau-release-env.sh
index 155e99d8d..f6ab50e8e 100755
--- a/juneau-release-env.sh
+++ b/juneau-release-env.sh
@@ -13,12 +13,12 @@
 # 
***************************************************************************************************************************
 
 # DO NOT CHECK IN CHANGES TO THIS FILE!
-export 
JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_162.jdk/Contents/Home
+export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk-18.jdk/Contents/Home
 export PATH=$JAVA_HOME/bin:$PATH
 
 export X_VERSION=9.0.0
 export X_NEXT_VERSION=9.0.1-SNAPSHOT
-export X_RELEASE=juneau-9.0.0-RC2
+export X_RELEASE=juneau-9.0.0-RC3
 export X_STAGING=~/tmp/dist-release-juneau
 export X_USERNAME=jamesbognar
 export [email protected]
diff --git a/juneau-release.sh b/juneau-release.sh
index a66029bba..72397ad3b 100755
--- a/juneau-release.sh
+++ b/juneau-release.sh
@@ -77,7 +77,7 @@ export GPG_TTY=$(tty)
 
 message "Checking Java version"
 java -version
-yprompt "Are you using at least Java 8?";
+yprompt "Are you using at least Java 17?";
 
 message "Checking Maven version"
 mvn -version

Reply via email to