|
5 | 5 | <modelVersion>4.0.0</modelVersion>
|
6 | 6 | <groupId>org.cryptomator</groupId>
|
7 | 7 | <artifactId>integrations-mac</artifactId>
|
8 |
| - <version>1.3.1</version> |
| 8 | + <version>1.3.2</version> |
9 | 9 |
|
10 | 10 | <name>Cryptomator Integrations for macOS</name>
|
11 | 11 | <description>Provides optional macOS services used by Cryptomator</description>
|
|
36 | 36 | <slf4j.version>2.0.17</slf4j.version>
|
37 | 37 |
|
38 | 38 | <!-- test dependencies -->
|
39 |
| - <junit.jupiter.version>5.12.0</junit.jupiter.version> |
40 |
| - <mockito.version>5.15.2</mockito.version> |
| 39 | + <junit.jupiter.version>5.12.1</junit.jupiter.version> |
| 40 | + <mockito.version>5.16.1</mockito.version> |
41 | 41 |
|
42 | 42 | <!-- build plugin dependencies -->
|
43 | 43 | <dependency-check.version>12.1.0</dependency-check.version>
|
|
150 | 150 | <version>3.5.0</version>
|
151 | 151 | <executions>
|
152 | 152 | <execution>
|
| 153 | + <id>xcode-build-intel</id> |
153 | 154 | <goals>
|
154 | 155 | <goal>exec</goal>
|
155 | 156 | </goals>
|
|
164 | 165 | <argument>Integrations</argument>
|
165 | 166 | <argument>-configuration</argument>
|
166 | 167 | <argument>Release</argument>
|
| 168 | + <argument>-arch</argument> |
| 169 | + <argument>x86_64</argument> |
167 | 170 | <argument>-archivePath</argument>
|
168 |
| - <argument>${project.build.directory}/integrations.xcarchive</argument> |
| 171 | + <argument>${project.build.directory}/integrations-x86_64.xcarchive</argument> |
169 | 172 | <argument>-quiet</argument>
|
170 | 173 | <argument>clean</argument>
|
171 | 174 | <argument>archive</argument>
|
172 | 175 | <argument>JAVA_HOME="${java.home}"</argument>
|
173 | 176 | </arguments>
|
174 | 177 | </configuration>
|
175 | 178 | </execution>
|
| 179 | + <execution> |
| 180 | + <id>xcode-build-arm</id> |
| 181 | + <goals> |
| 182 | + <goal>exec</goal> |
| 183 | + </goals> |
| 184 | + <phase>compile</phase> |
| 185 | + <configuration> |
| 186 | + <executable>xcodebuild</executable> |
| 187 | + <workingDirectory>${project.basedir}/src/main/native</workingDirectory> |
| 188 | + <arguments> |
| 189 | + <argument>-project</argument> |
| 190 | + <argument>Integrations.xcodeproj</argument> |
| 191 | + <argument>-scheme</argument> |
| 192 | + <argument>Integrations</argument> |
| 193 | + <argument>-configuration</argument> |
| 194 | + <argument>Release</argument> |
| 195 | + <argument>-arch</argument> |
| 196 | + <argument>arm64</argument> |
| 197 | + <argument>-archivePath</argument> |
| 198 | + <argument>${project.build.directory}/integrations-arm64.xcarchive</argument> |
| 199 | + <argument>-quiet</argument> |
| 200 | + <argument>clean</argument> |
| 201 | + <argument>archive</argument> |
| 202 | + <argument>JAVA_HOME="${java.home}"</argument> |
| 203 | + </arguments> |
| 204 | + </configuration> |
| 205 | + </execution> |
| 206 | + <execution> |
| 207 | + <id>build-universal-binary</id> |
| 208 | + <goals> |
| 209 | + <goal>exec</goal> |
| 210 | + </goals> |
| 211 | + <phase>compile</phase> |
| 212 | + <configuration> |
| 213 | + <executable>lipo</executable> |
| 214 | + <workingDirectory>${project.build.directory}</workingDirectory> |
| 215 | + <arguments> |
| 216 | + <argument>-create</argument> |
| 217 | + <argument>integrations-x86_64.xcarchive/Products/usr/local/lib/libIntegrations.dylib</argument> |
| 218 | + <argument>integrations-arm64.xcarchive/Products/usr/local/lib/libIntegrations.dylib</argument> |
| 219 | + <argument>-output</argument> |
| 220 | + <argument>libIntegrations.dylib</argument> |
| 221 | + </arguments> |
| 222 | + </configuration> |
| 223 | + </execution> |
176 | 224 | </executions>
|
177 | 225 | </plugin>
|
178 | 226 | <plugin>
|
|
188 | 236 | <outputDirectory>${project.build.directory}/classes</outputDirectory>
|
189 | 237 | <resources>
|
190 | 238 | <resource>
|
191 |
| - <directory>${project.build.directory}/integrations.xcarchive/Products/usr/local/lib</directory> |
| 239 | + <directory>${project.build.directory}</directory> |
192 | 240 | <includes>
|
193 |
| - <include>*.dylib</include> |
| 241 | + <include>libIntegrations.dylib</include> |
194 | 242 | </includes>
|
195 | 243 | </resource>
|
196 | 244 | </resources>
|
|
201 | 249 | <plugin>
|
202 | 250 | <groupId>org.apache.maven.plugins</groupId>
|
203 | 251 | <artifactId>maven-surefire-plugin</artifactId>
|
204 |
| - <version>3.5.2</version> |
| 252 | + <version>3.5.3</version> |
205 | 253 | </plugin>
|
206 | 254 | <plugin>
|
207 | 255 | <artifactId>maven-source-plugin</artifactId>
|
|
0 commit comments