pom.xml 5.3 KB
Newer Older
Matija Obreza's avatar
Matija Obreza committed
1 2 3 4 5 6 7 8 9 10 11 12 13
<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">
	<modelVersion>4.0.0</modelVersion>
	<groupId>org.genesys2</groupId>
	<artifactId>anno</artifactId>
	<version>0.0.1-SNAPSHOT</version>
	<name>Data annotator</name>

	<repositories>
		<repository>
			<id>my-local-repo</id>
			<url>file://${basedir}/lib</url>
		</repository>
Matija Obreza's avatar
Matija Obreza committed
14 15 16 17 18
		<repository>
			<id>thingml</id>
			<name>3rd Party Eclipse</name>
			<url>http://maven.thingml.org/thirdparty/</url>
		</repository>
Matija Obreza's avatar
Matija Obreza committed
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
	</repositories>

	<dependencies>
		<dependency>
			<groupId>org.apache.poi</groupId>
			<artifactId>poi</artifactId>
			<version>3.10-FINAL</version>
		</dependency>
		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
			<version>4.11</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>org.apache.poi</groupId>
			<artifactId>poi-ooxml</artifactId>
			<version>3.10-FINAL</version>
		</dependency>
		<dependency>
			<groupId>xerces</groupId>
			<artifactId>xerces</artifactId>
			<version>2.4.0</version>
		</dependency>
		<dependency>
			<groupId>org.apache.commons</groupId>
			<artifactId>commons-lang3</artifactId>
			<version>3.3.2</version>
		</dependency>
		<dependency>
			<groupId>org.eclipse.swt</groupId>
			<artifactId>swing2swt</artifactId>
			<version>1.0</version>
		</dependency>
		<dependency>
			<groupId>
				org.eclipse.swt.org.eclipse.swt.cocoa.macosx.x86_64.4.3.swt
			</groupId>
			<artifactId>org.eclipse.swt.cocoa.macosx.x86_64</artifactId>
			<version>4.3</version>
		</dependency>
		<dependency>
			<groupId>net.sf.supercsv</groupId>
			<artifactId>super-csv</artifactId>
			<version>2.2.0</version>
		</dependency>
Matija Obreza's avatar
Matija Obreza committed
65 66 67 68 69
		<dependency>
			<groupId>org.apache.commons</groupId>
			<artifactId>commons-io</artifactId>
			<version>1.3.2</version>
		</dependency>
Matija Obreza's avatar
Matija Obreza committed
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 111 112 113 114 115 116 117 118 119 120 121 122 123
		<dependency>
			<groupId>org.eclipse.maven</groupId>
			<artifactId>org.eclipse.core.databinding.beans</artifactId>
			<version>3.8.0</version>
		</dependency>
		<dependency>
			<groupId>org.eclipse.maven</groupId>
			<artifactId>org.eclipse.core.databinding</artifactId>
			<version>3.8.0</version>
		</dependency>
		<dependency>
			<groupId>org.eclipse.maven</groupId>
			<artifactId>
				org.eclipse.core.databinding.observable
			</artifactId>
			<version>3.8.0</version>
		</dependency>
		<dependency>
			<groupId>org.eclipse.maven</groupId>
			<artifactId>
				org.eclipse.core.databinding.property
			</artifactId>
			<version>3.8.0</version>
		</dependency>
		<dependency>
			<groupId>org.eclipse.maven</groupId>
			<artifactId>org.eclipse.jface.databinding</artifactId>
			<version>3.8.0</version>
		</dependency>
		<dependency>
			<groupId>org.eclipse.maven</groupId>
			<artifactId>org.eclipse.jface</artifactId>
			<version>3.8.0</version>
		</dependency>
		<dependency>
			<groupId>org.eclipse.maven</groupId>
			<artifactId>org.eclipse.swt</artifactId>
			<version>3.8.0</version>
		</dependency>
		<dependency>
			<groupId>org.eclipse.maven</groupId>
			<artifactId>org.eclipse.equinox.common</artifactId>
			<version>3.8.0</version>
		</dependency>
		<dependency>
			<groupId>org.eclipse.maven</groupId>
			<artifactId>org.eclipse.core.commands</artifactId>
			<version>3.8.0</version>
		</dependency>
		<dependency>
			<groupId>org.eclipse.maven</groupId>
			<artifactId>com.ibm.icu</artifactId>
			<version>3.8.0</version>
		</dependency>
Matija Obreza's avatar
Matija Obreza committed
124 125 126 127 128 129 130 131 132 133
		<dependency>
			<groupId>org.eclipse.maven</groupId>
			<artifactId>org.eclipse.osgi.services</artifactId>
			<version>3.8.0</version>
		</dependency>
		<dependency>
			<groupId>org.eclipse.maven</groupId>
			<artifactId>org.eclipse.osgi</artifactId>
			<version>3.8.0</version>
		</dependency>
Matija Obreza's avatar
Logging  
Matija Obreza committed
134 135 136 137 138
		<dependency>
			<groupId>log4j</groupId>
			<artifactId>log4j</artifactId>
			<version>1.2.17</version>
		</dependency>
Matija Obreza's avatar
Matija Obreza committed
139 140 141 142 143 144 145 146 147 148 149 150 151 152
	</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>
Matija Obreza's avatar
Matija Obreza committed
153
				<groupId>io.github.appbundler</groupId>
Matija Obreza's avatar
Matija Obreza committed
154 155
				<artifactId>appbundle-maven-plugin</artifactId>
				<version>1.0-SNAPSHOT</version>
Matija Obreza's avatar
Matija Obreza committed
156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171
				<configuration>
					<mainClass>org.genesys2.anno.gui.AppWindow</mainClass>
					<bundleName>Genesys Magic</bundleName>
					<jvmVersion>1.6</jvmVersion>
					<dictionaryFile>Info.plist.template</dictionaryFile>
					<vmOptions>-XstartOnFirstThread</vmOptions>
				</configuration>
				<executions>
					<execution>
						<phase>package</phase>
						<goals>
							<goal>bundle</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
Matija Obreza's avatar
Matija Obreza committed
172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193
			<!-- 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>