You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by re...@apache.org on 2026/08/13 13:21:07 UTC

(uima-uimaj) 01/01: Issue #462: Aggregate JavaDoc not provisioned for release builds

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

reckart pushed a commit to branch bugfix/462-Aggregate-JavaDoc-not-provisioned-for-release-builds
in repository https://gitbox.apache.org/repos/asf/uima-uimaj.git

commit 67a939846f00d1333af777a939c2e4edfe3be402
Author: Richard Eckart de Castilho <re...@apache.org>
AuthorDate: Thu Aug 13 15:20:56 2026 +0200

    Issue #462: Aggregate JavaDoc not provisioned for release builds
    
    - Configure maven-javadoc-plugin to write aggregated javadoc to a shared property directory
    - Update assembly descriptor to read aggregated javadoc from the configured property directory
---
 pom.xml                   | 4 +++-
 src/main/assembly/bin.xml | 2 +-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/pom.xml b/pom.xml
index 5d230e1c2..2a8c70ea9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -48,7 +48,8 @@
 
   <properties>
     <assemblyBinDescriptor>src/main/assembly/bin.xml</assemblyBinDescriptor>
-    <postNoticeText>${ibmNoticeText}</postNoticeText>    
+    <postNoticeText>${ibmNoticeText}</postNoticeText>
+    <aggregatedJavadocBaseDirectory>${project.build.directory}/site</aggregatedJavadocBaseDirectory>
   </properties>
 
   <modules>
@@ -312,6 +313,7 @@
                   </packages>
                 </group>
               </groups>
+              <outputDirectory>${aggregatedJavadocBaseDirectory}</outputDirectory>
               <doctitle>Apache UIMA Java SDK ${project.version} User-Level API Documentation</doctitle>
               <windowtitle>Apache UIMA Java SDK ${project.version} User-Level API Documentation</windowtitle>
             </configuration>
diff --git a/src/main/assembly/bin.xml b/src/main/assembly/bin.xml
index a33f6dc35..814b7a829 100644
--- a/src/main/assembly/bin.xml
+++ b/src/main/assembly/bin.xml
@@ -261,7 +261,7 @@ under the License.
     </fileSet>
 
     <fileSet>
-      <directory>target/site/apidocs</directory>
+      <directory>${aggregatedJavadocBaseDirectory}/apidocs</directory>
       <outputDirectory>docs/d/api</outputDirectory>
       <excludes>
         <exclude>options</exclude>