rzo1 opened a new pull request, #311:
URL: https://github.com/apache/openjpa/pull/311

   `mvn -DskipTests install && mvn javadoc:aggregate` failed in 
openjpa-examples/openbooks on JDK 23 and later: the Ant build that generates 
the OpenBooks metamodel relied on javac finding the annotation processor on the 
class path, which javac no longer does by default. The processor is now named 
explicitly.
   
   With `-Dbuilddocs` (used by `release:perform`) the javadoc report of the 
root site writes the aggregated javadoc to `target/site/apidocs`, which 
openjpa-project copies into `docs/javadoc` of the binary archive. That report 
now uses the same visibility as `javadoc:aggregate` and the javadoc jars, and 
both leave openjpa-maven-plugin out. `javadoc:aggregate` links the Java SE and 
Jakarta Persistence javadoc. The unused ydoc profile is removed. RELEASING.md 
explains where the release javadoc comes from and how to build it again at a 
release tag for the `builds` branch of openjpa-site.
   
   Tested on JDK 25:
   - `mvn clean package -Dbuilddocs -DskipTests`: the binary zip contains 
`docs/javadoc/index.html` with the org.apache.openjpa packages
   - `mvn javadoc:aggregate` after `mvn -DskipTests install`
   - openjpa-lib and openjpa-kernel tests


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to