Use of jOOQ: Move Field creation into a utility method.
[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.8.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                 <!-- Convenience property to set the GWT version -->
31                 <gwt.version>2.4.0</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                 <!-- Since the java-libglom jar uses jni it can only be loaded once and 
52                         therefore must not be included in each war. Instead the java-libglom jar 
53                         must be placed in $CATALINA_HOME/lib. Scope provided ensures that the jar 
54                         is available for compiling and testing but will not be packaged in the war. 
55                         More information about deploying servlets that use jni jars can be found 
56                         in the "JNI Based Applications" section of the Tomcat release notes:
57                         http://tomcat.apache.org/tomcat-7.0-doc/RELEASE-NOTES.txt -->
58                 <dependency>
59                         <groupId>org.glom.libglom</groupId>
60                         <artifactId>java-libglom</artifactId>
61                         <version>1.21.8</version>
62                         <scope>provided</scope>
63                 </dependency>
64                 <dependency>
65                         <groupId>c3p0</groupId>
66                         <artifactId>c3p0</artifactId>
67                         <version>0.9.1.2</version>
68                         <type>jar</type>
69                         <scope>compile</scope>
70                 </dependency>
71                 <dependency>
72                         <groupId>commons-io</groupId>
73                         <artifactId>commons-io</artifactId>
74                         <version>2.3</version>
75                         <type>jar</type>
76                         <scope>compile</scope>
77                 </dependency>
78                 <dependency>
79                         <groupId>postgresql</groupId>
80                         <artifactId>postgresql</artifactId>
81                         <version>9.1-901.jdbc4</version>
82                         <type>jar</type>
83                         <scope>runtime</scope>
84                 </dependency>
85                 <dependency>
86                         <groupId>com.allen-sauer.gwt.log</groupId>
87                         <artifactId>gwt-log</artifactId>
88                         <version>3.1.8</version>
89                         <type>jar</type>
90                         <scope>compile</scope>
91                 </dependency>
92                 <dependency>
93                         <groupId>org.apache.commons</groupId>
94                         <artifactId>commons-lang3</artifactId>
95                         <version>3.1</version>
96                         <scope>compile</scope>
97                 </dependency>
98                 <dependency>
99                         <groupId>org.jooq</groupId>
100                         <artifactId>jooq</artifactId>
101                         <version>2.2.1</version>
102                         <scope>compile</scope>
103                 </dependency>
104                 <dependency>
105                         <groupId>net.sf.jasperreports</groupId>
106                         <artifactId>jasperreports</artifactId>
107                         <version>4.5.1</version>
108                         <scope>compile</scope>
109                         <exclusions>
110                                 <!-- There is apparently a clash between the jdtcore used by jasperreports and gwt,
111                                 so we do this to avoid the reportUnusedDeclaredThrownExceptionIncludeDocCommentReference
112                                 exception during the gwt compile. -->
113                                 <exclusion>
114                                         <groupId>eclipse</groupId>
115                                         <artifactId>jdtcore</artifactId>
116                                 </exclusion>
117                         </exclusions>
118                 </dependency>
119             
120                 <dependency>
121                         <groupId>log4j</groupId>
122                         <artifactId>log4j</artifactId>
123                         <version>1.2.16</version>
124                         <type>jar</type>
125                         <scope>runtime</scope>
126                 </dependency>
127                 <dependency>
128                         <groupId>junit</groupId>
129                         <artifactId>junit</artifactId>
130                         <version>4.10</version>
131                         <scope>test</scope>
132                 </dependency>
133                 <dependency>
134                 <groupId>com.googlecode.gwt-test-utils</groupId>
135                         <artifactId>gwt-test-utils</artifactId>
136                         <version>0.38</version>
137                         <scope>test</scope>
138                 </dependency>
139                 <dependency>
140                         <groupId>org.easymock</groupId>
141                         <artifactId>easymock</artifactId>
142                         <version>3.1</version>
143                         <scope>test</scope>
144                 </dependency>
145         </dependencies>
146
147         <url>http://www.glom.org/wiki/index.php?title=Development/OnlineGlom</url>
148         <build>
149                 <!-- Generate compiled stuff in the folder used for developing mode -->
150                 <outputDirectory>${webappDirectory}/WEB-INF/classes</outputDirectory>
151
152                 <plugins>
153
154                         <!-- GWT Maven Plugin -->
155                         <plugin>
156                                 <groupId>org.codehaus.mojo</groupId>
157                                 <artifactId>gwt-maven-plugin</artifactId>
158                                 <version>2.4.0</version>
159                                 <executions>
160                                         <execution>
161                                                 <goals>
162                                                         <goal>i18n</goal>
163                                                         <goal>compile</goal>
164                                                         <goal>test</goal>
165                                                 </goals>
166                                         </execution>
167                                 </executions>
168                                 <!-- Plugin configuration. There are many available options, see gwt-maven-plugin 
169                                         documentation at codehaus.org -->
170                                 <configuration>
171                                         <runTarget>OnlineGlom.html</runTarget>
172                                         <hostedWebapp>${webappDirectory}</hostedWebapp>
173                                         <i18nConstantsBundles>
174                                           <i18nConstantsBundle>org.glom.web.client.ui.OnlineGlomConstants</i18nConstantsBundle>
175                                         </i18nConstantsBundles>
176                                 </configuration>
177                         </plugin>
178
179                         <!-- Copy static web files before executing gwt:run -->
180                         <plugin>
181                                 <groupId>org.apache.maven.plugins</groupId>
182                                 <artifactId>maven-war-plugin</artifactId>
183                                 <version>2.2</version>
184                                 <executions>
185                                         <execution>
186                                                 <phase>compile</phase>
187                                                 <goals>
188                                                         <goal>exploded</goal>
189                                                 </goals>
190                                         </execution>
191                                 </executions>
192                                 <configuration>
193                                         <webappDirectory>${webappDirectory}</webappDirectory>
194                                 </configuration>
195                         </plugin>
196
197                         <plugin>
198                                 <artifactId>maven-assembly-plugin</artifactId>
199                                 <version>2.3</version>
200                                 <configuration>
201                                         <descriptors>
202                                                 <descriptor>assembly.xml</descriptor>
203                                         </descriptors>
204                                         <appendAssemblyId>false</appendAssemblyId>
205                                 </configuration>
206                         </plugin>
207
208                 </plugins>
209                 <pluginManagement>
210                         <plugins>
211                                 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
212                                 <plugin>
213                                         <groupId>org.eclipse.m2e</groupId>
214                                         <artifactId>lifecycle-mapping</artifactId>
215                                         <version>1.0.0</version>
216                                         <configuration>
217                                                 <lifecycleMappingMetadata>
218                                                         <pluginExecutions>
219                                                                 <pluginExecution>
220                                                                         <pluginExecutionFilter>
221                                                                                 <groupId>
222                                                                                         org.apache.maven.plugins
223                                                                                 </groupId>
224                                                                                 <artifactId>
225                                                                                         maven-war-plugin
226                                                                                 </artifactId>
227                                                                                 <versionRange>
228                                                                                         [2.1.1,)
229                                                                                 </versionRange>
230                                                                                 <goals>
231                                                                                         <goal>exploded</goal>
232                                                                                 </goals>
233                                                                         </pluginExecutionFilter>
234                                                                         <action>
235                                                                                 <ignore></ignore>
236                                                                         </action>
237                                                                 </pluginExecution>
238                                                         </pluginExecutions>
239                                                 </lifecycleMappingMetadata>
240                                         </configuration>
241                                 </plugin>
242                         </plugins>
243                 </pluginManagement>
244         </build>
245
246         <reporting>
247                 <plugins>
248                         <plugin>
249                                 <groupId>org.apache.maven.plugins</groupId>
250                                 <artifactId>maven-surefire-report-plugin</artifactId>
251                                 <version>2.12</version>
252                                 <configuration>
253                                         <!-- your configuration here -->
254                                 </configuration>
255                         </plugin>
256                 </plugins>
257         </reporting>
258
259         <description>gwt-glom (OnlineGlom) is a web UI for Glom database systems.
260 See http://www.glom.org
261 </description>
262         <scm>
263                 <url>http://gitorious.org/online-glom</url>
264         </scm>
265         <issueManagement>
266                 <system>Bugzilla</system>
267                 <url>https://bugzilla.gnome.org/browse.cgi?product=Glom</url>
268         </issueManagement>
269 </project>