Newer
Older
<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">
Patrik Dufresne
committed
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.patrikdufresne</groupId>
<artifactId>planimod-parent</artifactId>
<version>${revision}</version>
Patrik Dufresne
committed
</parent>
Patrik Dufresne
committed
11
12
13
14
15
16
17
18
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<profiles>
<profile>
<id>linux_x86_64</id>
<activation>
<os>
<name>linux</name>
<arch>amd64</arch>
</os>
</activation>
<dependencies>
<dependency>
<groupId>org.eclipse.swt</groupId>
<artifactId>org.eclipse.swt.gtk.linux.x86_64</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>
</profile>
<profile>
<id>win_x86</id>
<activation>
<os>
<family>windows</family>
<arch>amd64</arch>
</os>
</activation>
<dependencies>
<dependency>
<groupId>org.eclipse.swt</groupId>
<artifactId>org.eclipse.swt.win32.win32.x86_64</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>
</profile>
</profiles>
<dependencies>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
<version>4.2.0.Final</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.7.5</version>
</dependency>
<dependency>
<groupId>org.eclipse.jface</groupId>
<artifactId>org.eclipse.jface</artifactId>
<version>3.8.0.v20120521-2329</version>
</dependency>
<dependency>
<groupId>org.eclipse.core.databinding</groupId>
<artifactId>org.eclipse.core.databinding.property</artifactId>
<version>1.4.0.I20110222-0800</version>
</dependency>
<dependency>
<groupId>org.eclipse.ui</groupId>
<artifactId>org.eclipse.ui.forms</artifactId>
<version>3.5.200.v20120521-2329</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.10</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.patrikdufresne.managers</groupId>
<artifactId>com.patrikdufresne.managers.jface</artifactId>
Patrik Dufresne
committed
</dependency>
<dependency>
<groupId>com.patrikdufresne.managers</groupId>
<artifactId>com.patrikdufresne.managers.databinding</artifactId>
Patrik Dufresne
committed
</dependency>
<dependency>
<groupId>com.patrikdufresne.printing</groupId>
<artifactId>com.patrikdufresne.printing</artifactId>
<version>0.8</version>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>1.0.11</version>
</dependency>
<dependency>
<groupId>com.patrikdufresne</groupId>
<artifactId>ilp-glpk</artifactId>
<version>${project.version}</version>
Patrik Dufresne
committed
</dependency>
<dependency>
<groupId>com.googlecode.gettext-commons</groupId>
<artifactId>gettext-commons</artifactId>
<version>0.9.8</version>
</dependency>
<dependency>
<groupId>com.patrikdufresne</groupId>
<artifactId>planimod-icons</artifactId>
<version>${project.version}</version>
</dependency>
Patrik Dufresne
committed
</dependencies>
<build>
<!-- Include the .properties file located in /src/main/java -->
<resources>
<resource>
<directory>src/main/resources</directory>
</resource>
<resource>
<directory>src/main/java</directory>
<includes>
<include>**/*.properties</include>
</includes>
</resource>
</resources>
<plugins>
<!-- Write version in Manifest -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
</manifest>
</archive>
</configuration>
</plugin>
Patrik Dufresne
committed
<!-- Formatting -->
<plugin>
<groupId>com.googlecode.maven-java-formatter-plugin</groupId>
<artifactId>maven-java-formatter-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>format</goal>
</goals>
</execution>
</executions>
<configuration>
<configFile>${project.basedir}/../formatter.xml</configFile>
Patrik Dufresne
committed
<lineEnding>CRLF</lineEnding>
</configuration>
</plugin>
<!-- Add license header -->
<plugin>
<groupId>com.mycila.maven-license-plugin</groupId>
<artifactId>maven-license-plugin</artifactId>
<executions>
<execution>
<phase>process-sources</phase>
<goals>
<goal>format</goal>
</goals>
</execution>
</executions>
<configuration>
Patrik Dufresne
committed
</configuration>
</plugin>
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
<!-- Localized -->
<!-- This plugin required to install "gettext". -->
<!-- sudo apt-get install gettext -->
<plugin>
<groupId>com.googlecode.gettext-commons</groupId>
<artifactId>gettext-maven-plugin</artifactId>
<version>1.2.4</version>
<executions>
<execution>
<goals>
<goal>dist</goal>
</goals>
</execution>
</executions>
<configuration>
<poDirectory>${basedir}/src/main/po</poDirectory>
<!-- Generate translation for _() -->
<keywords>-k_</keywords>
<!-- Package and filename of the generated class or properties files -->
<targetBundle>com.patrikdufresne.planimod.messages</targetBundle>
<outputFormat>properties</outputFormat>
</configuration>
</plugin>
<!-- Need the following to overcome a bug with surefire and java8 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<argLine>-Xmx512m</argLine>
<useSystemClassLoader>false</useSystemClassLoader>
</configuration>
</plugin>
Patrik Dufresne
committed
</plugins>
</build>