1 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
---|
2 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
---|
3 | <modelVersion>4.0.0</modelVersion>
|
---|
4 | <parent>
|
---|
5 | <groupId>org.openstreetmap.josm.plugins</groupId>
|
---|
6 | <artifactId>lwjgl-parent</artifactId>
|
---|
7 | <version>SNAPSHOT</version>
|
---|
8 | <relativePath>pom.xml</relativePath>
|
---|
9 | </parent>
|
---|
10 | <artifactId>lwjgl-osx</artifactId>
|
---|
11 |
|
---|
12 | <properties>
|
---|
13 | <plugin.provides>lwjgl-natives</plugin.provides>
|
---|
14 | <plugin.platform>Osx</plugin.platform>
|
---|
15 | <plugin.description>Provides LWJGL natives for Osx</plugin.description>
|
---|
16 | </properties>
|
---|
17 |
|
---|
18 | <dependencies>
|
---|
19 | <dependency>
|
---|
20 | <!-- The actual dependency is reversed, but this is so the maven-shade-plugin doesn't duplicate classes -->
|
---|
21 | <groupId>org.openstreetmap.josm.plugins</groupId>
|
---|
22 | <artifactId>lwjgl</artifactId>
|
---|
23 | <version>SNAPSHOT</version>
|
---|
24 | <scope>provided</scope>
|
---|
25 | </dependency>
|
---|
26 | <dependency>
|
---|
27 | <groupId>org.lwjgl</groupId>
|
---|
28 | <artifactId>lwjgl</artifactId>
|
---|
29 | <classifier>natives-macos</classifier>
|
---|
30 | </dependency>
|
---|
31 | <dependency>
|
---|
32 | <groupId>org.lwjgl</groupId>
|
---|
33 | <artifactId>lwjgl</artifactId>
|
---|
34 | <classifier>natives-macos-arm64</classifier>
|
---|
35 | </dependency>
|
---|
36 | <dependency>
|
---|
37 | <groupId>org.lwjgl</groupId>
|
---|
38 | <artifactId>lwjgl-assimp</artifactId>
|
---|
39 | <classifier>natives-macos</classifier>
|
---|
40 | </dependency>
|
---|
41 | <dependency>
|
---|
42 | <groupId>org.lwjgl</groupId>
|
---|
43 | <artifactId>lwjgl-assimp</artifactId>
|
---|
44 | <classifier>natives-macos-arm64</classifier>
|
---|
45 | </dependency>
|
---|
46 | <dependency>
|
---|
47 | <groupId>org.lwjgl</groupId>
|
---|
48 | <artifactId>lwjgl-opengl</artifactId>
|
---|
49 | <classifier>natives-macos</classifier>
|
---|
50 | </dependency>
|
---|
51 | <dependency>
|
---|
52 | <groupId>org.lwjgl</groupId>
|
---|
53 | <artifactId>lwjgl-opengl</artifactId>
|
---|
54 | <classifier>natives-macos-arm64</classifier>
|
---|
55 | </dependency>
|
---|
56 | <dependency>
|
---|
57 | <groupId>org.lwjgl</groupId>
|
---|
58 | <artifactId>lwjgl-opengles</artifactId>
|
---|
59 | <classifier>natives-macos</classifier>
|
---|
60 | </dependency>
|
---|
61 | <dependency>
|
---|
62 | <groupId>org.lwjgl</groupId>
|
---|
63 | <artifactId>lwjgl-opengles</artifactId>
|
---|
64 | <classifier>natives-macos-arm64</classifier>
|
---|
65 | </dependency>
|
---|
66 | <dependency>
|
---|
67 | <groupId>org.lwjgl</groupId>
|
---|
68 | <artifactId>lwjgl-par</artifactId>
|
---|
69 | <classifier>natives-macos</classifier>
|
---|
70 | </dependency>
|
---|
71 | <dependency>
|
---|
72 | <groupId>org.lwjgl</groupId>
|
---|
73 | <artifactId>lwjgl-par</artifactId>
|
---|
74 | <classifier>natives-macos-arm64</classifier>
|
---|
75 | </dependency>
|
---|
76 | <dependency>
|
---|
77 | <groupId>org.lwjgl</groupId>
|
---|
78 | <artifactId>lwjgl-stb</artifactId>
|
---|
79 | <classifier>natives-macos</classifier>
|
---|
80 | </dependency>
|
---|
81 | <dependency>
|
---|
82 | <groupId>org.lwjgl</groupId>
|
---|
83 | <artifactId>lwjgl-stb</artifactId>
|
---|
84 | <classifier>natives-macos-arm64</classifier>
|
---|
85 | </dependency>
|
---|
86 | <!-- These natives are for the moltonvk translation layer -->
|
---|
87 | <dependency>
|
---|
88 | <groupId>org.lwjgl</groupId>
|
---|
89 | <artifactId>lwjgl-vulkan</artifactId>
|
---|
90 | <classifier>natives-macos</classifier>
|
---|
91 | </dependency>
|
---|
92 | <dependency>
|
---|
93 | <groupId>org.lwjgl</groupId>
|
---|
94 | <artifactId>lwjgl-vulkan</artifactId>
|
---|
95 | <classifier>natives-macos-arm64</classifier>
|
---|
96 | </dependency>
|
---|
97 | </dependencies>
|
---|
98 | <build>
|
---|
99 | <plugins>
|
---|
100 | <plugin>
|
---|
101 | <groupId>org.apache.maven.plugins</groupId>
|
---|
102 | <artifactId>maven-shade-plugin</artifactId>
|
---|
103 | <executions>
|
---|
104 | <execution>
|
---|
105 | <phase>package</phase>
|
---|
106 | <goals>
|
---|
107 | <goal>shade</goal>
|
---|
108 | </goals>
|
---|
109 | <configuration>
|
---|
110 | <artifactSet>
|
---|
111 | <includes>
|
---|
112 | <include>*:*:*:natives-macos</include>
|
---|
113 | <include>*:*:*:natives-macos-arm64</include>
|
---|
114 | </includes>
|
---|
115 | </artifactSet>
|
---|
116 | <outputDirectory>${plugin.dist.dir}</outputDirectory>
|
---|
117 | <finalName>${project.name}</finalName>
|
---|
118 | </configuration>
|
---|
119 | </execution>
|
---|
120 | </executions>
|
---|
121 | </plugin>
|
---|
122 | <plugin>
|
---|
123 | <groupId>org.apache.maven.plugins</groupId>
|
---|
124 | <artifactId>maven-jar-plugin</artifactId>
|
---|
125 | <configuration>
|
---|
126 | <archive>
|
---|
127 | <manifestEntries>
|
---|
128 | <Plugin-Platform>${plugin.platform}</Plugin-Platform>
|
---|
129 | <Plugin-Provides>${plugin.provides}</Plugin-Provides>
|
---|
130 | </manifestEntries>
|
---|
131 | </archive>
|
---|
132 | </configuration>
|
---|
133 | </plugin>
|
---|
134 | </plugins>
|
---|
135 | </build>
|
---|
136 | </project>
|
---|