Skip to content

Commit 81094da

Browse files
committed
OPENNLP-1799 - Ensure doc artifact is a dependency of distr component
1 parent 50d236b commit 81094da

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

opennlp-distr/pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,12 @@
8888
<artifactId>opennlp-uima</artifactId>
8989
</dependency>
9090

91+
<!-- OpenNLP Docs - Ensure that "docs" are build before distribution -->
92+
<dependency>
93+
<groupId>org.apache.opennlp</groupId>
94+
<artifactId>opennlp-docs</artifactId>
95+
</dependency>
96+
9197
<!-- ship the dist with a logging impl for cli users -->
9298
<dependency>
9399
<groupId>org.slf4j</groupId>

opennlp-docs/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
</parent>
3030

3131
<artifactId>opennlp-docs</artifactId>
32-
<packaging>pom</packaging>
32+
<packaging>jar</packaging>
3333
<name>Apache OpenNLP :: Documentation</name>
3434

3535
<profiles>

pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,12 @@
210210
<version>${project.version}</version>
211211
</dependency>
212212

213+
<dependency>
214+
<artifactId>opennlp-docs</artifactId>
215+
<groupId>${project.groupId}</groupId>
216+
<version>${project.version}</version>
217+
</dependency>
218+
213219
</dependencies>
214220
</dependencyManagement>
215221

0 commit comments

Comments
 (0)