Some import reorganizing by 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                                 </configuration>
164                         </plugin>
165
166                         <!-- Copy static web files before executing gwt:run -->
167                         <plugin>
168                                 <groupId>org.apache.maven.plugins</groupId>
169                                 <artifactId>maven-war-plugin</artifactId>
170                                 <version>2.2</version>
171                                 <executions>
172                                         <execution>
173                                                 <phase>compile</phase>
174                                                 <goals>
175                                                         <goal>exploded</goal>
176                                                 </goals>
177                                         </execution>
178                                 </executions>
179                                 <configuration>
180                                         <webappDirectory>${webappDirectory}</webappDirectory>
181                                 </configuration>
182                         </plugin>
183
184                         <plugin>
185                                 <artifactId>maven-assembly-plugin</artifactId>
186                                 <version>2.3</version>
187                                 <configuration>
188                                         <descriptors>
189                                                 <descriptor>assembly.xml</descriptor>
190                                         </descriptors>
191                                         <appendAssemblyId>false</appendAssemblyId>
192                                 </configuration>
193                         </plugin>
194
195                 </plugins>
196                 <pluginManagement>
197                         <plugins>
198                                 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
199                                 <plugin>
200                                         <groupId>org.eclipse.m2e</groupId>
201                                         <artifactId>lifecycle-mapping</artifactId>
202                                         <version>1.0.0</version>
203                                         <configuration>
204                                                 <lifecycleMappingMetadata>
205                                                         <pluginExecutions>
206                                                                 <pluginExecution>
207                                                                         <pluginExecutionFilter>
208                                                                                 <groupId>
209                                                                                         org.apache.maven.plugins
210                                                                                 </groupId>
211                                                                                 <artifactId>
212                                                                                         maven-war-plugin
213                                                                                 </artifactId>
214                                                                                 <versionRange>
215                                                                                         [2.1.1,)
216                                                                                 </versionRange>
217                                                                                 <goals>
218                                                                                         <goal>exploded</goal>
219                                                                                 </goals>
220                                                                         </pluginExecutionFilter>
221                                                                         <action>
222                                                                                 <ignore></ignore>
223                                                                         </action>
224                                                                 </pluginExecution>
225                                                         </pluginExecutions>
226                                                 </lifecycleMappingMetadata>
227                                         </configuration>
228                                 </plugin>
229                         </plugins>
230                 </pluginManagement>
231         </build>
232
233         <reporting>
234                 <plugins>
235                         <plugin>
236                                 <groupId>org.apache.maven.plugins</groupId>
237                                 <artifactId>maven-surefire-report-plugin</artifactId>
238                                 <version>2.12</version>
239                                 <configuration>
240                                         <!-- your configuration here -->
241                                 </configuration>
242                         </plugin>
243                 </plugins>
244         </reporting>
245
246         <description>gwt-glom (OnlineGlom) is a web UI for Glom database systems.
247 See http://www.glom.org
248 </description>
249         <scm>
250                 <url>http://gitorious.org/online-glom</url>
251         </scm>
252         <issueManagement>
253                 <system>Bugzilla</system>
254                 <url>https://bugzilla.gnome.org/browse.cgi?product=Glom</url>
255         </issueManagement>
256 </project>