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

rzo1 pushed a commit to branch 1799
in repository https://gitbox.apache.org/repos/asf/opennlp.git

commit e0be500272c78154246daddd915e5ace8acbd077
Author: Richard Zowalla <[email protected]>
AuthorDate: Thu Feb 19 15:51:05 2026 +0100

    OPENNLP-1799 - Ensure doc artifact is a dependency of distr component
---
 opennlp-distr/pom.xml | 6 ++++++
 opennlp-docs/pom.xml  | 2 +-
 pom.xml               | 6 ++++++
 3 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/opennlp-distr/pom.xml b/opennlp-distr/pom.xml
index b682a98e..a12acfdc 100644
--- a/opennlp-distr/pom.xml
+++ b/opennlp-distr/pom.xml
@@ -88,6 +88,12 @@
       <artifactId>opennlp-uima</artifactId>
     </dependency>
 
+    <!-- OpenNLP Docs - Ensure that "docs" are build before distribution -->
+    <dependency>
+      <groupId>org.apache.opennlp</groupId>
+      <artifactId>opennlp-docs</artifactId>
+    </dependency>
+
     <!-- ship the dist with a logging impl for cli users -->
     <dependency>
       <groupId>org.slf4j</groupId>
diff --git a/opennlp-docs/pom.xml b/opennlp-docs/pom.xml
index 5606d69a..d7632b8d 100644
--- a/opennlp-docs/pom.xml
+++ b/opennlp-docs/pom.xml
@@ -29,7 +29,7 @@
   </parent>
   
   <artifactId>opennlp-docs</artifactId>
-  <packaging>pom</packaging>
+  <packaging>jar</packaging>
   <name>Apache OpenNLP :: Documentation</name>
 
        <profiles>
diff --git a/pom.xml b/pom.xml
index cac88066..09586e0e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -210,6 +210,12 @@
                                <version>${project.version}</version>
                        </dependency>
 
+                       <dependency>
+                               <artifactId>opennlp-docs</artifactId>
+                               <groupId>${project.groupId}</groupId>
+                               <version>${project.version}</version>
+                       </dependency>
+
                </dependencies>
        </dependencyManagement>
 

Reply via email to