This is an automated email from the ASF dual-hosted git repository.
rzo1 pushed a commit to branch opennlp-2.x
in repository https://gitbox.apache.org/repos/asf/opennlp.git
The following commit(s) were added to refs/heads/opennlp-2.x by this push:
new 29928b84 OPENNLP-1799 - Ensure doc artifact is a dependency of distr
component
29928b84 is described below
commit 29928b847eb6a77038c42885ef69a1ca8352efb3
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 7ba20867..5ea1d80b 100644
--- a/opennlp-distr/pom.xml
+++ b/opennlp-distr/pom.xml
@@ -55,6 +55,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 c3ff9d73..77e910b6 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 ce017c8c..7cb5eb94 100644
--- a/pom.xml
+++ b/pom.xml
@@ -162,6 +162,12 @@
<version>${project.version}</version>
</dependency>
+ <dependency>
+ <artifactId>opennlp-docs</artifactId>
+ <groupId>${project.groupId}</groupId>
+ <version>${project.version}</version>
+ </dependency>
+
</dependencies>
</dependencyManagement>