1
+ <project xmlns =" http://maven.apache.org/POM/4.0.0" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
2
+ xsi:schemaLocation=" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
3
+ <modelVersion >4.0.0</modelVersion >
4
+ <groupId >pl.poznan.ilim</groupId >
5
+ <artifactId >havok</artifactId >
6
+ <version >0.0.1-SNAPSHOT</version >
7
+ <packaging >war</packaging >
8
+ <name >Havok</name >
9
+ <description >Simple asset tracking system</description >
10
+
11
+ <properties >
12
+ <!-- convenience to define GWT version in one place -->
13
+ <gwt .version>2.1.1</gwt .version>
14
+
15
+ <!-- tell the compiler we can use 1.6 -->
16
+ <maven .compiler.source>1.6</maven .compiler.source>
17
+ <maven .compiler.target>1.6</maven .compiler.target>
18
+ <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
19
+ </properties >
20
+
21
+ <dependencies >
22
+
23
+ <!-- GWT dependencies (from central repo) -->
24
+ <dependency >
25
+ <groupId >com.google.gwt</groupId >
26
+ <artifactId >gwt-servlet</artifactId >
27
+ <version >${gwt.version} </version >
28
+ <scope >runtime</scope >
29
+ </dependency >
30
+ <dependency >
31
+ <groupId >com.google.gwt</groupId >
32
+ <artifactId >gwt-user</artifactId >
33
+ <version >${gwt.version} </version >
34
+ <scope >provided</scope >
35
+ </dependency >
36
+
37
+ <!-- SmartGWT -->
38
+ <dependency >
39
+ <groupId >com.smartgwt</groupId >
40
+ <artifactId >smartgwt</artifactId >
41
+ <version >2.4</version >
42
+ </dependency >
43
+ <dependency >
44
+ <groupId >com.smartgwt</groupId >
45
+ <artifactId >smartgwt-skins</artifactId >
46
+ <version >2.4</version >
47
+ </dependency >
48
+
49
+ <!-- test -->
50
+ <dependency >
51
+ <groupId >junit</groupId >
52
+ <artifactId >junit</artifactId >
53
+ <version >4.8.1</version >
54
+ <scope >test</scope >
55
+ </dependency >
56
+
57
+ <!-- others -->
58
+ <dependency >
59
+ <groupId >log4j</groupId >
60
+ <artifactId >log4j</artifactId >
61
+ <version >1.2.14</version >
62
+ </dependency >
63
+ <dependency >
64
+ <groupId >mysql</groupId >
65
+ <artifactId >mysql-connector-java</artifactId >
66
+ <version >5.1.13</version >
67
+ </dependency >
68
+ <dependency >
69
+ <groupId >com.google.gwt.google-apis</groupId >
70
+ <artifactId >gwt-visualization</artifactId >
71
+ <version >1.0.2</version >
72
+ </dependency >
73
+ <dependency >
74
+ <groupId >org.slf4j</groupId >
75
+ <artifactId >slf4j-api</artifactId >
76
+ <version >1.5.8</version >
77
+ </dependency >
78
+ <dependency >
79
+ <groupId >org.slf4j</groupId >
80
+ <artifactId >slf4j-simple</artifactId >
81
+ <version >1.5.8</version >
82
+ </dependency >
83
+ <dependency >
84
+ <groupId >net.sf.gilead</groupId >
85
+ <artifactId >adapter-core</artifactId >
86
+ <version >1.3.2</version >
87
+ </dependency >
88
+ <dependency >
89
+ <groupId >net.sf.gilead</groupId >
90
+ <artifactId >adapter4gwt</artifactId >
91
+ <version >1.3.2</version >
92
+ </dependency >
93
+ <dependency >
94
+ <groupId >net.sf.gilead</groupId >
95
+ <artifactId >gilead4gwt</artifactId >
96
+ <version >1.3.2</version >
97
+ </dependency >
98
+ </dependencies >
99
+
100
+ <build >
101
+ <outputDirectory >target/${project.artifactId} -${project.version} /WEB-INF/classes</outputDirectory >
102
+ <plugins >
103
+ <plugin >
104
+ <groupId >org.codehaus.mojo</groupId >
105
+ <artifactId >gwt-maven-plugin</artifactId >
106
+ <version >2.1.0-1</version >
107
+ <executions >
108
+ <execution >
109
+ <goals >
110
+ <goal >compile</goal >
111
+ </goals >
112
+ </execution >
113
+ </executions >
114
+ <configuration >
115
+ <runTarget >pl.poznan.ilim.havok.Havok/Havok.html</runTarget >
116
+ <inplace >true</inplace >
117
+ <warSourceDirectory >war</warSourceDirectory >
118
+ <!-- <logLevel>INFO" -bindAddress 0.0.0.0 -logLevel "INFO</logLevel> -->
119
+ </configuration >
120
+ </plugin >
121
+ <!-- If you want to use the target/web.xml file mergewebxml produces,
122
+ tell the war plugin to use it. Also, exclude what you want from the final
123
+ artifact here. -->
124
+ <plugin >
125
+ <groupId >org.apache.maven.plugins</groupId >
126
+ <artifactId >maven-war-plugin</artifactId >
127
+ <version >2.1.1</version >
128
+ <configuration >
129
+ <warSourceDirectory >war</warSourceDirectory >
130
+ <webXml >war/WEB-INF/web.xml</webXml >
131
+ <packagingExcludes >WEB-INF/web.xml</packagingExcludes >
132
+ <warSourceExcludes >.gwt-tmp/**</warSourceExcludes >
133
+ </configuration >
134
+ </plugin >
135
+ <plugin >
136
+ <groupId >org.apache.maven.plugins</groupId >
137
+ <artifactId >maven-compiler-plugin</artifactId >
138
+ <version >2.3.1</version >
139
+ <configuration >
140
+ <source >${maven.compiler.source} </source >
141
+ <target >${maven.compiler.target} </target >
142
+ </configuration >
143
+ </plugin >
144
+ </plugins >
145
+ </build >
146
+
147
+ </project >
0 commit comments