pom.xml 2.53 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>0.0.3-SNAPSHOT</version>
Matija Obreza's avatar
Matija Obreza committed
7
8
9
10
	</parent>
	<artifactId>anno-gui-macosx</artifactId>
	<name>Anno for MacOSX</name>
	<repositories>
Matija Obreza's avatar
Bulk    
Matija Obreza committed
11
12
13
14
		<repository>
			<id>swt-repo</id>
			<url>https://swt-repo.googlecode.com/svn/repo/</url>
		</repository>
Matija Obreza's avatar
Matija Obreza committed
15
16
17
	</repositories>
	<dependencies>
		<dependency>
Matija Obreza's avatar
Matija Obreza committed
18
			<groupId>org.genesys-pgr</groupId>
Matija Obreza's avatar
Matija Obreza committed
19
			<artifactId>anno-gui</artifactId>
20
			<version>0.0.3-SNAPSHOT</version>
Matija Obreza's avatar
Matija Obreza committed
21
22
		</dependency>
		<dependency>
Matija Obreza's avatar
Bulk    
Matija Obreza committed
23
			<groupId>org.eclipse.swt</groupId>
Matija Obreza's avatar
Matija Obreza committed
24
			<artifactId>org.eclipse.swt.cocoa.macosx.x86_64</artifactId>
Matija Obreza's avatar
SWT4.4    
Matija Obreza committed
25
			<version>4.4</version>
Matija Obreza's avatar
Matija Obreza committed
26
27
28
29
30
31
32
33
34
35
36
37
38
39
		</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>
40
41
42
				<groupId>sh.tak.appbundler</groupId>
				<artifactId>appbundle-maven-plugin</artifactId>
				<version>1.0.1</version>
Matija Obreza's avatar
Matija Obreza committed
43
44
45
				<configuration>
					<mainClass>org.genesys2.anno.gui.AppWindow</mainClass>
					<bundleName>Genesys Magic</bundleName>
46
47
48
49
50
51
52
					<diskImageInternetEnable>true</diskImageInternetEnable>
					<generateDiskImageFile>true</generateDiskImageFile>
					<jvmVersion>1.7+</jvmVersion>
					<jvmOptions>-XstartOnFirstThread</jvmOptions>
					<!-- src/main/resources -->
					<!-- <dictionaryFile>Info.plist</dictionaryFile> -->
					<!-- <iconFile>CustomIncon.icns</iconFile> -->
Matija Obreza's avatar
Matija Obreza committed
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
				</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>
</project>