You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Split jpms modules into independet artifacts instead of classifier based solution
The jna-platform artifact depends on jna - this leads to problems when
the JPMS artifacts are used, as the pom.xml for the classifier based
artifacts are identical to the base artifacts. This leads to
<dependency>
<groupId>net.java.dev.jna</groupId>
<artifactId>jna-platform</artifactId>
<version>5.7.0</version>
<classifier>jpms</classifier>
</dependency>
depending on
<dependency>
<groupId>net.java.dev.jna</groupId>
<artifactId>jna</artifactId>
<version>5.7.0</version>
</dependency>
so the jna-platform JPMS artifacts pulls in the non-JPMS jna artifact.
To solve this, both artifacts are moved into their own groupId. So
<dependency>
<groupId>net.java.dev.jna</groupId>
<artifactId>jna-platform</artifactId>
<version>5.8.0</version>
<classifier>jpms</classifier>
</dependency>
becomes
<dependency>
<groupId>net.java.dev.jna.jpms</groupId>
<artifactId>jna-platform</artifactId>
<version>5.8.0</version>
</dependency>
Copy file name to clipboardExpand all lines: CHANGES.md
+9-1
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,15 @@ Features
10
10
11
11
Bug Fixes
12
12
---------
13
-
13
+
*[#1317](https://github.com/java-native-access/jna/pull/1317): Change the maven coordinates of the JPMS artifacts from classifier `jpms` to custom group id `net.java.dev.jna.jpms` - [@matthiasblaesing](https://github.com/matthiasblaesing).
14
+
15
+
Important Changes
16
+
-----------------
17
+
* The maven coordinates of the experimental JPMS (java module system) artifacts
18
+
were moved from using the classifier `jpms` to their own group id
19
+
`net.java.dev.jna.jpms`, without an classifier. The reason for this is, that
20
+
the platform artifacts depend on the jna artifacts and need to pull in the
21
+
right variant. This is not possible if the classifier is used.
0 commit comments