You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by gn...@apache.org on 2022/12/15 20:46:07 UTC
[maven-mvnd] 01/02: Fix the common jar not being built with the multi-release flag
This is an automated email from the ASF dual-hosted git repository.
gnodet pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-mvnd.git
commit adbf836768c6eb04cc571b3df967228f911170a5
Author: Guillaume Nodet <gn...@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 0e56e6f6..fa4199d0 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>