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 e485e9220b Fix build failure.
new 86b4fb948b Merge branch 'master' of
https://gitbox.apache.org/repos/asf/juneau.git
e485e9220b is described below
commit e485e9220bbe823e9a4fed039030f00f5d69b328
Author: James Bognar <[email protected]>
AuthorDate: Mon Oct 13 11:28:28 2025 -0400
Fix build failure.
---
juneau-docs/docs/release-notes/9.2.0.md | 4 +-
.../topics/01.01.00.JuneauEcosystemOverview.md | 10 ++--
.../docs/topics/19.01.00.JuneauShadedOverview.md | 13 ++---
.../docs/topics/19.02.00.JuneauShadedCore.md | 16 ++----
.../docs/topics/19.06.00.JuneauShadedAll.md | 4 +-
juneau-docs/pom.xml | 58 ++++++++++++++++++++++
juneau-docs/sidebars.ts | 31 ++++++++++--
juneau-shaded/README.md | 1 -
juneau-shaded/juneau-shaded-core/pom.xml | 7 +--
pom.xml | 3 +-
10 files changed, 103 insertions(+), 44 deletions(-)
diff --git a/juneau-docs/docs/release-notes/9.2.0.md
b/juneau-docs/docs/release-notes/9.2.0.md
index 210d2766a4..0351178875 100644
--- a/juneau-docs/docs/release-notes/9.2.0.md
+++ b/juneau-docs/docs/release-notes/9.2.0.md
@@ -257,7 +257,7 @@ Introduced a new `juneau-shaded` module that provides five
shaded (uber) JAR art
| Artifact | Size | Contents |
|----------|------|----------|
-| **juneau-shaded-core** | 2.1 MB | Core marshalling and configuration modules
|
+| **juneau-shaded-core** | 2.0 MB | Core marshalling and configuration modules
|
| **juneau-shaded-rest-client** | 3.8 MB | Core + REST client functionality |
| **juneau-shaded-rest-server** | 3.8 MB | Core + REST server functionality |
| **juneau-shaded-rest-server-springboot** | 3.8 MB | REST server + Spring
Boot integration |
@@ -384,7 +384,7 @@ None at this time.
No code changes are required - all imports and APIs remain the same.
Alternatively, consider using a more specific shaded artifact if you don't
need the full framework:
- - `juneau-shaded-core` - For marshalling/config only (2.1 MB)
+ - `juneau-shaded-core` - For marshalling/config only (2.0 MB)
- `juneau-shaded-rest-client` - For REST client work (3.8 MB)
- `juneau-shaded-rest-server` - For REST server work (3.8 MB)
diff --git a/juneau-docs/docs/topics/01.01.00.JuneauEcosystemOverview.md
b/juneau-docs/docs/topics/01.01.00.JuneauEcosystemOverview.md
index eef3456941..c25a9c5035 100644
--- a/juneau-docs/docs/topics/01.01.00.JuneauEcosystemOverview.md
+++ b/juneau-docs/docs/topics/01.01.00.JuneauEcosystemOverview.md
@@ -30,11 +30,11 @@ The Juneau ecosystem consists of the following parts:
| | [juneau‑microservice‑jetty](/docs/topics/JuneauMicroserviceJettyBasics) |
Jetty-based microservice implementation | • Jetty 9.4+ |
| **juneau-petstore** | [juneau‑petstore](/docs/topics/JuneauPetstoreBasics) |
Complete REST application example | • Spring Boot 2.0+ |
| **juneau-examples** |
[juneau‑examples‑core](/docs/topics/JuneauExamplesCore)<br/>[juneau‑examples‑rest](/docs/topics/JuneauExamplesRest)<br/>[juneau‑examples‑rest‑jetty](/docs/topics/JuneauExamplesRestJetty)<br/>[juneau‑examples‑rest‑springboot](/docs/topics/JuneauExamplesRestSpringboot)
| Code examples and tutorials | |
-| **juneau-shaded** | [juneau‑shaded‑core](/docs/topics/JuneauAllBasics) |
Core marshalling and configuration in one JAR (2.1 MB) | • *None* |
-| | [juneau‑shaded‑rest‑client](/docs/topics/JuneauAllBasics) | Core + REST
client functionality (3.8 MB) | • Apache HttpClient 5.x |
-| | [juneau‑shaded‑rest‑server](/docs/topics/JuneauAllBasics) | Core + REST
server functionality (3.8 MB) | • Servlet API 6.1+ |
-| | [juneau‑shaded‑rest‑server‑springboot](/docs/topics/JuneauAllBasics) |
REST server + Spring Boot integration (3.8 MB) | • Spring Boot 3.x |
-| | [juneau‑shaded‑all](/docs/topics/JuneauAllBasics) | Complete framework in
one JAR (4.0 MB)<br/>*Ideal for Bazel and simplified dependency management* | •
Servlet API 6.1+<br/>• Apache HttpClient 5.x |
+| **juneau-shaded** | [juneau‑shaded‑core](/docs/topics/JuneauShadedCore) |
Core marshalling and configuration in one JAR (2.0 MB) | • *None* |
+| | [juneau‑shaded‑rest‑client](/docs/topics/JuneauShadedRestClient) | Core +
REST client functionality (3.8 MB) | • Apache HttpClient 5.x |
+| | [juneau‑shaded‑rest‑server](/docs/topics/JuneauShadedRestServer) | Core +
REST server functionality (3.8 MB) | • Servlet API 6.1+ |
+| |
[juneau‑shaded‑rest‑server‑springboot](/docs/topics/JuneauShadedRestServerSpringboot)
| REST server + Spring Boot integration (3.8 MB) | • Spring Boot 3.x |
+| | [juneau‑shaded‑all](/docs/topics/JuneauShadedAll) | Complete framework in
one JAR (4.0 MB)<br/>*Ideal for Bazel and simplified dependency management* | •
Servlet API 6.1+<br/>• Apache HttpClient 5.x |
The current version of Juneau is `9.1.0`.
diff --git a/juneau-docs/docs/topics/19.01.00.JuneauShadedOverview.md
b/juneau-docs/docs/topics/19.01.00.JuneauShadedOverview.md
index e308ab42ab..6db131e1a8 100644
--- a/juneau-docs/docs/topics/19.01.00.JuneauShadedOverview.md
+++ b/juneau-docs/docs/topics/19.01.00.JuneauShadedOverview.md
@@ -19,7 +19,7 @@ Shaded artifacts use the [Maven Shade
Plugin](https://maven.apache.org/plugins/m
| Artifact | Size | Description | Details |
|----------|------|-------------|---------|
-| [juneau-shaded-core](/docs/topics/JuneauShadedCore) | 2.1 MB | Core
marshalling and configuration functionality | [Learn more
→](/docs/topics/JuneauShadedCore) |
+| [juneau-shaded-core](/docs/topics/JuneauShadedCore) | 2.0 MB | Core
marshalling and configuration functionality | [Learn more
→](/docs/topics/JuneauShadedCore) |
| [juneau-shaded-rest-client](/docs/topics/JuneauShadedRestClient) | 3.8 MB |
Core + REST client functionality | [Learn more
→](/docs/topics/JuneauShadedRestClient) |
| [juneau-shaded-rest-server](/docs/topics/JuneauShadedRestServer) | 3.8 MB |
Core + REST server functionality | [Learn more
→](/docs/topics/JuneauShadedRestServer) |
|
[juneau-shaded-rest-server-springboot](/docs/topics/JuneauShadedRestServerSpringboot)
| 3.8 MB | REST server + Spring Boot integration | [Learn more
→](/docs/topics/JuneauShadedRestServerSpringboot) |
@@ -223,12 +223,6 @@ maven_jar(
artifact = "org.apache.juneau:juneau-shaded-core:9.2.0-SNAPSHOT",
repository =
"https://repository.apache.org/content/repositories/snapshots/",
)
-
-# Optional: For RDF support
-maven_jar(
- name = "jena_core",
- artifact = "org.apache.jena:jena-core:4.10.0",
-)
```
**BUILD**:
@@ -238,7 +232,6 @@ java_library(
srcs = ["MySerializer.java"],
deps = [
"@juneau_core//jar",
- "@jena_core//jar", # Only if using RDF
],
)
```
@@ -306,8 +299,8 @@ Here's a quick reference:
| Juneau Shaded Artifact | Common External Dependencies |
|------------------------|------------------------------|
-| `juneau-shaded-core` | `jakarta.xml.bind-api`, `jena-core` (for RDF) |
-| `juneau-shaded-rest-client` | `httpclient5`, `httpcore5`,
`jakarta.servlet-api` |
+| `juneau-shaded-core` | None (optional: `jakarta.xml.bind-api` for XML) |
+| `juneau-shaded-rest-client` | `httpclient5`, `httpcore5` |
| `juneau-shaded-rest-server` | `jakarta.servlet-api`, `jetty-server` |
| `juneau-shaded-rest-server-springboot` | `spring-boot-starter-web`,
`jakarta.servlet-api` |
| `juneau-shaded-all` | All of the above |
diff --git a/juneau-docs/docs/topics/19.02.00.JuneauShadedCore.md
b/juneau-docs/docs/topics/19.02.00.JuneauShadedCore.md
index 53e0e01427..52932292e2 100644
--- a/juneau-docs/docs/topics/19.02.00.JuneauShadedCore.md
+++ b/juneau-docs/docs/topics/19.02.00.JuneauShadedCore.md
@@ -3,7 +3,7 @@ title: "juneau-shaded-core"
slug: JuneauShadedCore
---
-The `juneau-shaded-core` artifact bundles all core Juneau modules for general
marshalling and configuration work. At 2.1 MB, it's the smallest shaded
artifact and ideal for applications that don't need REST functionality.
+The `juneau-shaded-core` artifact bundles all core Juneau modules for general
marshalling and configuration work. At 2.0 MB, it's the smallest shaded
artifact and ideal for applications that don't need REST functionality.
## What's Included
@@ -14,14 +14,12 @@ This artifact includes the following Juneau modules:
- **juneau-bct** - Bean-Centric Testing framework
- **juneau-config** - Configuration file API
- **juneau-marshall** - Serializers and parsers (JSON, XML, HTML, MessagePack,
etc.)
-- **juneau-marshall-rdf** - RDF serializers and parsers
### Serialization Formats Supported
- **JSON** - Multiple flavors (standard, simplified, lax)
- **XML** - Standard and namespaced XML
- **HTML** - HTML5 and table-based serialization
-- **RDF** - RDF/XML, N3, N-Triple, Turtle
- **URL-Encoding** - URL-encoded form data
- **UON** - URL-Encoded Object Notation
- **OpenAPI** - OpenAPI-style serialization
@@ -70,17 +68,9 @@ java_library(
`juneau-shaded-core` requires the following external dependencies:
-### Required
+### Optional
- **Jakarta XML Bind API 3.0+** - For XML serialization support
-### Optional (for RDF support)
-- **Apache Jena Core 2.7.1+** - RDF parsing and serialization
-- **Apache Jena IRI 0.9.4+** - IRI validation
-- **Xerces 2.10.0+** - XML parsing
-- **SLF4J 1.6.4+** - Logging (used by Jena)
-
-If you don't need RDF support, you can exclude the RDF-related classes or
simply not use them.
-
## Example Usage
### Basic Serialization
@@ -153,7 +143,7 @@ public class BctExample {
- **Serialization**: Fast, memory-efficient
- **Parsing**: Safe from deserialization attacks
-- **JAR Size**: 2.1 MB (smallest shaded artifact)
+- **JAR Size**: 2.0 MB (smallest shaded artifact)
- **Startup Time**: Minimal - no classpath scanning or code generation
## Migration from Individual Modules
diff --git a/juneau-docs/docs/topics/19.06.00.JuneauShadedAll.md
b/juneau-docs/docs/topics/19.06.00.JuneauShadedAll.md
index ae7f2b9f32..2a70a7a9b8 100644
--- a/juneau-docs/docs/topics/19.06.00.JuneauShadedAll.md
+++ b/juneau-docs/docs/topics/19.06.00.JuneauShadedAll.md
@@ -15,7 +15,6 @@ This artifact includes **everything**:
- **juneau-bct** - Bean-Centric Testing framework
- **juneau-config** - Configuration file API
- **juneau-marshall** - All serializers/parsers (JSON, XML, HTML, MessagePack,
etc.)
-- **juneau-marshall-rdf** - RDF serializers/parsers
### REST Modules
- **juneau-rest-common** - Common REST APIs
@@ -106,7 +105,6 @@ java_binary(
### Optional
- **Jakarta XML Bind API 3.0+** - For XML serialization
-- **Apache Jena** - For RDF support
- **Spring Boot Starter Security** - For Spring Security integration
## Example: Complete Microservice
@@ -332,7 +330,7 @@ Consider using more specific shaded artifacts if:
| Artifact | Size | Use When |
|----------|------|----------|
-| [juneau-shaded-core](/docs/topics/JuneauShadedCore) | 2.1 MB | Only need
marshalling/config |
+| [juneau-shaded-core](/docs/topics/JuneauShadedCore) | 2.0 MB | Only need
marshalling/config |
| [juneau-shaded-rest-client](/docs/topics/JuneauShadedRestClient) | 3.8 MB |
Building REST clients |
| [juneau-shaded-rest-server](/docs/topics/JuneauShadedRestServer) | 3.8 MB |
Building REST servers |
|
[juneau-shaded-rest-server-springboot](/docs/topics/JuneauShadedRestServerSpringboot)
| 3.8 MB | Using Spring Boot |
diff --git a/juneau-docs/pom.xml b/juneau-docs/pom.xml
new file mode 100644
index 0000000000..bde1a9b39b
--- /dev/null
+++ b/juneau-docs/pom.xml
@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.apache.juneau</groupId>
+ <artifactId>juneau</artifactId>
+ <version>9.2.0-SNAPSHOT</version>
+ </parent>
+
+ <artifactId>juneau-docs</artifactId>
+ <packaging>pom</packaging>
+ <name>Apache Juneau Documentation</name>
+ <description>
+ Docusaurus-based documentation for Apache Juneau.
+ This module does not produce any Maven artifacts - it only
serves
+ to make the documentation folder importable into IDEs like
Eclipse.
+ </description>
+
+ <build>
+ <plugins>
+ <!-- Skip all standard Maven lifecycle phases -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-install-plugin</artifactId>
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+</project>
+
diff --git a/juneau-docs/sidebars.ts b/juneau-docs/sidebars.ts
index e5e58f5f81..ab05a256d0 100644
--- a/juneau-docs/sidebars.ts
+++ b/juneau-docs/sidebars.ts
@@ -1681,13 +1681,38 @@ const sidebars: SidebarsConfig = {
},
{
type: 'category',
- label: '19. juneau-all',
+ label: '19. juneau-shaded',
collapsed: true,
items: [
{
type: 'doc',
- id: 'topics/19.01.00.JuneauAllBasics',
- label: '19.1. juneau-all Basics',
+ id: 'topics/19.01.00.JuneauShadedOverview',
+ label: '19.1. Juneau Shaded Overview',
+ },
+ {
+ type: 'doc',
+ id: 'topics/19.02.00.JuneauShadedCore',
+ label: '19.2. juneau-shaded-core',
+ },
+ {
+ type: 'doc',
+ id: 'topics/19.03.00.JuneauShadedRestClient',
+ label: '19.3. juneau-shaded-rest-client',
+ },
+ {
+ type: 'doc',
+ id: 'topics/19.04.00.JuneauShadedRestServer',
+ label: '19.4. juneau-shaded-rest-server',
+ },
+ {
+ type: 'doc',
+ id: 'topics/19.05.00.JuneauShadedRestServerSpringboot',
+ label: '19.5. juneau-shaded-rest-server-springboot',
+ },
+ {
+ type: 'doc',
+ id: 'topics/19.06.00.JuneauShadedAll',
+ label: '19.6. juneau-shaded-all',
},
],
},
diff --git a/juneau-shaded/README.md b/juneau-shaded/README.md
index 7bc79d5246..cb255250d0 100644
--- a/juneau-shaded/README.md
+++ b/juneau-shaded/README.md
@@ -18,7 +18,6 @@ This module contains shaded (uber) JAR artifacts that bundle
multiple Juneau mod
- juneau-bct (Bean-Centric Testing)
- juneau-config
- juneau-marshall
-- juneau-marshall-rdf
**Maven Usage**:
```xml
diff --git a/juneau-shaded/juneau-shaded-core/pom.xml
b/juneau-shaded/juneau-shaded-core/pom.xml
index 2ec38ecf7a..0b0b2393ef 100644
--- a/juneau-shaded/juneau-shaded-core/pom.xml
+++ b/juneau-shaded/juneau-shaded-core/pom.xml
@@ -29,7 +29,7 @@
<name>Apache Juneau Core (Shaded)</name>
<description>
Shaded JAR containing all juneau-core submodules for general
marshalling work.
- Includes: juneau-common, juneau-assertions, juneau-bct,
juneau-config, juneau-marshall, and juneau-marshall-rdf.
+ Includes: juneau-common, juneau-assertions, juneau-bct,
juneau-config, and juneau-marshall.
This artifact is useful for projects that need core Juneau
functionality without managing multiple dependencies.
</description>
@@ -60,11 +60,6 @@
<artifactId>juneau-marshall</artifactId>
<version>${project.version}</version>
</dependency>
- <dependency>
- <groupId>org.apache.juneau</groupId>
- <artifactId>juneau-marshall-rdf</artifactId>
- <version>${project.version}</version>
- </dependency>
</dependencies>
<build>
diff --git a/pom.xml b/pom.xml
index 0b69b7176f..efb70113ee 100644
--- a/pom.xml
+++ b/pom.xml
@@ -57,6 +57,7 @@
<module>juneau-bean</module>
<module>juneau-shaded</module>
<module>juneau-distrib</module>
+ <module>juneau-docs</module>
</modules>
<distributionManagement>
@@ -107,7 +108,7 @@
<exclude>**/*.svg</exclude>
<exclude>**/*.nojekyll</exclude>
<exclude>/juneau-docs/static/site/**</exclude>
-
<exclude>/juneau-docs/static/javadocs/**</exclude>
+
<exclude>**/javadocs/**</exclude>
<!-- Eclipse metadata files -->
<exclude>**/.settings/**</exclude>