pom.xml 2.4 KB
Newer Older
1
<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/xsd/maven-4.0.0.xsd">
Matija Obreza's avatar
Matija Obreza committed
2
3
	<modelVersion>4.0.0</modelVersion>
	<parent>
Matija Obreza's avatar
Matija Obreza committed
4
		<groupId>org.genesys-pgr</groupId>
Matija Obreza's avatar
Matija Obreza committed
5
		<artifactId>anno</artifactId>
6
		<version>1.1-SNAPSHOT</version>
Matija Obreza's avatar
Matija Obreza committed
7
8
9
	</parent>
	<artifactId>anno-gui-macosx</artifactId>
	<name>Anno for MacOSX</name>
Andrey Lugovskiy's avatar
Andrey Lugovskiy committed
10

Matija Obreza's avatar
Matija Obreza committed
11
12
	<dependencies>
		<dependency>
Matija Obreza's avatar
Matija Obreza committed
13
			<groupId>org.genesys-pgr</groupId>
Matija Obreza's avatar
Matija Obreza committed
14
			<artifactId>anno-gui</artifactId>
15
			<version>1.1-SNAPSHOT</version>
Matija Obreza's avatar
Matija Obreza committed
16
17
		</dependency>
		<dependency>
Matija Obreza's avatar
Bulk    
Matija Obreza committed
18
			<groupId>org.eclipse.swt</groupId>
Matija Obreza's avatar
Matija Obreza committed
19
			<artifactId>org.eclipse.swt.cocoa.macosx.x86_64</artifactId>
Andrey Lugovskiy's avatar
Andrey Lugovskiy committed
20
			<version>4.3</version>
Matija Obreza's avatar
Matija Obreza committed
21
22
23
24
25
26
27
28
29
30
31
32
33
34
		</dependency>
	</dependencies>

	<build>
		<plugins>
			<plugin>
				<artifactId>maven-compiler-plugin</artifactId>
				<version>3.1</version>
				<configuration>
					<source>1.6</source>
					<target>1.6</target>
				</configuration>
			</plugin>
			<plugin>
35
36
				<groupId>sh.tak.appbundler</groupId>
				<artifactId>appbundle-maven-plugin</artifactId>
mobreza's avatar
mobreza committed
37
				<version>1.0.2</version>
Matija Obreza's avatar
Matija Obreza committed
38
39
40
				<configuration>
					<mainClass>org.genesys2.anno.gui.AppWindow</mainClass>
					<bundleName>Genesys Magic</bundleName>
mobreza's avatar
mobreza committed
41
					<dictionaryFile>Info.plist</dictionaryFile>
42
43
44
					<diskImageInternetEnable>true</diskImageInternetEnable>
					<generateDiskImageFile>true</generateDiskImageFile>
					<jvmVersion>1.7+</jvmVersion>
mobreza's avatar
mobreza committed
45
46
47
48
49
					<jvmOptions>
						<jvmOption>
							-XstartOnFirstThread
						</jvmOption>
					</jvmOptions>
50
					<!-- <iconFile>CustomIncon.icns</iconFile> -->
Matija Obreza's avatar
Matija Obreza committed
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
				</configuration>
				<executions>
					<execution>
						<phase>package</phase>
						<goals>
							<goal>bundle</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
			<!-- Run it -->

			<plugin>
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>exec-maven-plugin</artifactId>
				<version>1.2.1</version>
				<configuration>
					<executable>java</executable>
					<arguments>
						<argument>-XstartOnFirstThread</argument>
						<arguments>-Dapple.laf.useScreenMenuBar=true</arguments>
						<argument>-classpath</argument>
						<!-- automatically creates the classpath using all project dependencies, 
							also adding the project build directory -->
						<classpath />
						<argument>org.genesys2.anno.gui.AppWindow</argument>
					</arguments>
				</configuration>
			</plugin>
		</plugins>
	</build>
Andrey Lugovskiy's avatar
Andrey Lugovskiy committed
82
</project>