-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split jpms modules into independet artifacts instead of classifier ba…
…sed 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, the JPMS artifacts are moved to custom artifact ids. 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</groupId> <artifactId>jna-platform-jpms</artifactId> <version>5.8.0</version> </dependency>
- Loading branch information
1 parent
be5eec5
commit b797901
Showing
5 changed files
with
203 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 | ||
http://maven.apache.org/maven-v4_0_0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<groupId>net.java.dev.jna</groupId> | ||
<artifactId>jna-jpms</artifactId> | ||
<version>TEMPLATE</version> | ||
<packaging>jar</packaging> | ||
|
||
<name>Java Native Access</name> | ||
<description>Java Native Access</description> | ||
<url>https://github.com/java-native-access/jna</url> | ||
|
||
<licenses> | ||
<license> | ||
<name>LGPL, version 2.1</name> | ||
<url>http://www.gnu.org/licenses/licenses.html</url> | ||
<distribution>repo</distribution> | ||
</license> | ||
<license> | ||
<name>Apache License v2.0</name> | ||
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> | ||
<distribution>repo</distribution> | ||
</license> | ||
</licenses> | ||
|
||
<scm> | ||
<connection>scm:git:https://github.com/java-native-access/jna</connection> | ||
<developerConnection>scm:git:ssh://[email protected]/java-native-access/jna.git</developerConnection> | ||
<url>https://github.com/java-native-access/jna</url> | ||
</scm> | ||
|
||
<developers> | ||
<developer> | ||
<id>twall</id> | ||
<name>Timothy Wall</name> | ||
<roles> | ||
<role>Owner</role> | ||
</roles> | ||
</developer> | ||
<developer> | ||
<email>[email protected]</email> | ||
<name>Matthias Bläsing</name> | ||
<url>https://github.com/matthiasblaesing/</url> | ||
<roles> | ||
<role>Developer</role> | ||
</roles> | ||
</developer> | ||
</developers> | ||
|
||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 | ||
http://maven.apache.org/maven-v4_0_0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<groupId>net.java.dev.jna</groupId> | ||
<artifactId>jna-platform-jpms</artifactId> | ||
<version>TEMPLATE</version> | ||
<packaging>jar</packaging> | ||
|
||
<name>Java Native Access Platform</name> | ||
<description>Java Native Access Platform</description> | ||
<url>https://github.com/java-native-access/jna</url> | ||
|
||
<licenses> | ||
<license> | ||
<name>LGPL, version 2.1</name> | ||
<url>http://www.gnu.org/licenses/licenses.html</url> | ||
<distribution>repo</distribution> | ||
</license> | ||
<license> | ||
<name>Apache License v2.0</name> | ||
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> | ||
<distribution>repo</distribution> | ||
</license> | ||
</licenses> | ||
|
||
<scm> | ||
<connection>scm:git:https://github.com/java-native-access/jna</connection> | ||
<developerConnection>scm:git:ssh://[email protected]/java-native-access/jna.git</developerConnection> | ||
<url>https://github.com/java-native-access/jna</url> | ||
</scm> | ||
|
||
<developers> | ||
<developer> | ||
<id>twall</id> | ||
<name>Timothy Wall</name> | ||
<roles> | ||
<role>Owner</role> | ||
</roles> | ||
</developer> | ||
<developer> | ||
<email>[email protected]</email> | ||
<name>Matthias Bläsing</name> | ||
<url>https://github.com/matthiasblaesing/</url> | ||
<roles> | ||
<role>Developer</role> | ||
</roles> | ||
</developer> | ||
</developers> | ||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>net.java.dev.jna</groupId> | ||
<artifactId>jna-jpms</artifactId> | ||
<version>TEMPLATE</version> | ||
</dependency> | ||
</dependencies> | ||
|
||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters