Use the latest java-libglom version.
[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.4.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.7</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.1</version>
75                         <type>jar</type>
76                         <scope>compile</scope>
77                 </dependency>
78                 <dependency>
79                         <groupId>postgresql</groupId>
80                         <artifactId>postgresql</artifactId>
81                         <version>8.4-702.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.6</version>
89                         <type>jar</type>
90                         <scope>compile</scope>
91                 </dependency>
92                 <dependency>
93                         <groupId>commons-lang</groupId>
94                         <artifactId>commons-lang</artifactId>
95                         <version>2.6</version>
96                         <scope>compile</scope>
97                 </dependency>
98             
99                 <dependency>
100                         <groupId>log4j</groupId>
101                         <artifactId>log4j</artifactId>
102                         <version>1.2.16</version>
103                         <type>jar</type>
104                         <scope>runtime</scope>
105                 </dependency>
106                 <dependency>
107                         <groupId>junit</groupId>
108                         <artifactId>junit</artifactId>
109                         <version>4.10</version>
110                         <scope>test</scope>
111                 </dependency>
112                 <dependency>
113                         <groupId>com.octo.gwt.test</groupId>
114                         <artifactId>gwt-test-utils</artifactId>
115                         <version>0.34</version>
116                         <scope>test</scope>
117                 </dependency>
118                 <dependency>
119                         <groupId>org.easymock</groupId>
120                         <artifactId>easymock</artifactId>
121                         <version>3.0</version>
122                         <scope>test</scope>
123                 </dependency>
124         </dependencies>
125
126         <url>http://www.glom.org</url>
127         <build>
128                 <!-- Generate compiled stuff in the folder used for developing mode -->
129                 <outputDirectory>${webappDirectory}/WEB-INF/classes</outputDirectory>
130
131                 <plugins>
132
133                         <!-- GWT Maven Plugin -->
134                         <plugin>
135                                 <groupId>org.codehaus.mojo</groupId>
136                                 <artifactId>gwt-maven-plugin</artifactId>
137                                 <version>2.4.0</version>
138                                 <executions>
139                                         <execution>
140                                                 <goals>
141                                                         <goal>i18n</goal>
142                                                         <goal>compile</goal>
143                                                         <goal>test</goal>
144                                                 </goals>
145                                         </execution>
146                                 </executions>
147                                 <!-- Plugin configuration. There are many available options, see gwt-maven-plugin 
148                                         documentation at codehaus.org -->
149                                 <configuration>
150                                         <runTarget>OnlineGlom.html</runTarget>
151                                         <hostedWebapp>${webappDirectory}</hostedWebapp>
152                                         <i18nConstantsBundles>
153                                           <i18nConstantsBundle>org.glom.web.client.ui.OnlineGlomConstants</i18nConstantsBundle>
154                                         </i18nConstantsBundles>
155                                 </configuration>
156                         </plugin>
157
158                         <!-- Copy static web files before executing gwt:run -->
159                         <plugin>
160                                 <groupId>org.apache.maven.plugins</groupId>
161                                 <artifactId>maven-war-plugin</artifactId>
162                                 <version>2.1.1</version>
163                                 <executions>
164                                         <execution>
165                                                 <phase>compile</phase>
166                                                 <goals>
167                                                         <goal>exploded</goal>
168                                                 </goals>
169                                         </execution>
170                                 </executions>
171                                 <configuration>
172                                         <webappDirectory>${webappDirectory}</webappDirectory>
173                                 </configuration>
174                         </plugin>
175
176                         <plugin>
177                                 <artifactId>maven-assembly-plugin</artifactId>
178                                 <version>2.2.2</version>
179                                 <configuration>
180                                         <descriptors>
181                                                 <descriptor>assembly.xml</descriptor>
182                                         </descriptors>
183                                         <appendAssemblyId>false</appendAssemblyId>
184                                 </configuration>
185                         </plugin>
186
187                 </plugins>
188                 <pluginManagement>
189                         <plugins>
190                                 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
191                                 <plugin>
192                                         <groupId>org.eclipse.m2e</groupId>
193                                         <artifactId>lifecycle-mapping</artifactId>
194                                         <version>1.0.0</version>
195                                         <configuration>
196                                                 <lifecycleMappingMetadata>
197                                                         <pluginExecutions>
198                                                                 <pluginExecution>
199                                                                         <pluginExecutionFilter>
200                                                                                 <groupId>
201                                                                                         org.apache.maven.plugins
202                                                                                 </groupId>
203                                                                                 <artifactId>
204                                                                                         maven-war-plugin
205                                                                                 </artifactId>
206                                                                                 <versionRange>
207                                                                                         [2.1.1,)
208                                                                                 </versionRange>
209                                                                                 <goals>
210                                                                                         <goal>exploded</goal>
211                                                                                 </goals>
212                                                                         </pluginExecutionFilter>
213                                                                         <action>
214                                                                                 <ignore></ignore>
215                                                                         </action>
216                                                                 </pluginExecution>
217                                                         </pluginExecutions>
218                                                 </lifecycleMappingMetadata>
219                                         </configuration>
220                                 </plugin>
221                         </plugins>
222                 </pluginManagement>
223         </build>
224
225         <reporting>
226                 <plugins>
227                         <plugin>
228                                 <groupId>org.apache.maven.plugins</groupId>
229                                 <artifactId>maven-surefire-report-plugin</artifactId>
230                                 <version>2.0</version>
231                                 <configuration>
232                                         <!-- your configuration here -->
233                                 </configuration>
234                         </plugin>
235                 </plugins>
236         </reporting>
237
238         <description>gwt-glom (OnlineGlom) is a web UI for Glom database systems.
239 See http://www.glom.org
240 </description>
241         <scm>
242                 <url>http://gitorious.org/online-glom</url>
243         </scm>
244         <issueManagement>
245                 <system>Bugzilla</system>
246                 <url>https://bugzilla.gnome.org/browse.cgi?product=Glom</url>
247         </issueManagement>
248 </project>