1.23.1
[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                 <!-- 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>compile</scope>  <!-- It is used for runtime and test scopes -->
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.4</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>xml-apis</groupId>
75                         <artifactId>xml-apis</artifactId>
76                         <version>2.0.2</version>
77                         <scope>compile</scope>
78                 </dependency>    
79                 <dependency>
80                         <groupId>com.allen-sauer.gwt.log</groupId>
81                         <artifactId>gwt-log</artifactId>
82                         <version>3.1.8</version>
83                         <type>jar</type>
84                         <scope>compile</scope>
85                 </dependency>
86                 <dependency>
87                         <groupId>org.apache.commons</groupId>
88                         <artifactId>commons-lang3</artifactId>
89                         <version>3.1</version>
90                         <scope>compile</scope>
91                 </dependency>
92                 <dependency>
93                         <groupId>org.apache.httpcomponents</groupId>
94                         <artifactId>httpclient</artifactId>
95                         <version>4.2.2</version>
96                 </dependency>   
97                 <dependency>
98                         <groupId>commons-codec</groupId>
99                         <artifactId>commons-codec</artifactId>
100                         <version>1.7</version>
101                         <scope>compile</scope>
102                 </dependency>
103                 <dependency>
104                         <groupId>com.google.guava</groupId>
105                         <artifactId>guava</artifactId>
106                         <version>13.0.1</version>
107                 </dependency>
108                 <dependency>
109                         <groupId>org.jooq</groupId>
110                         <artifactId>jooq</artifactId>
111                         <version>2.6.0</version>
112                         <scope>compile</scope>
113                 </dependency>
114                 <dependency>
115                         <groupId>net.sf.jasperreports</groupId>
116                         <artifactId>jasperreports</artifactId>
117                         <version>5.0.0</version>
118                         <scope>compile</scope>
119                         <exclusions>
120                                 <!-- There is apparently a clash between the jdtcore used by jasperreports
121                                         and gwt, so we do this to avoid the reportUnusedDeclaredThrownExceptionIncludeDocCommentReference
122                                         exception during the gwt compile. -->
123                                 <exclusion>
124                                         <groupId>eclipse</groupId>
125                                         <artifactId>jdtcore</artifactId>
126                                 </exclusion>
127                         </exclusions>
128                 </dependency>
129
130                 <dependency>
131                         <groupId>log4j</groupId>
132                         <artifactId>log4j</artifactId>
133                         <version>1.2.17</version>
134                         <type>jar</type>
135                         <scope>compile</scope> <!-- It is used for runtime and test scopes -->
136                 </dependency>
137
138                 <!-- This seems to be necessary so we can see errors from JDBC -->              
139                 <dependency>
140                         <groupId>org.slf4j</groupId>
141                         <artifactId>slf4j-simple</artifactId>
142                         <version>1.7.2</version>
143                         <scope>test</scope>
144                 </dependency>
145
146                 <dependency>
147                         <groupId>junit</groupId>
148                         <artifactId>junit</artifactId>
149                         <version>4.11</version>
150                         <scope>test</scope>
151                 </dependency>
152                 <dependency>
153                         <groupId>org.hamcrest</groupId>
154                         <artifactId>hamcrest-core</artifactId>
155                         <version>1.3</version>
156                         <scope>test</scope>
157                 </dependency>
158                 <dependency>
159                         <groupId>com.googlecode.gwt-test-utils</groupId>
160                         <artifactId>gwt-test-utils</artifactId>
161                         <version>0.43</version>
162                         <scope>test</scope>
163                 </dependency>
164                 <dependency>
165                         <groupId>org.easymock</groupId>
166                         <artifactId>easymock</artifactId>
167                         <version>3.1</version>
168                         <scope>test</scope>
169                 </dependency>
170         </dependencies>
171
172         <url>http://www.glom.org/wiki/index.php?title=Development/OnlineGlom</url>
173         <build>
174                 <!-- Generate compiled stuff in the folder used for developing mode -->
175                 <outputDirectory>${webappDirectory}/WEB-INF/classes</outputDirectory>
176
177                 <plugins>
178
179                         <!-- GWT Maven Plugin -->
180                         <plugin>
181                                 <groupId>org.codehaus.mojo</groupId>
182                                 <artifactId>gwt-maven-plugin</artifactId>
183                                 <version>2.5.0</version>
184                                 <executions>
185                                         <execution>
186                                                 <goals>
187                                                         <goal>i18n</goal>
188                                                         <goal>compile</goal>
189                                                         <goal>test</goal>
190                                                 </goals>
191                                         </execution>
192                                 </executions>
193                                 <!-- Plugin configuration. There are many available options, see gwt-maven-plugin
194                                         documentation at codehaus.org -->
195                                 <configuration>
196                                         <runTarget>OnlineGlom.html</runTarget>
197                                         <hostedWebapp>${webappDirectory}</hostedWebapp>
198                                         <i18nConstantsBundles>
199                                                 <i18nConstantsBundle>org.glom.web.client.ui.OnlineGlomConstants</i18nConstantsBundle>
200                                         </i18nConstantsBundles>
201                                         <mode>htmlunit</mode> <!-- Because the default, manual, waits for us to paste a URL into a browser. -->
202                                         <!-- <productionMode>true</productionMode> -->
203                                 </configuration>
204                         </plugin>
205
206                         <!-- Copy static web files before executing gwt:run -->
207                         <plugin>
208                                 <groupId>org.apache.maven.plugins</groupId>
209                                 <artifactId>maven-war-plugin</artifactId>
210                                 <version>2.2</version>
211                                 <executions>
212                                         <execution>
213                                                 <phase>compile</phase>
214                                                 <goals>
215                                                         <goal>exploded</goal>
216                                                 </goals>
217                                         </execution>
218                                 </executions>
219                                 <configuration>
220                                         <webappDirectory>${webappDirectory}</webappDirectory>
221                                 </configuration>
222                         </plugin>
223
224                         <plugin>
225                                 <artifactId>maven-assembly-plugin</artifactId>
226                                 <version>2.3</version>
227                                 <configuration>
228                                         <descriptors>
229                                                 <descriptor>assembly.xml</descriptor>
230                                         </descriptors>
231                                         <appendAssemblyId>false</appendAssemblyId>
232                                 </configuration>
233                         </plugin>
234
235                         <plugin>
236                                 <groupId>org.apache.maven.plugins</groupId>
237                                 <artifactId>maven-compiler-plugin</artifactId>   
238                                 <version>2.5.1</version>       
239                                 <configuration>
240                                         <source>1.7</source>
241                                         <target>1.7</target>
242                                 </configuration>
243                         </plugin>
244
245                         <!-- This lets us do
246                         mvn dependency:analyze-report
247                         to generate target/dependency-analysis.html
248                         -->
249                         <plugin>
250                                 <groupId>org.apache.maven.plugins</groupId>
251                                 <artifactId>maven-dependency-plugin</artifactId>
252                                 <version>2.4</version>
253                                 <executions>
254                                         <execution>
255                                                 <id>copy</id>
256                                                 <phase>package</phase>
257                                         </execution>
258                                 </executions>
259                         </plugin>
260                 </plugins>
261                 <pluginManagement>
262                         <plugins>
263                                 <!--This plugin's configuration is used to store Eclipse m2e settings
264                                         only. It has no influence on the Maven build itself. -->
265                                 <plugin>
266                                         <groupId>org.eclipse.m2e</groupId>
267                                         <artifactId>lifecycle-mapping</artifactId>
268                                         <version>1.0.0</version>
269                                         <configuration>
270                                                 <lifecycleMappingMetadata>
271                                                         <pluginExecutions>
272                                                                 <pluginExecution>
273                                                                         <pluginExecutionFilter>
274                                                                                 <groupId>org.codehaus.mojo</groupId>
275                                                                                 <artifactId>gwt-maven-plugin</artifactId>
276                                                                                 <versionRange>[2.5.0,)</versionRange>
277                                                                                 <goals>
278                                                                                         <goal>i18n</goal>
279                                                                                 </goals>
280                                                                         </pluginExecutionFilter>
281                                                                         <action>
282                                                                                 <execute />
283                                                                         </action>
284                                                                 </pluginExecution>
285                                                                 <pluginExecution>
286                                                                         <pluginExecutionFilter>
287                                                                                 <groupId>
288                                                                                         org.apache.maven.plugins
289                                                                                 </groupId>
290                                                                                 <artifactId>
291                                                                                         maven-war-plugin
292                                                                                 </artifactId>
293                                                                                 <versionRange>
294                                                                                         [2.1.1,)
295                                                                                 </versionRange>
296                                                                                 <goals>
297                                                                                         <goal>exploded</goal>
298                                                                                 </goals>
299                                                                         </pluginExecutionFilter>
300                                                                         <action>
301                                                                                 <ignore />
302                                                                         </action>
303                                                                 </pluginExecution>
304                                                         </pluginExecutions>
305                                                 </lifecycleMappingMetadata>
306                                         </configuration>
307                                 </plugin>
308                         </plugins>
309                 </pluginManagement>
310         </build>
311
312         <reporting>
313                 <plugins>
314                         <plugin>
315                                 <groupId>org.apache.maven.plugins</groupId>
316                                 <artifactId>maven-surefire-report-plugin</artifactId>
317                                 <version>2.12</version>
318                                 <configuration>
319                                         <!-- your configuration here -->
320                                 </configuration>
321                         </plugin>
322                 </plugins>
323
324         </reporting>
325
326         <description>gwt-glom (OnlineGlom) is a web UI for Glom database systems.
327 See http://www.glom.org
328 </description>
329         <scm>
330                 <url>http://gitorious.org/online-glom</url>
331         </scm>
332         <issueManagement>
333                 <system>Bugzilla</system>
334                 <url>https://bugzilla.gnome.org/browse.cgi?product=Glom</url>
335         </issueManagement>
336 </project>