Add comments with my understanding of the ClientFactory
[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.0-SNAPSHOT</version>
11         <name>OnlineGlom</name>
12
13         <!-- gwt-test-utils is not in the regular maven repository: -->
14         <repositories>
15                 <repository>
16                 <id>forge.octo.com</id>
17                 <url>http://forge.octo.com/nexus/content/repositories/releases/</url>
18                 </repository>
19         </repositories>
20
21         <properties>
22                 <!-- Convenience property to set the GWT version -->
23                 <gwt.version>2.4.0</gwt.version>
24                 <!-- GWT requires java 1.6 -->
25                 <maven.compiler.source>1.6</maven.compiler.source>
26                 <maven.compiler.target>1.6</maven.compiler.target>
27                 <webappDirectory>${project.build.directory}/${project.build.finalName}</webappDirectory>
28         </properties>
29
30         <dependencies>
31                 <dependency>
32                         <groupId>com.google.gwt</groupId>
33                         <artifactId>gwt-servlet</artifactId>
34                         <version>${gwt.version}</version>
35                         <scope>runtime</scope>
36                 </dependency>
37                 <dependency>
38                         <groupId>com.google.gwt</groupId>
39                         <artifactId>gwt-user</artifactId>
40                         <version>${gwt.version}</version>
41                         <scope>provided</scope>
42                 </dependency>
43                 <!-- Since the java-libglom jar uses jni it can only be loaded once and 
44                         therefore must not be included in each war. Instead the java-libglom jar 
45                         must be placed in $CATALINA_HOME/lib. Scope provided ensures that the jar 
46                         is available for compiling and testing but will not be packaged in the war. 
47                         More information about this deploying servlets that use jni jars can be found 
48                         in the "JNI Based Applications" section of the Tomcat release notes:
49                         http://tomcat.apache.org/tomcat-7.0-doc/RELEASE-NOTES.txt -->
50                 <dependency>
51                         <groupId>org.glom.libglom</groupId>
52                         <artifactId>java-libglom</artifactId>
53                         <version>1.19.1</version>
54                         <scope>provided</scope>
55                 </dependency>
56                 <dependency>
57                         <groupId>c3p0</groupId>
58                         <artifactId>c3p0</artifactId>
59                         <version>0.9.1.2</version>
60                         <type>jar</type>
61                         <scope>compile</scope>
62                 </dependency>
63                 <dependency>
64                         <groupId>postgresql</groupId>
65                         <artifactId>postgresql</artifactId>
66                         <version>8.4-702.jdbc4</version>
67                         <type>jar</type>
68                         <scope>runtime</scope>
69                 </dependency>
70                 <dependency>
71                         <groupId>com.allen-sauer.gwt.log</groupId>
72                         <artifactId>gwt-log</artifactId>
73                         <version>3.1.6</version>
74                         <type>jar</type>
75                         <scope>compile</scope>
76                 </dependency>
77                 <dependency>
78                         <groupId>log4j</groupId>
79                         <artifactId>log4j</artifactId>
80                         <version>1.2.16</version>
81                         <type>jar</type>
82                         <scope>runtime</scope>
83                 </dependency>
84                 <dependency>
85                         <groupId>junit</groupId>
86                         <artifactId>junit</artifactId>
87                         <version>4.10</version>
88                         <scope>test</scope>
89                 </dependency>
90                 <dependency>
91                         <groupId>com.octo.gwt.test</groupId>
92                         <artifactId>gwt-test-utils</artifactId>
93                         <version>0.34</version>
94                         <scope>test</scope>
95                 </dependency>
96                 <dependency>
97                         <groupId>org.easymock</groupId>
98                         <artifactId>easymock</artifactId>
99                         <version>3.0</version>
100                         <scope>test</scope>
101                 </dependency>
102         </dependencies>
103
104         <url>http://www.glom.org</url>
105         <build>
106                 <!-- Generate compiled stuff in the folder used for developing mode -->
107                 <outputDirectory>${webappDirectory}/WEB-INF/classes</outputDirectory>
108
109                 <plugins>
110
111                         <!-- GWT Maven Plugin -->
112                         <plugin>
113                                 <groupId>org.codehaus.mojo</groupId>
114                                 <artifactId>gwt-maven-plugin</artifactId>
115                                 <version>2.4.0</version>
116                                 <executions>
117                                         <execution>
118                                                 <goals>
119                                                         <goal>compile</goal>
120                                                         <goal>test</goal>
121                                                 </goals>
122                                         </execution>
123                                 </executions>
124                                 <!-- Plugin configuration. There are many available options, see gwt-maven-plugin 
125                                         documentation at codehaus.org -->
126                                 <configuration>
127                                         <runTarget>OnlineGlom.html</runTarget>
128                                         <hostedWebapp>${webappDirectory}</hostedWebapp>
129                                         <i18nMessagesBundle>org.glom.web.client.Messages</i18nMessagesBundle>
130                                 </configuration>
131                         </plugin>
132
133                         <!-- Copy static web files before executing gwt:run -->
134                         <plugin>
135                                 <groupId>org.apache.maven.plugins</groupId>
136                                 <artifactId>maven-war-plugin</artifactId>
137                                 <version>2.1.1</version>
138                                 <executions>
139                                         <execution>
140                                                 <phase>compile</phase>
141                                                 <goals>
142                                                         <goal>exploded</goal>
143                                                 </goals>
144                                         </execution>
145                                 </executions>
146                                 <configuration>
147                                         <webappDirectory>${webappDirectory}</webappDirectory>
148                                 </configuration>
149                         </plugin>
150
151                 </plugins>
152                 <pluginManagement>
153                         <plugins>
154                                 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
155                                 <plugin>
156                                         <groupId>org.eclipse.m2e</groupId>
157                                         <artifactId>lifecycle-mapping</artifactId>
158                                         <version>1.0.0</version>
159                                         <configuration>
160                                                 <lifecycleMappingMetadata>
161                                                         <pluginExecutions>
162                                                                 <pluginExecution>
163                                                                         <pluginExecutionFilter>
164                                                                                 <groupId>
165                                                                                         org.apache.maven.plugins
166                                                                                 </groupId>
167                                                                                 <artifactId>
168                                                                                         maven-war-plugin
169                                                                                 </artifactId>
170                                                                                 <versionRange>
171                                                                                         [2.1.1,)
172                                                                                 </versionRange>
173                                                                                 <goals>
174                                                                                         <goal>exploded</goal>
175                                                                                 </goals>
176                                                                         </pluginExecutionFilter>
177                                                                         <action>
178                                                                                 <ignore></ignore>
179                                                                         </action>
180                                                                 </pluginExecution>
181                                                         </pluginExecutions>
182                                                 </lifecycleMappingMetadata>
183                                         </configuration>
184                                 </plugin>
185                         </plugins>
186                 </pluginManagement>
187         </build>
188
189         <reporting>
190                 <plugins>
191                         <plugin>
192                                 <groupId>org.apache.maven.plugins</groupId>
193                                 <artifactId>maven-surefire-report-plugin</artifactId>
194                                 <version>2.0</version>
195                                 <configuration>
196                                         <!-- your configuration here -->
197                                 </configuration>
198                         </plugin>
199                 </plugins>
200         </reporting>
201
202 </project>