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

gnodet pushed a commit to branch mvnd-0.9.x
in repository https://gitbox.apache.org/repos/asf/maven-mvnd.git

commit 740f91409875e04b950bf3e4078f0a8d59f80cb6
Author: Guillaume Nodet <gno...@gmail.com>
AuthorDate: Wed Dec 14 17:28:28 2022 +0100

    Fix the common jar not being built with the multi-release flag
---
 common/pom.xml | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/common/pom.xml b/common/pom.xml
index 2aaf4a14..e5f252a6 100644
--- a/common/pom.xml
+++ b/common/pom.xml
@@ -73,6 +73,17 @@
           </execution>
         </executions>
       </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-jar-plugin</artifactId>
+        <configuration>
+          <archive>
+            <manifestEntries>
+              <Multi-Release>true</Multi-Release>
+            </manifestEntries>
+          </archive>
+        </configuration>
+      </plugin>
     </plugins>
   </build>
 
@@ -118,17 +129,6 @@
               </execution>
             </executions>
           </plugin>
-          <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-jar-plugin</artifactId>
-            <configuration>
-              <archive>
-                <manifestEntries>
-                  <Multi-Release>true</Multi-Release>
-                </manifestEntries>
-              </archive>
-            </configuration>
-          </plugin>
         </plugins>
       </build>
     </profile>

Reply via email to