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