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">
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>
16 <distribution>repo and manual</distribution>
17 <url>http://www.gnu.org/licenses/lgpl.html</url>
21 <!-- Specify a recent maven version, so we can use later plugin versions.
22 We specify the same thing via the maven-enforcer-plugin, but that is normal.
23 See http://maven.apache.org/enforcer/maven-enforcer-plugin/faq.html#question -->
28 <!-- gwt-test-utils is not in the regular maven repository: -->
31 <id>forge.octo.com</id>
32 <url>http://forge.octo.com/nexus/content/repositories/releases/</url>
37 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
39 <!-- Convenience property to set the GWT version -->
40 <gwt.version>2.7.0</gwt.version>
42 <!-- Make mvn gwt:run use SSL (HTTPS) when running Jetty.
43 Login will fail (on purpose) if run as regular HTTP.
44 TODO: We could instead enable this when running mvn gwt:run, like so:
46 but how do we disable it now that it's on by default here?
47 Where is this maven gwt plugin property documented? -->
48 <gwt.server>:ssl</gwt.server>
50 <!-- GWT requires java 1.6 -->
51 <!-- TODO: Isn't this a duplicate of the maven-compiler-plugin properties below? -->
52 <maven.compiler.source>1.7</maven.compiler.source>
53 <maven.compiler.target>1.7</maven.compiler.target>
55 <webappDirectory>${project.build.directory}/${project.build.finalName}</webappDirectory>
60 <groupId>com.google.gwt</groupId>
61 <artifactId>gwt-servlet</artifactId>
62 <version>${gwt.version}</version>
63 <scope>compile</scope> <!-- It is used for runtime and test scopes -->
66 <groupId>com.google.gwt</groupId>
67 <artifactId>gwt-user</artifactId>
68 <version>${gwt.version}</version>
69 <scope>provided</scope>
72 <groupId>c3p0</groupId>
73 <artifactId>c3p0</artifactId>
74 <version>0.9.1.2</version>
76 <scope>compile</scope>
79 <groupId>commons-io</groupId>
80 <artifactId>commons-io</artifactId>
81 <version>2.4</version>
83 <scope>compile</scope>
86 <!-- The PostgreSQL JDBC driver: -->
88 <groupId>postgresql</groupId>
89 <artifactId>postgresql</artifactId>
90 <version>9.1-901.jdbc4</version>
92 <scope>runtime</scope>
95 <!-- The MySQL JDBC driver: -->
97 <groupId>mysql</groupId>
98 <artifactId>mysql-connector-java</artifactId>
99 <version>5.1.25</version>
101 <scope>runtime</scope>
105 <groupId>xml-apis</groupId>
106 <artifactId>xml-apis</artifactId>
107 <version>2.0.2</version>
108 <scope>compile</scope>
111 <groupId>com.allen-sauer.gwt.log</groupId>
112 <artifactId>gwt-log</artifactId>
113 <version>3.2.1</version>
115 <scope>compile</scope>
118 <groupId>org.apache.commons</groupId>
119 <artifactId>commons-lang3</artifactId>
120 <version>3.1</version>
121 <scope>compile</scope>
124 <groupId>org.apache.httpcomponents</groupId>
125 <artifactId>httpclient</artifactId>
126 <version>4.2.2</version>
129 <groupId>commons-codec</groupId>
130 <artifactId>commons-codec</artifactId>
131 <version>1.8</version>
132 <scope>compile</scope>
135 <groupId>com.google.guava</groupId>
136 <artifactId>guava</artifactId>
137 <version>14.0.1</version>
140 <groupId>org.jooq</groupId>
141 <artifactId>jooq</artifactId>
142 <version>2.6.0</version>
143 <scope>compile</scope>
146 <groupId>net.sf.jasperreports</groupId>
147 <artifactId>jasperreports</artifactId>
148 <version>5.1.2</version>
149 <scope>compile</scope>
151 <!-- There is apparently a clash between the jdtcore used by jasperreports
152 and gwt, so we do this to avoid the reportUnusedDeclaredThrownExceptionIncludeDocCommentReference
153 exception during the gwt compile. -->
155 <groupId>eclipse</groupId>
156 <artifactId>jdtcore</artifactId>
162 <groupId>log4j</groupId>
163 <artifactId>log4j</artifactId>
164 <version>1.2.17</version>
166 <scope>compile</scope> <!-- It is used for runtime and test scopes -->
169 <!-- This seems to be necessary so we can see errors from JDBC -->
171 <groupId>org.slf4j</groupId>
172 <artifactId>slf4j-simple</artifactId>
173 <version>1.7.5</version>
178 <groupId>junit</groupId>
179 <artifactId>junit</artifactId>
180 <version>4.11</version>
184 <groupId>org.hamcrest</groupId>
185 <artifactId>hamcrest-core</artifactId>
186 <version>1.3</version>
190 <groupId>com.googlecode.gwt-test-utils</groupId>
191 <artifactId>gwt-test-utils</artifactId>
192 <version>0.45</version>
196 <groupId>org.easymock</groupId>
197 <artifactId>easymock</artifactId>
198 <version>3.1</version>
202 <!-- Specify a later javax version than we get via GWT,
203 so we can use Cookie.setSecure(). -->
205 <groupId>javax.servlet</groupId>
206 <artifactId>javax.servlet-api</artifactId>
207 <version>3.1.0</version>
208 <scope>provided</scope>
212 <url>http://www.glom.org/wiki/index.php?title=Development/OnlineGlom</url>
214 <!-- Generate compiled stuff in the folder used for developing mode -->
215 <outputDirectory>${webappDirectory}/WEB-INF/classes</outputDirectory>
219 <!-- Specify a recent maven version, so we can use later plugin versions.
220 We specify the same thing in the prerequisites tag, but that is normal.
221 See http://maven.apache.org/enforcer/maven-enforcer-plugin/faq.html#question -->
222 <groupId>org.apache.maven.plugins</groupId>
223 <artifactId>maven-enforcer-plugin</artifactId>
224 <version>1.4</version>
227 <id>enforce-versions</id>
233 <requireMavenVersion>
234 <version>2.2.1</version>
235 </requireMavenVersion>
242 <!-- GWT Maven Plugin -->
244 <groupId>org.codehaus.mojo</groupId>
245 <artifactId>gwt-maven-plugin</artifactId>
246 <version>2.7.0</version>
256 <!-- Plugin configuration. There are many available options, see gwt-maven-plugin
257 documentation at codehaus.org -->
259 <runTarget>OnlineGlom.html</runTarget>
260 <hostedWebapp>${webappDirectory}</hostedWebapp>
262 <i18nConstantsBundles>
263 <i18nConstantsBundle>org.glom.web.client.ui.OnlineGlomConstants</i18nConstantsBundle>
264 </i18nConstantsBundles>
265 <mode>htmlunit</mode> <!-- Because the default, manual, waits for us to paste a URL into a browser. -->
267 <!-- <productionMode>true</productionMode> -->
271 <!-- Copy static web files before executing gwt:run -->
273 <groupId>org.apache.maven.plugins</groupId>
274 <artifactId>maven-war-plugin</artifactId>
275 <version>2.3</version>
278 <phase>compile</phase>
280 <goal>exploded</goal>
285 <webappDirectory>${webappDirectory}</webappDirectory>
290 <artifactId>maven-assembly-plugin</artifactId>
291 <version>2.4</version>
294 <descriptor>assembly.xml</descriptor>
296 <appendAssemblyId>false</appendAssemblyId>
301 <groupId>org.apache.maven.plugins</groupId>
302 <artifactId>maven-compiler-plugin</artifactId>
303 <version>3.1</version>
311 mvn dependency:analyze-report
312 to generate target/dependency-analysis.html
315 <groupId>org.apache.maven.plugins</groupId>
316 <artifactId>maven-dependency-plugin</artifactId>
317 <version>2.10</version>
321 <phase>package</phase>
328 <!--This plugin's configuration is used to store Eclipse m2e settings
329 only. It has no influence on the Maven build itself. -->
331 <groupId>org.eclipse.m2e</groupId>
332 <artifactId>lifecycle-mapping</artifactId>
333 <version>1.0.0</version>
335 <lifecycleMappingMetadata>
338 <pluginExecutionFilter>
339 <groupId>org.codehaus.mojo</groupId>
340 <artifactId>gwt-maven-plugin</artifactId>
341 <versionRange>[2.5.1,)</versionRange>
345 </pluginExecutionFilter>
351 <pluginExecutionFilter>
353 org.apache.maven.plugins
362 <goal>exploded</goal>
364 </pluginExecutionFilter>
370 <pluginExecutionFilter>
371 <groupId>org.apache.maven.plugins</groupId>
372 <artifactId>maven-enforcer-plugin</artifactId>
373 <versionRange>[1.0.0,)</versionRange>
377 </pluginExecutionFilter>
383 </lifecycleMappingMetadata>
393 <groupId>org.apache.maven.plugins</groupId>
394 <artifactId>maven-surefire-report-plugin</artifactId>
395 <version>2.15</version>
397 <!-- your configuration here -->
404 <description>gwt-glom (OnlineGlom) is a web UI for Glom database systems.
405 See http://www.glom.org
408 <url>http://gitorious.org/online-glom</url>
411 <system>Bugzilla</system>
412 <url>https://bugzilla.gnome.org/browse.cgi?product=Glom</url>