diff --git a/dev-tools/release/promote_rc.sh b/dev-tools/release/promote_rc.sh index 82d38b3d58d..cab8c175cdd 100755 --- a/dev-tools/release/promote_rc.sh +++ b/dev-tools/release/promote_rc.sh @@ -701,6 +701,7 @@ echo "" echo "See full release notes at https://cwiki.apache.org/confluence/display/GEODE/Release+Notes#ReleaseNotes-${VERSION}" echo "" echo "8. Check that ${VERSION} documentation has been published to https://geode.apache.org/docs/" +[ -n "$LATER" ] || echo "8b.Check that ${VERSION} javadoc has been published to https://geode.apache.org/releases/latest/javadoc/" [ -z "$DID_REMOVE" ] || DID_REMOVE=" and ${DID_REMOVE} info has been removed" echo "9. Check that ${VERSION} download info has been published to https://geode.apache.org/releases/${DID_REMOVE}" [ "${PATCH}" -ne 0 ] || echo "10. If 3rd-party dependencies haven't been bumped in awhile, ask on the dev list for a volunteer (details in dev-tools/dependencies/README.md)" diff --git a/geode-assembly/build.gradle b/geode-assembly/build.gradle index e1e557f0ab5..0861d1d996e 100755 --- a/geode-assembly/build.gradle +++ b/geode-assembly/build.gradle @@ -417,26 +417,6 @@ tasks.register('gfshDepsJar', Jar) { } } -// Extract legacy Tomcat 6 jars needed only to satisfy Javadoc for old session manager classes -// (LifecycleSupport, SerializablePrincipal) without altering runtime dependencies. -def legacyTomcatDir = "$buildDir/legacyTomcat" -tasks.register('extractLegacyTomcatForJavadoc') { - description = 'Extracts legacy Tomcat catalina jars for Javadoc symbol resolution.' - outputs.dir(legacyTomcatDir) - dependsOn configurations.webServerTomcat6 - doLast { - delete legacyTomcatDir - copy { - from { zipTree(configurations.webServerTomcat6.singleFile) } - // Include the full Tomcat 6 lib set so packages like org.apache.catalina.ha.session - // (SerializablePrincipal) and util.LifecycleSupport are present. We keep it scoped - // to Javadoc only via this extracted directory rather than adding runtime deps. - include '**/lib/*.jar' - into legacyTomcatDir - } - } -} - tasks.register('docs', Javadoc) { def docsDir = file("$buildDir/javadocs") // Removed -Xwerror to avoid treating HTML5 compatibility warnings as errors @@ -474,16 +454,11 @@ tasks.register('docs', Javadoc) { // Use javadocOnly configuration with transitive dependencies to get external libraries // This avoids cross-project configuration resolution while including necessary dependencies - // Include legacy Tomcat jars for symbol resolution of older session manager classes - dependsOn(tasks.named('extractLegacyTomcatForJavadoc')) - // Use a lazy FileCollection for legacy Tomcat jars so extraction runs before it is resolved - // Broaden legacy Tomcat inclusion (Option 2) to all jars in Tomcat6 lib so that - // org.apache.catalina.util.LifecycleSupport and org.apache.catalina.ha.session.SerializablePrincipal - // (present in clustering/ha related jars) are available to Javadoc without excluding sources. - def legacyCatalinaJars = files { fileTree(legacyTomcatDir).matching { include '*.jar' } } + // The javadocStubs output supplies the older session manager symbols + // (org.apache.catalina.util.LifecycleSupport, org.apache.catalina.ha.session.SerializablePrincipal) + // that are absent from the Tomcat version on the javadocOnly configuration. classpath = configurations.javadocOnly + files(docProjects.collect { proj -> proj.sourceSets.main.output }) + - legacyCatalinaJars + sourceSets.javadocStubs.output options.addStringOption('Xwerror','-quiet')