GwtTestOnlineGlomService: Add some assertions.
[online-glom:gwt-glom.git] / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
4
5         <!-- POM file generated with GWT webAppCreator -->
6         <modelVersion>4.0.0</modelVersion>
7         <groupId>org.glom.web</groupId>
8         <artifactId>gwt-glom</artifactId>
9         <packaging>war</packaging>
10         <version>1.23.1</version>
11         <name>OnlineGlom</name>
12
13         <licenses>
14                 <license>
15                         <name>LGPL v3</name>
16                         <distribution>repo and manual</distribution>
17                         <url>http://www.gnu.org/licenses/lgpl.html</url>
18                 </license>
19         </licenses>
20
21         <!-- gwt-test-utils is not in the regular maven repository: -->
22         <repositories>
23                 <repository>
24                         <id>forge.octo.com</id>
25                         <url>http://forge.octo.com/nexus/content/repositories/releases/</url>
26                 </repository>
27         </repositories>
28
29         <properties>
30                 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
31
32                 <!-- Convenience property to set the GWT version -->
33                 <gwt.version>2.5.0</gwt.version>
34
35                 <!-- GWT requires java 1.6 -->
36                 <!-- TODO: Isn't this a duplicate of the maven-compiler-plugin properties below? -->
37                 <maven.compiler.source>1.7</maven.compiler.source>
38                 <maven.compiler.target>1.7</maven.compiler.target>
39
40                 <webappDirectory>${project.build.directory}/${project.build.finalName}</webappDirectory>
41         </properties>
42
43         <dependencies>
44                 <dependency>
45                         <groupId>com.google.gwt</groupId>
46                         <artifactId>gwt-servlet</artifactId>
47                         <version>${gwt.version}</version>
48                         <scope>compile</scope>  <!-- It is used for runtime and test scopes -->
49                 </dependency>
50                 <dependency>
51                         <groupId>com.google.gwt</groupId>
52                         <artifactId>gwt-user</artifactId>
53                         <version>${gwt.version}</version>
54                         <scope>provided</scope>
55                 </dependency>
56                 <dependency>
57                         <groupId>c3p0</groupId>
58                         <artifactId>c3p0</artifactId>
59                         <version>0.9.1.2</version>
60                         <type>jar</type>
61                         <scope>compile</scope>
62                 </dependency>
63                 <dependency>
64                         <groupId>commons-io</groupId>
65                         <artifactId>commons-io</artifactId>
66                         <version>2.4</version>
67                         <type>jar</type>
68                         <scope>compile</scope>
69                 </dependency>
70                 <dependency>
71                         <groupId>postgresql</groupId>
72                         <artifactId>postgresql</artifactId>
73                         <version>9.1-901.jdbc4</version>
74                         <type>jar</type>
75                         <scope>runtime</scope>
76                 </dependency>
77                 <dependency>
78                         <groupId>xml-apis</groupId>
79                         <artifactId>xml-apis</artifactId>
80                         <version>2.0.2</version>
81                         <scope>compile</scope>
82                 </dependency>    
83                 <dependency>
84                         <groupId>com.allen-sauer.gwt.log</groupId>
85                         <artifactId>gwt-log</artifactId>
86                         <version>3.1.8</version>
87                         <type>jar</type>
88                         <scope>compile</scope>
89                 </dependency>
90                 <dependency>
91                         <groupId>org.apache.commons</groupId>
92                         <artifactId>commons-lang3</artifactId>
93                         <version>3.1</version>
94                         <scope>compile</scope>
95                 </dependency>
96                 <dependency>
97                         <groupId>org.apache.httpcomponents</groupId>
98                         <artifactId>httpclient</artifactId>
99                         <version>4.2.2</version>
100                 </dependency>   
101                 <dependency>
102                         <groupId>commons-codec</groupId>
103                         <artifactId>commons-codec</artifactId>
104                         <version>1.7</version>
105                         <scope>compile</scope>
106                 </dependency>
107                 <dependency>
108                         <groupId>com.google.guava</groupId>
109                         <artifactId>guava</artifactId>
110                         <version>13.0.1</version>
111                 </dependency>
112                 <dependency>
113                         <groupId>org.jooq</groupId>
114                         <artifactId>jooq</artifactId>
115                         <version>2.6.0</version>
116                         <scope>compile</scope>
117                 </dependency>
118                 <dependency>
119                         <groupId>net.sf.jasperreports</groupId>
120                         <artifactId>jasperreports</artifactId>
121                         <version>5.0.0</version>
122                         <scope>compile</scope>
123                         <exclusions>
124                                 <!-- There is apparently a clash between the jdtcore used by jasperreports
125                                         and gwt, so we do this to avoid the reportUnusedDeclaredThrownExceptionIncludeDocCommentReference
126                                         exception during the gwt compile. -->
127                                 <exclusion>
128                                         <groupId>eclipse</groupId>
129                                         <artifactId>jdtcore</artifactId>
130                                 </exclusion>
131                         </exclusions>
132                 </dependency>
133
134                 <dependency>
135                         <groupId>log4j</groupId>
136                         <artifactId>log4j</artifactId>
137                         <version>1.2.17</version>
138                         <type>jar</type>
139                         <scope>compile</scope> <!-- It is used for runtime and test scopes -->
140                 </dependency>
141
142                 <!-- This seems to be necessary so we can see errors from JDBC -->              
143                 <dependency>
144                         <groupId>org.slf4j</groupId>
145                         <artifactId>slf4j-simple</artifactId>
146                         <version>1.7.2</version>
147                         <scope>test</scope>
148                 </dependency>
149
150                 <dependency>
151                         <groupId>junit</groupId>
152                         <artifactId>junit</artifactId>
153                         <version>4.11</version>
154                         <scope>test</scope>
155                 </dependency>
156                 <dependency>
157                         <groupId>org.hamcrest</groupId>
158                         <artifactId>hamcrest-core</artifactId>
159                         <version>1.3</version>
160                         <scope>test</scope>
161                 </dependency>
162                 <dependency>
163                         <groupId>com.googlecode.gwt-test-utils</groupId>
164                         <artifactId>gwt-test-utils</artifactId>
165                         <version>0.43</version>
166                         <scope>test</scope>
167                 </dependency>
168                 <dependency>
169                         <groupId>org.easymock</groupId>
170                         <artifactId>easymock</artifactId>
171                         <version>3.1</version>
172                         <scope>test</scope>
173                 </dependency>
174         </dependencies>
175
176         <url>http://www.glom.org/wiki/index.php?title=Development/OnlineGlom</url>
177         <build>
178                 <!-- Generate compiled stuff in the folder used for developing mode -->
179                 <outputDirectory>${webappDirectory}/WEB-INF/classes</outputDirectory>
180
181                 <plugins>
182
183                         <!-- GWT Maven Plugin -->
184                         <plugin>
185                                 <groupId>org.codehaus.mojo</groupId>
186                                 <artifactId>gwt-maven-plugin</artifactId>
187                                 <version>2.5.0</version>
188                                 <executions>
189                                         <execution>
190                                                 <goals>
191                                                         <goal>i18n</goal>
192                                                         <goal>compile</goal>
193                                                         <goal>test</goal>
194                                                 </goals>
195                                         </execution>
196                                 </executions>
197                                 <!-- Plugin configuration. There are many available options, see gwt-maven-plugin
198                                         documentation at codehaus.org -->
199                                 <configuration>
200                                         <runTarget>OnlineGlom.html</runTarget>
201                                         <hostedWebapp>${webappDirectory}</hostedWebapp>
202                                         <i18nConstantsBundles>
203                                                 <i18nConstantsBundle>org.glom.web.client.ui.OnlineGlomConstants</i18nConstantsBundle>
204                                         </i18nConstantsBundles>
205                                         <mode>htmlunit</mode> <!-- Because the default, manual, waits for us to paste a URL into a browser. -->
206                                         <!-- <productionMode>true</productionMode> -->
207                                 </configuration>
208                         </plugin>
209
210                         <!-- Copy static web files before executing gwt:run -->
211                         <plugin>
212                                 <groupId>org.apache.maven.plugins</groupId>
213                                 <artifactId>maven-war-plugin</artifactId>
214                                 <version>2.2</version>
215                                 <executions>
216                                         <execution>
217                                                 <phase>compile</phase>
218                                                 <goals>
219                                                         <goal>exploded</goal>
220                                                 </goals>
221                                         </execution>
222                                 </executions>
223                                 <configuration>
224                                         <webappDirectory>${webappDirectory}</webappDirectory>
225                                 </configuration>
226                         </plugin>
227
228                         <plugin>
229                                 <artifactId>maven-assembly-plugin</artifactId>
230                                 <version>2.3</version>
231                                 <configuration>
232                                         <descriptors>
233                                                 <descriptor>assembly.xml</descriptor>
234                                         </descriptors>
235                                         <appendAssemblyId>false</appendAssemblyId>
236                                 </configuration>
237                         </plugin>
238
239                         <plugin>
240                                 <groupId>org.apache.maven.plugins</groupId>
241                                 <artifactId>maven-compiler-plugin</artifactId>   
242                                 <version>2.5.1</version>       
243                                 <configuration>
244                                         <source>1.7</source>
245                                         <target>1.7</target>
246                                 </configuration>
247                         </plugin>
248
249                         <!-- This lets us do
250                         mvn dependency:analyze-report
251                         to generate target/dependency-analysis.html
252                         -->
253                         <plugin>
254                                 <groupId>org.apache.maven.plugins</groupId>
255                                 <artifactId>maven-dependency-plugin</artifactId>
256                                 <version>2.4</version>
257                                 <executions>
258                                         <execution>
259                                                 <id>copy</id>
260                                                 <phase>package</phase>
261                                         </execution>
262                                 </executions>
263                         </plugin>
264                 </plugins>
265                 <pluginManagement>
266                         <plugins>
267                                 <!--This plugin's configuration is used to store Eclipse m2e settings
268                                         only. It has no influence on the Maven build itself. -->
269                                 <plugin>
270                                         <groupId>org.eclipse.m2e</groupId>
271                                         <artifactId>lifecycle-mapping</artifactId>
272                                         <version>1.0.0</version>
273                                         <configuration>
274                                                 <lifecycleMappingMetadata>
275                                                         <pluginExecutions>
276                                                                 <pluginExecution>
277                                                                         <pluginExecutionFilter>
278                                                                                 <groupId>org.codehaus.mojo</groupId>
279                                                                                 <artifactId>gwt-maven-plugin</artifactId>
280                                                                                 <versionRange>[2.5.0,)</versionRange>
281                                                                                 <goals>
282                                                                                         <goal>i18n</goal>
283                                                                                 </goals>
284                                                                         </pluginExecutionFilter>
285                                                                         <action>
286                                                                                 <execute />
287                                                                         </action>
288                                                                 </pluginExecution>
289                                                                 <pluginExecution>
290                                                                         <pluginExecutionFilter>
291                                                                                 <groupId>
292                                                                                         org.apache.maven.plugins
293                                                                                 </groupId>
294                                                                                 <artifactId>
295                                                                                         maven-war-plugin
296                                                                                 </artifactId>
297                                                                                 <versionRange>
298                                                                                         [2.1.1,)
299                                                                                 </versionRange>
300                                                                                 <goals>
301                                                                                         <goal>exploded</goal>
302                                                                                 </goals>
303                                                                         </pluginExecutionFilter>
304                                                                         <action>
305                                                                                 <ignore />
306                                                                         </action>
307                                                                 </pluginExecution>
308                                                         </pluginExecutions>
309                                                 </lifecycleMappingMetadata>
310                                         </configuration>
311                                 </plugin>
312                         </plugins>
313                 </pluginManagement>
314         </build>
315
316         <reporting>
317                 <plugins>
318                         <plugin>
319                                 <groupId>org.apache.maven.plugins</groupId>
320                                 <artifactId>maven-surefire-report-plugin</artifactId>
321                                 <version>2.12</version>
322                                 <configuration>
323                                         <!-- your configuration here -->
324                                 </configuration>
325                         </plugin>
326                 </plugins>
327
328         </reporting>
329
330         <description>gwt-glom (OnlineGlom) is a web UI for Glom database systems.
331 See http://www.glom.org
332 </description>
333         <scm>
334                 <url>http://gitorious.org/online-glom</url>
335         </scm>
336         <issueManagement>
337                 <system>Bugzilla</system>
338                 <url>https://bugzilla.gnome.org/browse.cgi?product=Glom</url>
339         </issueManagement>
340 </project>