You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opennlp.apache.org by ma...@apache.org on 2024/11/02 07:56:11 UTC

(opennlp-models) branch main updated: Moves javadoc-plugin execution to 'apache-release' profile (#23)

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

mawiesne pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/opennlp-models.git


The following commit(s) were added to refs/heads/main by this push:
     new 87160b5  Moves javadoc-plugin execution to 'apache-release' profile (#23)
87160b5 is described below

commit 87160b50475a8c320fa8809c5ae417b6d8add642
Author: Martin Wiesner <ma...@users.noreply.github.com>
AuthorDate: Sat Nov 2 08:56:06 2024 +0100

    Moves javadoc-plugin execution to 'apache-release' profile (#23)
---
 pom.xml | 46 +++++++++++++++++++++++-----------------------
 1 file changed, 23 insertions(+), 23 deletions(-)

diff --git a/pom.xml b/pom.xml
index 2f94bb3..f7892bb 100644
--- a/pom.xml
+++ b/pom.xml
@@ -222,29 +222,6 @@
 					</execution>
 				</executions>
 			</plugin>
-			<plugin>
-				<artifactId>maven-javadoc-plugin</artifactId>
-				<version>${javadoc.plugin.version}</version>
-				<configuration>
-					<doclint>none</doclint>
-					<source>${java.version}</source>
-					<sourcepath>src/main/java</sourcepath>
-				</configuration>
-				<executions>
-					<execution>
-						<id>create-javadoc-jar</id>
-						<goals>
-							<goal>jar</goal>
-						</goals>
-						<phase>package</phase>
-						<configuration>
-							<show>public</show>
-							<quiet>false</quiet>
-							<use>false</use> <!-- Speeds up the build of the javadocs -->
-						</configuration>
-					</execution>
-				</executions>
-			</plugin>
 		</plugins>
 	</build>
 
@@ -253,6 +230,29 @@
 		<id>apache-release</id>
 		<build>
 			<plugins>
+				<plugin>
+					<artifactId>maven-javadoc-plugin</artifactId>
+					<version>${javadoc.plugin.version}</version>
+					<configuration>
+						<doclint>none</doclint>
+						<source>${java.version}</source>
+						<sourcepath>src/main/java</sourcepath>
+					</configuration>
+					<executions>
+						<execution>
+							<id>create-javadoc-jar</id>
+							<goals>
+								<goal>jar</goal>
+							</goals>
+							<phase>package</phase>
+							<configuration>
+								<show>public</show>
+								<quiet>false</quiet>
+								<use>false</use> <!-- Speeds up the build of the javadocs -->
+							</configuration>
+						</execution>
+					</executions>
+				</plugin>
 				<plugin>
 					<groupId>org.apache.rat</groupId>
 					<artifactId>apache-rat-plugin</artifactId>