|
30 | 30 | <version>${project.version}</version> |
31 | 31 | </dependency> |
32 | 32 |
|
33 | | - <!-- The org.eclipse.platform::org.eclipse.swt artifact is only an empty |
34 | | - hull for SWT (the jar does not contain any class-files). The actual class |
35 | | - files are contained in platform-specific artifacts. This is due to the design |
36 | | - of the SWT project with one org.eclipse.swt Eclipse plug-in and multiple |
37 | | - fragments one for each platform containing the native code/adjustments. In |
38 | | - order to get the jar for a certain platform a dependency for the artifact |
39 | | - for that platform must be declared. In order to not declare a compile time |
40 | | - dependency to all specific platforms referenced below the dependencies are |
41 | | - marked as optional and are therefore only present when developing jzy3d. |
42 | | - It is assumed that the platforms chosen below are the main dev-platforms. --> |
43 | | - <dependency> |
44 | | - <groupId>org.eclipse.platform</groupId> |
45 | | - <artifactId>org.eclipse.swt</artifactId> |
46 | | - </dependency> |
47 | | - |
48 | | - <dependency> |
49 | | - <groupId>org.eclipse.platform</groupId> |
50 | | - <artifactId>org.eclipse.jface</artifactId> |
51 | | - </dependency> |
52 | 33 |
|
53 | 34 | </dependencies> |
54 | | - |
55 | | - <profiles> |
56 | | - <!-- https://maven.apache.org/guides/introduction/introduction-to-profiles.html |
57 | | - https://stackoverflow.com/questions/19023109/values-for-os-family-in-maven-profile-activation-condition --> |
58 | | - |
59 | | - <profile> |
60 | | - <id>MacOS x86_64</id> |
61 | | - <activation> |
62 | | - <os> |
63 | | - <family>mac</family> |
64 | | - <arch>x86_64</arch> |
65 | | - </os> |
66 | | - </activation> |
67 | | - <dependencies> |
68 | | - <dependency> |
69 | | - <groupId>org.eclipse.platform</groupId> |
70 | | - <artifactId>org.eclipse.swt.cocoa.macosx.x86_64</artifactId> |
71 | | - </dependency> |
72 | | - </dependencies> |
73 | | - </profile> |
74 | | - |
75 | | - <profile> |
76 | | - <id>MacOS Aarch64</id> |
77 | | - <activation> |
78 | | - <os> |
79 | | - <family>mac</family> |
80 | | - <arch>aarch64</arch> |
81 | | - </os> |
82 | | - </activation> |
83 | | - <dependencies> |
84 | | - <dependency> |
85 | | - <groupId>org.eclipse.platform</groupId> |
86 | | - <artifactId>org.eclipse.swt.cocoa.macosx.aarch64</artifactId> |
87 | | - </dependency> |
88 | | - </dependencies> |
89 | | - </profile> |
90 | | - |
91 | | - <profile> |
92 | | - <id>Windows</id> |
93 | | - <activation> |
94 | | - <os> |
95 | | - <family>Windows</family> |
96 | | - <!-- <name>Windows XP</name> <arch>x86</arch> <version>5.1.2600</version> --> |
97 | | - </os> |
98 | | - </activation> |
99 | | - <dependencies> |
100 | | - <dependency> |
101 | | - <groupId>org.eclipse.platform</groupId> |
102 | | - <artifactId>org.eclipse.swt.win32.win32.x86_64</artifactId> |
103 | | - </dependency> |
104 | | - </dependencies> |
105 | | - </profile> |
106 | | - |
107 | | - <profile> |
108 | | - <id>Unix</id> |
109 | | - <activation> |
110 | | - <os> |
111 | | - <family>unix</family> |
112 | | - </os> |
113 | | - </activation> |
114 | | - <dependencies> |
115 | | - <dependency> |
116 | | - <groupId>org.eclipse.platform</groupId> |
117 | | - <artifactId>org.eclipse.swt.gtk.linux.x86_64</artifactId> |
118 | | - </dependency> |
119 | | - </dependencies> |
120 | | - </profile> |
121 | | - </profiles> |
122 | | - |
123 | | - |
124 | 35 | </project> |
0 commit comments