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 6ec4a82d3 Fix maven site generation.
6ec4a82d3 is described below

commit 6ec4a82d3aa8dc977d749798c6b9f4d527bf1a79
Author: James Bognar <[email protected]>
AuthorDate: Fri Sep 26 15:29:07 2025 -0400

    Fix maven site generation.
---
 juneau-docs/create-mvn-site.sh                           | 5 +++--
 juneau-examples/juneau-examples-rest-jetty-ftest/pom.xml | 1 -
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/juneau-docs/create-mvn-site.sh b/juneau-docs/create-mvn-site.sh
index 44929c7a9..781f74177 100755
--- a/juneau-docs/create-mvn-site.sh
+++ b/juneau-docs/create-mvn-site.sh
@@ -36,6 +36,7 @@ PROJECT_VERSION=$(mvn help:evaluate 
-Dexpression=project.version -q -DforceStdou
 echo "Detected project version: ${PROJECT_VERSION}"
 
 echo "Generating maven site for root project..."
+rm -rf "$JUNEAU_ROOT/target/site/*"
 mvn clean compile site  | tee create-mvn-site.log
 
 # Check if the Maven site was generated successfully
@@ -65,12 +66,12 @@ echo "Found Maven site in: target/site"
 
 # Remove any existing content in the local testing directory
 echo "Setting up local testing directory for Docusaurus..."
-rm -rf "$JUNEAU_ROOT/juneau-docs/static/site"/*
+rm -rf "$JUNEAU_ROOT/juneau-docs/static/site"
 mkdir -p "$JUNEAU_ROOT/juneau-docs/static/site"
 
 # Copy the entire Maven site to the Docusaurus static directory
 echo "Copying entire Maven site to Docusaurus static directory..."
-cp -r target/site/* "$JUNEAU_ROOT/juneau-docs/static/site/"
+cp -v -r target/site/* "$JUNEAU_ROOT/juneau-docs/static/site/"
 
 echo 
'*******************************************************************************'
 echo '***** SUCCESS 
*****************************************************************'
diff --git a/juneau-examples/juneau-examples-rest-jetty-ftest/pom.xml 
b/juneau-examples/juneau-examples-rest-jetty-ftest/pom.xml
index fffbdfdb1..2cf11635c 100644
--- a/juneau-examples/juneau-examples-rest-jetty-ftest/pom.xml
+++ b/juneau-examples/juneau-examples-rest-jetty-ftest/pom.xml
@@ -44,7 +44,6 @@
                        <groupId>org.apache.juneau</groupId>
                        <artifactId>juneau-rest-server</artifactId>
                        <version>${project.version}</version>
-                       <type>test-jar</type>
                </dependency>
                <dependency>
                        <groupId>org.junit.vintage</groupId>

Reply via email to