tests: SelfHoster: createConnection(): Do not warn about expected failures.
[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.21.9.3</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                 <!-- Convenience property to set the GWT version -->
31                 <gwt.version>2.5.0-rc1</gwt.version>
32                 <!-- GWT requires java 1.6 -->
33                 <maven.compiler.source>1.6</maven.compiler.source>
34                 <maven.compiler.target>1.6</maven.compiler.target>
35                 <webappDirectory>${project.build.directory}/${project.build.finalName}</webappDirectory>
36         </properties>
37
38         <dependencies>
39                 <dependency>
40                         <groupId>com.google.gwt</groupId>
41                         <artifactId>gwt-servlet</artifactId>
42                         <version>${gwt.version}</version>
43                         <scope>runtime</scope>
44                 </dependency>
45                 <dependency>
46                         <groupId>com.google.gwt</groupId>
47                         <artifactId>gwt-user</artifactId>
48                         <version>${gwt.version}</version>
49                         <scope>provided</scope>
50                 </dependency>
51                 <dependency>
52                         <groupId>c3p0</groupId>
53                         <artifactId>c3p0</artifactId>
54                         <version>0.9.1.2</version>
55                         <type>jar</type>
56                         <scope>compile</scope>
57                 </dependency>
58                 <dependency>
59                         <groupId>commons-io</groupId>
60                         <artifactId>commons-io</artifactId>
61                         <version>2.3</version>
62                         <type>jar</type>
63                         <scope>compile</scope>
64                 </dependency>
65                 <dependency>
66                         <groupId>postgresql</groupId>
67                         <artifactId>postgresql</artifactId>
68                         <version>9.1-901.jdbc4</version>
69                         <type>jar</type>
70                         <scope>runtime</scope>
71                 </dependency>
72                 <dependency>
73                         <groupId>com.allen-sauer.gwt.log</groupId>
74                         <artifactId>gwt-log</artifactId>
75                         <version>3.1.8</version>
76                         <type>jar</type>
77                         <scope>compile</scope>
78                 </dependency>
79                 <dependency>
80                         <groupId>org.apache.commons</groupId>
81                         <artifactId>commons-lang3</artifactId>
82                         <version>3.1</version>
83                         <scope>compile</scope>
84                 </dependency>
85                 <dependency>
86                         <groupId>com.google.guava</groupId>
87                         <artifactId>guava</artifactId>
88                         <version>11.0.2</version>
89                 </dependency>
90                 <dependency>
91                         <groupId>org.jooq</groupId>
92                         <artifactId>jooq</artifactId>
93                         <version>2.3.1</version>
94                         <scope>compile</scope>
95                 </dependency>
96                 <dependency>
97                         <groupId>net.sf.jasperreports</groupId>
98                         <artifactId>jasperreports</artifactId>
99                         <version>4.5.1</version>
100                         <scope>compile</scope>
101                         <exclusions>
102                                 <!-- There is apparently a clash between the jdtcore used by jasperreports
103                                         and gwt, so we do this to avoid the reportUnusedDeclaredThrownExceptionIncludeDocCommentReference
104                                         exception during the gwt compile. -->
105                                 <exclusion>
106                                         <groupId>eclipse</groupId>
107                                         <artifactId>jdtcore</artifactId>
108                                 </exclusion>
109                         </exclusions>
110                 </dependency>
111
112                 <dependency>
113                         <groupId>log4j</groupId>
114                         <artifactId>log4j</artifactId>
115                         <version>1.2.16</version>
116                         <type>jar</type>
117                         <scope>compile</scope> <!-- It is used for runtime and test scopes -->
118                 </dependency>
119
120                 <!-- This seems to be necessary so we can see errors from JDBC -->              
121                 <dependency>
122                         <groupId>org.slf4j</groupId>
123                         <artifactId>slf4j-simple</artifactId>
124                         <version>1.6.6</version>
125                         <scope>test</scope>
126                 </dependency>
127
128                 <dependency>
129                         <groupId>junit</groupId>
130                         <artifactId>junit</artifactId>
131                         <version>4.10</version>
132                         <scope>test</scope>
133                 </dependency>
134                 <dependency>
135                         <groupId>com.googlecode.gwt-test-utils</groupId>
136                         <artifactId>gwt-test-utils</artifactId>
137                         <version>0.39</version>
138                         <scope>test</scope>
139                 </dependency>
140                 <dependency>
141                         <groupId>org.easymock</groupId>
142                         <artifactId>easymock</artifactId>
143                         <version>3.1</version>
144                         <scope>test</scope>
145                 </dependency>
146         </dependencies>
147
148         <url>http://www.glom.org/wiki/index.php?title=Development/OnlineGlom</url>
149         <build>
150                 <!-- Generate compiled stuff in the folder used for developing mode -->
151                 <outputDirectory>${webappDirectory}/WEB-INF/classes</outputDirectory>
152
153                 <plugins>
154
155                         <!-- GWT Maven Plugin -->
156                         <plugin>
157                                 <groupId>org.codehaus.mojo</groupId>
158                                 <artifactId>gwt-maven-plugin</artifactId>
159                                 <version>2.4.0</version>
160                                 <executions>
161                                         <execution>
162                                                 <goals>
163                                                         <goal>i18n</goal>
164                                                         <goal>compile</goal>
165                                                         <goal>test</goal>
166                                                 </goals>
167                                         </execution>
168                                 </executions>
169                                 <!-- Plugin configuration. There are many available options, see gwt-maven-plugin
170                                         documentation at codehaus.org -->
171                                 <configuration>
172                                         <runTarget>OnlineGlom.html</runTarget>
173                                         <hostedWebapp>${webappDirectory}</hostedWebapp>
174                                         <i18nConstantsBundles>
175                                                 <i18nConstantsBundle>org.glom.web.client.ui.OnlineGlomConstants</i18nConstantsBundle>
176                                         </i18nConstantsBundles>
177                                         <mode>htmlunit</mode> <!-- Because the default, manual, waits for us to paste a URL into a browser. -->
178                                         <!-- <productionMode>true</productionMode> -->
179                                 </configuration>
180                         </plugin>
181
182                         <!-- Copy static web files before executing gwt:run -->
183                         <plugin>
184                                 <groupId>org.apache.maven.plugins</groupId>
185                                 <artifactId>maven-war-plugin</artifactId>
186                                 <version>2.2</version>
187                                 <executions>
188                                         <execution>
189                                                 <phase>compile</phase>
190                                                 <goals>
191                                                         <goal>exploded</goal>
192                                                 </goals>
193                                         </execution>
194                                 </executions>
195                                 <configuration>
196                                         <webappDirectory>${webappDirectory}</webappDirectory>
197                                 </configuration>
198                         </plugin>
199
200                         <plugin>
201                                 <artifactId>maven-assembly-plugin</artifactId>
202                                 <version>2.3</version>
203                                 <configuration>
204                                         <descriptors>
205                                                 <descriptor>assembly.xml</descriptor>
206                                         </descriptors>
207                                         <appendAssemblyId>false</appendAssemblyId>
208                                 </configuration>
209                         </plugin>
210
211                 </plugins>
212                 <pluginManagement>
213                         <plugins>
214                                 <!--This plugin's configuration is used to store Eclipse m2e settings
215                                         only. It has no influence on the Maven build itself. -->
216                                 <plugin>
217                                         <groupId>org.eclipse.m2e</groupId>
218                                         <artifactId>lifecycle-mapping</artifactId>
219                                         <version>1.0.0</version>
220                                         <configuration>
221                                                 <lifecycleMappingMetadata>
222                                                         <pluginExecutions>
223                                                                 <pluginExecution>
224                                                                         <pluginExecutionFilter>
225                                                                                 <groupId>org.codehaus.mojo</groupId>
226                                                                                 <artifactId>gwt-maven-plugin</artifactId>
227                                                                                 <versionRange>[2.4.0,)</versionRange>
228                                                                                 <goals>
229                                                                                         <goal>i18n</goal>
230                                                                                 </goals>
231                                                                         </pluginExecutionFilter>
232                                                                         <action>
233                                                                                 <execute />
234                                                                         </action>
235                                                                 </pluginExecution>
236                                                                 <pluginExecution>
237                                                                         <pluginExecutionFilter>
238                                                                                 <groupId>
239                                                                                         org.apache.maven.plugins
240                                                                                 </groupId>
241                                                                                 <artifactId>
242                                                                                         maven-war-plugin
243                                                                                 </artifactId>
244                                                                                 <versionRange>
245                                                                                         [2.1.1,)
246                                                                                 </versionRange>
247                                                                                 <goals>
248                                                                                         <goal>exploded</goal>
249                                                                                 </goals>
250                                                                         </pluginExecutionFilter>
251                                                                         <action>
252                                                                                 <ignore />
253                                                                         </action>
254                                                                 </pluginExecution>
255                                                         </pluginExecutions>
256                                                 </lifecycleMappingMetadata>
257                                         </configuration>
258                                 </plugin>
259                         </plugins>
260                 </pluginManagement>
261         </build>
262
263         <reporting>
264                 <plugins>
265                         <plugin>
266                                 <groupId>org.apache.maven.plugins</groupId>
267                                 <artifactId>maven-surefire-report-plugin</artifactId>
268                                 <version>2.12</version>
269                                 <configuration>
270                                         <!-- your configuration here -->
271                                 </configuration>
272                         </plugin>
273                 </plugins>
274         </reporting>
275
276         <description>gwt-glom (OnlineGlom) is a web UI for Glom database systems.
277 See http://www.glom.org
278 </description>
279         <scm>
280                 <url>http://gitorious.org/online-glom</url>
281         </scm>
282         <issueManagement>
283                 <system>Bugzilla</system>
284                 <url>https://bugzilla.gnome.org/browse.cgi?product=Glom</url>
285         </issueManagement>
286 </project>