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