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

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-parent.git


The following commit(s) were added to refs/heads/master by this push:
     new 09ee383  Fix the benchmark profile to generate 
`test-classes/META-INF/BenchmarkList`
09ee383 is described below

commit 09ee3838ca82db3fee1a507ebf44e2b622b4252b
Author: Gary Gregory <[email protected]>
AuthorDate: Sat Dec 6 08:46:40 2025 -0500

    Fix the benchmark profile to generate
    `test-classes/META-INF/BenchmarkList`
---
 pom.xml                 | 11 +++++++++++
 src/changes/changes.xml |  1 +
 2 files changed, 12 insertions(+)

diff --git a/pom.xml b/pom.xml
index deba68e..d63423c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1802,6 +1802,17 @@
       </properties>
       <build>
         <plugins>
+          <!-- Enable the compilation of the benchmark; generates 
`test-classes/META-INF/BenchmarkList` -->
+          <plugin>
+            <artifactId>maven-compiler-plugin</artifactId>
+            <version>${commons.compiler.version}</version>
+            <configuration combine.self="override">
+              <testIncludes>
+                <testInclude>**/*</testInclude>
+              </testIncludes>
+            </configuration>
+          </plugin>
+          <!-- Hook the benchmarks to the test phase -->
           <plugin>
             <groupId>org.codehaus.mojo</groupId>
             <artifactId>exec-maven-plugin</artifactId>
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index b9b6463..8f59ebe 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -59,6 +59,7 @@ The <action> type attribute can be add,update,fix,remove.
     <body>
       <release version="94" date="YYYY-MM-DD" description="This is a feature 
and maintenance release. Java 8 or later is required.">
         <!-- FIX -->
+        <action type="fix" dev="ggregory" due-to="Gary Gregory">Fix the 
benchmark profile to generate `test-classes/META-INF/BenchmarkList`.</action>
         <!-- ADD -->
         <!-- UPDATE -->
         <action type="update" dev="ggregory" due-to="Gary Gregory">Bump 
minimalMavenBuildVersion from 3.6.3 to 3.8.1.</action>

Reply via email to