pom.xml 2.88 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
4
5
	<modelVersion>4.0.0</modelVersion>
	<parent>
		<groupId>org.genesys2</groupId>
		<artifactId>anno</artifactId>
6
		<version>0.0.2-SNAPSHOT</version>
Matija Obreza's avatar
Matija Obreza committed
7
8
9
10
11
12
13
14
15
	</parent>
	<artifactId>anno-gui-macosx</artifactId>
	<name>Anno for MacOSX</name>
	<repositories>
		<repository>
			<id>thingml</id>
			<name>3rd Party Eclipse</name>
			<url>http://maven.thingml.org/thirdparty/</url>
		</repository>
Matija Obreza's avatar
Bulk    
Matija Obreza committed
16
17
18
19
		<repository>
			<id>swt-repo</id>
			<url>https://swt-repo.googlecode.com/svn/repo/</url>
		</repository>
Matija Obreza's avatar
Matija Obreza committed
20
21
22
23
24
25
26
27
28
29
30
31
	</repositories>
	<pluginRepositories>
		<pluginRepository>
			<id>foobar</id>
			<name>Some other repo for osxappbundle</name>
			<url>http://nexus.cs.toronto.edu/nexus/content/repositories/externals/</url>
		</pluginRepository>
	</pluginRepositories>
	<dependencies>
		<dependency>
			<groupId>org.genesys2</groupId>
			<artifactId>anno-gui</artifactId>
32
			<version>0.0.2-SNAPSHOT</version>
Matija Obreza's avatar
Matija Obreza committed
33
34
		</dependency>
		<dependency>
Matija Obreza's avatar
Bulk    
Matija Obreza committed
35
			<groupId>org.eclipse.swt</groupId>
Matija Obreza's avatar
Matija Obreza committed
36
			<artifactId>org.eclipse.swt.cocoa.macosx.x86_64</artifactId>
Matija Obreza's avatar
SWT4.4    
Matija Obreza committed
37
			<version>4.4</version>
Matija Obreza's avatar
Matija Obreza committed
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
		</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>
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>osxappbundle-maven-plugin</artifactId>
				<version>1.0-alpha-5-sdumitriu</version>
				<configuration>
					<mainClass>org.genesys2.anno.gui.AppWindow</mainClass>
					<bundleName>Genesys Magic</bundleName>
					<jvmVersion>1.6+</jvmVersion>
59
					<includeApplicationsSymlink>false</includeApplicationsSymlink>
Matija Obreza's avatar
Matija Obreza committed
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
					<!-- <javaApplicationStub>bin/JavaAppLauncher</javaApplicationStub> -->
					<dictionaryFile>${basedir}/bin/Info.plist.template</dictionaryFile>
					<vmOptions>-Dapple.laf.useScreenMenuBar=true</vmOptions>
				</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>