pom.xml 2.22 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>2.0-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>2.0-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
		</dependency>
	</dependencies>

	<build>
		<plugins>
			<plugin>
27 28
				<groupId>sh.tak.appbundler</groupId>
				<artifactId>appbundle-maven-plugin</artifactId>
29
				<version>1.2.1-SNAPSHOT</version>
Matija Obreza's avatar
Matija Obreza committed
30 31 32
				<configuration>
					<mainClass>org.genesys2.anno.gui.AppWindow</mainClass>
					<bundleName>Genesys Magic</bundleName>
mobreza's avatar
mobreza committed
33
					<dictionaryFile>Info.plist</dictionaryFile>
34 35
					<diskImageInternetEnable>true</diskImageInternetEnable>
					<generateDiskImageFile>true</generateDiskImageFile>
Matija Obreza's avatar
Matija Obreza committed
36
					<jvmVersion>1.8</jvmVersion>
mobreza's avatar
mobreza committed
37 38 39 40 41
					<jvmOptions>
						<jvmOption>
							-XstartOnFirstThread
						</jvmOption>
					</jvmOptions>
42
					<!-- <iconFile>CustomIncon.icns</iconFile> -->
Matija Obreza's avatar
Matija Obreza committed
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
				</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
74
</project>