Tests: SelfHoster: Check other paths for PostgreSQL command-line tools.
[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.2</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                 <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 and gwt,
103                                 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                 <dependency>
121                         <groupId>junit</groupId>
122                         <artifactId>junit</artifactId>
123                         <version>4.10</version>
124                         <scope>test</scope>
125                 </dependency>
126                 <dependency>
127                 <groupId>com.googlecode.gwt-test-utils</groupId>
128                         <artifactId>gwt-test-utils</artifactId>
129                         <version>0.38</version>
130                         <scope>test</scope>
131                 </dependency>
132                 <dependency>
133                         <groupId>org.easymock</groupId>
134                         <artifactId>easymock</artifactId>
135                         <version>3.1</version>
136                         <scope>test</scope>
137                 </dependency>
138         </dependencies>
139
140         <url>http://www.glom.org/wiki/index.php?title=Development/OnlineGlom</url>
141         <build>
142                 <!-- Generate compiled stuff in the folder used for developing mode -->
143                 <outputDirectory>${webappDirectory}/WEB-INF/classes</outputDirectory>
144
145                 <plugins>
146
147                         <!-- GWT Maven Plugin -->
148                         <plugin>
149                                 <groupId>org.codehaus.mojo</groupId>
150                                 <artifactId>gwt-maven-plugin</artifactId>
151                                 <version>2.4.0</version>
152                                 <executions>
153                                         <execution>
154                                                 <goals>
155                                                         <goal>i18n</goal>
156                                                         <goal>compile</goal>
157                                                         <goal>test</goal>
158                                                 </goals>
159                                         </execution>
160                                 </executions>
161                                 <!-- Plugin configuration. There are many available options, see gwt-maven-plugin 
162                                         documentation at codehaus.org -->
163                                 <configuration>
164                                         <runTarget>OnlineGlom.html</runTarget>
165                                         <hostedWebapp>${webappDirectory}</hostedWebapp>
166                                         <i18nConstantsBundles>
167                                           <i18nConstantsBundle>org.glom.web.client.ui.OnlineGlomConstants</i18nConstantsBundle>
168                                         </i18nConstantsBundles>
169                                         <mode>htmlunit</mode> <!-- Because the default, manual, waits for us to paste a URL into a browser. -->
170                                         <!-- <productionMode>true</productionMode> -->
171                                 </configuration>
172                         </plugin>
173
174                         <!-- Copy static web files before executing gwt:run -->
175                         <plugin>
176                                 <groupId>org.apache.maven.plugins</groupId>
177                                 <artifactId>maven-war-plugin</artifactId>
178                                 <version>2.2</version>
179                                 <executions>
180                                         <execution>
181                                                 <phase>compile</phase>
182                                                 <goals>
183                                                         <goal>exploded</goal>
184                                                 </goals>
185                                         </execution>
186                                 </executions>
187                                 <configuration>
188                                         <webappDirectory>${webappDirectory}</webappDirectory>
189                                 </configuration>
190                         </plugin>
191
192                         <plugin>
193                                 <artifactId>maven-assembly-plugin</artifactId>
194                                 <version>2.3</version>
195                                 <configuration>
196                                         <descriptors>
197                                                 <descriptor>assembly.xml</descriptor>
198                                         </descriptors>
199                                         <appendAssemblyId>false</appendAssemblyId>
200                                 </configuration>
201                         </plugin>
202
203                 </plugins>
204                 <pluginManagement>
205                         <plugins>
206                                 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
207                                 <plugin>
208                                         <groupId>org.eclipse.m2e</groupId>
209                                         <artifactId>lifecycle-mapping</artifactId>
210                                         <version>1.0.0</version>
211                                         <configuration>
212                                                 <lifecycleMappingMetadata>
213                                                         <pluginExecutions>
214                                                                 <pluginExecution>
215                                                                         <pluginExecutionFilter>
216                                                                                 <groupId>
217                                                                                         org.apache.maven.plugins
218                                                                                 </groupId>
219                                                                                 <artifactId>
220                                                                                         maven-war-plugin
221                                                                                 </artifactId>
222                                                                                 <versionRange>
223                                                                                         [2.1.1,)
224                                                                                 </versionRange>
225                                                                                 <goals>
226                                                                                         <goal>exploded</goal>
227                                                                                 </goals>
228                                                                         </pluginExecutionFilter>
229                                                                         <action>
230                                                                                 <ignore></ignore>
231                                                                         </action>
232                                                                 </pluginExecution>
233                                                         </pluginExecutions>
234                                                 </lifecycleMappingMetadata>
235                                         </configuration>
236                                 </plugin>
237                         </plugins>
238                 </pluginManagement>
239         </build>
240
241         <reporting>
242                 <plugins>
243                         <plugin>
244                                 <groupId>org.apache.maven.plugins</groupId>
245                                 <artifactId>maven-surefire-report-plugin</artifactId>
246                                 <version>2.12</version>
247                                 <configuration>
248                                         <!-- your configuration here -->
249                                 </configuration>
250                         </plugin>
251                 </plugins>
252         </reporting>
253
254         <description>gwt-glom (OnlineGlom) is a web UI for Glom database systems.
255 See http://www.glom.org
256 </description>
257         <scm>
258                 <url>http://gitorious.org/online-glom</url>
259         </scm>
260         <issueManagement>
261                 <system>Bugzilla</system>
262                 <url>https://bugzilla.gnome.org/browse.cgi?product=Glom</url>
263         </issueManagement>
264 </project>