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

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

commit ce36b401c14f2bd8cf67bdd3dd20d66e48d776e4
Author: Richard Zowalla <[email protected]>
AuthorDate: Tue Apr 28 10:50:48 2026 +0200

    Remove module on active profile as it confuses maven release plugin.
---
 opennlp-eval-tests/pom.xml | 33 ++++++++++++++++++++++++---------
 pom.xml                    | 21 ++-------------------
 2 files changed, 26 insertions(+), 28 deletions(-)

diff --git a/opennlp-eval-tests/pom.xml b/opennlp-eval-tests/pom.xml
index 89abb748..9a0b2d7f 100644
--- a/opennlp-eval-tests/pom.xml
+++ b/opennlp-eval-tests/pom.xml
@@ -95,17 +95,9 @@
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-surefire-plugin</artifactId>
         <configuration>
-          <argLine>-Xmx4g</argLine>
-          <forkCount>${opennlp.forkCount}</forkCount>
-          <failIfNoSpecifiedTests>false</failIfNoSpecifiedTests>
-          <includes>
-            <include>**/*Eval.java</include>
-          </includes>
-          <excludedGroups>opennlp.tools.HighMemoryUsage</excludedGroups>
+          <skip>true</skip>
         </configuration>
       </plugin>
-
-      <!-- No javadoc or source jars needed for test-only module -->
       <plugin>
         <artifactId>maven-javadoc-plugin</artifactId>
         <configuration>
@@ -129,6 +121,29 @@
   </build>
 
   <profiles>
+    <profile>
+      <id>eval-tests</id>
+      <properties>
+        <opennlp.forkCount>0.5C</opennlp.forkCount>
+      </properties>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-surefire-plugin</artifactId>
+            <configuration>
+              <argLine>-Xmx4g</argLine>
+              <forkCount>${opennlp.forkCount}</forkCount>
+              <failIfNoSpecifiedTests>false</failIfNoSpecifiedTests>
+              <includes>
+                <include>**/*Eval.java</include>
+              </includes>
+              <excludedGroups>opennlp.tools.HighMemoryUsage</excludedGroups>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
     <profile>
       <id>high-memory-tests</id>
       <build>
diff --git a/pom.xml b/pom.xml
index 8ad316ff..1dfee1f7 100644
--- a/pom.xml
+++ b/pom.xml
@@ -270,9 +270,8 @@
                                        <configuration>
                                                
<useReleaseProfile>false</useReleaseProfile>
                                                <goals>deploy</goals>
-                                               <arguments>-Papache-release 
-Peval-tests -DskipTests</arguments>
+                                               <arguments>-Papache-release 
-DskipTests</arguments>
                                                
<mavenExecutorId>forked-path</mavenExecutorId>
-                                               
<preparationProfiles>eval-tests</preparationProfiles>
                                        </configuration>
                                </plugin>
 
@@ -687,23 +686,6 @@
                                
<opennlp.model.v15.base.url>https://nightlies.apache.org/opennlp/models-1.5/</opennlp.model.v15.base.url>
                        </properties>
                </profile>
-
-               <profile>
-                       <id>eval-tests</id>
-                       <properties>
-                               <opennlp.forkCount>0.5C</opennlp.forkCount>
-                       </properties>
-                       <modules>
-                               <module>opennlp-eval-tests</module>
-                       </modules>
-               </profile>
-
-               <profile>
-                       <id>high-memory-tests</id>
-                       <modules>
-                               <module>opennlp-eval-tests</module>
-                       </modules>
-               </profile>
        </profiles>
 
        <modules>
@@ -713,6 +695,7 @@
                <module>opennlp-docs</module>
                <module>opennlp-extensions</module>
                <module>opennlp-tools</module>
+               <module>opennlp-eval-tests</module>
        </modules>
 
 </project>

Reply via email to