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