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

asf-gitbox-commits pushed a commit to branch 2.1.X
in repository https://gitbox.apache.org/repos/asf/mina.git


The following commit(s) were added to refs/heads/2.1.X by this push:
     new 0dc34db9c Fox for DIRMINA-1192 & DIRMINA-1193
0dc34db9c is described below

commit 0dc34db9ca6773f6db754ed6c2760434b2e764aa
Author: emmanuel lecharny <[email protected]>
AuthorDate: Sat Apr 25 08:09:04 2026 +0200

    Fox for DIRMINA-1192 & DIRMINA-1193
---
 pom.xml | 67 +++++++++++++++++++++++++++++++++++------------------------------
 1 file changed, 36 insertions(+), 31 deletions(-)

diff --git a/pom.xml b/pom.xml
index 447c68c46..b069106a9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -94,7 +94,8 @@
     <!-- additionalparam>-Xdoclint:none</additionalparam -->
 
     <!-- Maven Plugins -->
-    <version.apache.rat.plugin>0.16.1</version.apache.rat.plugin>
+    <!-- NOTE: do not use 0.18, which requires java 17 -->
+    <version.apache.rat.plugin>0.18</version.apache.rat.plugin>
     <version.api.plugin>3.9.4</version.api.plugin>
     <version.assembly.plugin>3.7.1</version.assembly.plugin>
     <version.build.helper.plugin>3.6.0</version.build.helper.plugin>
@@ -646,36 +647,6 @@
           <version>${version.tools.maven.plugin}</version>
         </plugin>
 
-        <plugin>
-          <groupId>org.apache.rat</groupId>
-          <artifactId>apache-rat-plugin</artifactId>
-          <version>${version.apache.rat.plugin}</version>
-          <inherited>true</inherited>
-          <configuration>
-            <excludeSubProjects>false</excludeSubProjects>
-            <excludes>
-              <!-- project excludes -->
-              <exclude>**/resources/svn_ignore.txt</exclude>
-              <exclude>**/resources/Reveal in Finder.launch</exclude>
-              <exclude>**/target/**</exclude>
-              <exclude>**/.classpath</exclude>
-              <exclude>**/.project</exclude>
-              <exclude>**/.settings/**</exclude>
-              <exclude>**/LICENSE.*</exclude>
-              <exclude>**/NOTICE-bin.txt</exclude>
-              <exclude>**/resources/**</exclude>
-            </excludes>
-          </configuration>
-          <executions>
-            <execution>
-              <phase>verify</phase>
-              <goals>
-                <goal>check</goal>
-              </goals>
-            </execution>
-          </executions>
-        </plugin>
-
         <plugin>
           <groupId>org.apache.xbean</groupId>
           <artifactId>maven-xbean-plugin</artifactId>
@@ -841,6 +812,7 @@
         <extensions>true</extensions>
         <configuration>
           <instructions>
+            
<Automatic-Module-Name>$(maven-symbolicname)</Automatic-Module-Name>
             <Bundle-SymbolicName>${symbolicName}</Bundle-SymbolicName>
             
<Export-Package>${exportedPackage}.*;version=${project.version}</Export-Package>
           </instructions>
@@ -871,6 +843,39 @@
         <groupId>org.cyclonedx</groupId>
         <artifactId>cyclonedx-maven-plugin</artifactId>
       </plugin>     
+
+
+      <plugin>
+        <groupId>org.apache.rat</groupId>
+        <artifactId>apache-rat-plugin</artifactId>
+        <version>${version.apache.rat.plugin}</version>
+        <inherited>true</inherited>
+
+        <configuration>
+          <excludeSubProjects>false</excludeSubProjects>
+          <inputExcludes>
+            <!-- project excludes -->
+            <inputExclude>**/resources/Reveal in Finder.launch</inputExclude>
+            <inputExclude>**/target/**</inputExclude>
+            <inputExclude>**/.classpath</inputExclude>
+            <inputExclude>**/.project</inputExclude>
+            <inputExclude>**/.settings/**</inputExclude>
+            <inputExclude>**/LICENSE.*</inputExclude>
+            <inputExclude>**/NOTICE-bin.txt</inputExclude>
+            <inputExclude>**/MANIFEST.MF</inputExclude>
+            <inputExclude>**/resources/**</inputExclude>
+          </inputExcludes>
+        </configuration>
+
+        <executions>
+          <execution>
+            <phase>verify</phase>
+            <goals>
+              <goal>check</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
     </plugins>
   </build>
 

Reply via email to