-
Notifications
You must be signed in to change notification settings - Fork 1
/
pom.xml
110 lines (106 loc) · 3.67 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
<?xml version="1.0" encoding="UTF-8"?>
<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>
<parent>
<groupId>com.github.mrcsabatoth</groupId>
<artifactId>cardgame0</artifactId>
<version>1.0-SNAPSHOT</version>
</parent>
<artifactId>cardgame0-ios</artifactId>
<packaging>dll</packaging>
<name>CardGame iOS</name>
<dependencies>
<dependency>
<groupId>com.github.mrcsabatoth</groupId>
<artifactId>cardgame0-core</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.googlecode.playn</groupId>
<artifactId>playn-ios</artifactId>
<version>${playn.version}</version>
</dependency>
</dependencies>
<build>
<!-- use bin as that's where MonoDevelop puts its build bits -->
<directory>bin</directory>
<!-- omit the version from the dll name so it doesn't change with releases -->
<finalName>${project.artifactId}</finalName>
<plugins>
<plugin>
<groupId>com.pyx4j</groupId>
<artifactId>maven-junction-plugin</artifactId>
<version>1.0.3</version>
<executions>
<execution>
<phase>generate-sources</phase>
<goals>
<goal>link</goal>
</goals>
</execution>
</executions>
<!-- generate a symlink to our assets directory in the proper location -->
<configuration>
<links>
<link>
<src>${basedir}/../assets/src/main/resources/assets</src>
<dst>${basedir}/assets</dst>
</link>
</links>
</configuration>
</plugin>
<plugin>
<groupId>com.samskivert</groupId>
<artifactId>ikvm-maven-plugin</artifactId>
<version>1.1.4</version>
<!-- this lets Maven know that we define 'packaging: dll' -->
<extensions>true</extensions>
<configuration>
<ikvmArgs>
<ikvmArg>-debug</ikvmArg>
</ikvmArgs>
<createStub>true</createStub>
<dlls>
<dll>OpenTK-1.0.dll</dll>
<dll>monotouch.dll</dll>
<dll>System.Data.dll</dll>
<dll>Mono.Data.Sqlite.dll</dll>
</dlls>
<copyDlls>
<copyDll>bin/IKVM.Runtime.dll</copyDll>
<copyDll>bin/IKVM.Runtime.JNI.dll</copyDll>
<copyDll>bin/IKVM.OpenJDK.Core.dll</copyDll>
<copyDll>bin/IKVM.OpenJDK.Util.dll</copyDll>
<copyDll>bin/IKVM.OpenJDK.Text.dll</copyDll>
</copyDlls>
</configuration>
</plugin>
<plugin>
<groupId>com.samskivert</groupId>
<artifactId>monotouch-maven-plugin</artifactId>
<version>1.1</version>
<configuration>
<solution>cardgame0.sln</solution>
<!-- uncomment this and configure path to use ios-sim -->
<!-- <iossimPath>/usr/local/bin/ios-sim</iossimPath> -->
</configuration>
<executions>
<!-- compile and deploy to simulator with 'mvn integration-test -Pios' -->
<execution>
<id>deploy-sim</id>
<phase>integration-test</phase>
<goals><goal>deploy-sim</goal></goals>
</execution>
<!-- compile and deploy to device with 'mvn install -Pios' -->
<execution>
<id>deploy-device</id>
<phase>install</phase>
<goals><goal>deploy-device</goal></goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>