Use the surefire-report plugin.
[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 release notes:
41                         http://tomcat.apache.org/tomcat-7.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                 <dependency>
77                         <groupId>junit</groupId>
78                         <artifactId>junit</artifactId>
79                         <version>4.10</version>
80                         <scope>test</scope>
81                 </dependency>
82         </dependencies>
83
84         <url>http://www.glom.org</url>
85         <build>
86                 <!-- Generate compiled stuff in the folder used for developing mode -->
87                 <outputDirectory>${webappDirectory}/WEB-INF/classes</outputDirectory>
88
89                 <plugins>
90
91                         <!-- GWT Maven Plugin -->
92                         <plugin>
93                                 <groupId>org.codehaus.mojo</groupId>
94                                 <artifactId>gwt-maven-plugin</artifactId>
95                                 <version>2.4.0</version>
96                                 <executions>
97                                         <execution>
98                                                 <goals>
99                                                         <goal>compile</goal>
100                                                         <goal>test</goal>
101                                                 </goals>
102                                         </execution>
103                                 </executions>
104                                 <!-- Plugin configuration. There are many available options, see gwt-maven-plugin 
105                                         documentation at codehaus.org -->
106                                 <configuration>
107                                         <runTarget>OnlineGlom.html</runTarget>
108                                         <hostedWebapp>${webappDirectory}</hostedWebapp>
109                                         <i18nMessagesBundle>org.glom.web.client.Messages</i18nMessagesBundle>
110                                 </configuration>
111                         </plugin>
112
113                         <!-- Copy static web files before executing gwt:run -->
114                         <plugin>
115                                 <groupId>org.apache.maven.plugins</groupId>
116                                 <artifactId>maven-war-plugin</artifactId>
117                                 <version>2.1.1</version>
118                                 <executions>
119                                         <execution>
120                                                 <phase>compile</phase>
121                                                 <goals>
122                                                         <goal>exploded</goal>
123                                                 </goals>
124                                         </execution>
125                                 </executions>
126                                 <configuration>
127                                         <webappDirectory>${webappDirectory}</webappDirectory>
128                                 </configuration>
129                         </plugin>
130
131                 </plugins>
132                 <pluginManagement>
133                         <plugins>
134                                 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
135                                 <plugin>
136                                         <groupId>org.eclipse.m2e</groupId>
137                                         <artifactId>lifecycle-mapping</artifactId>
138                                         <version>1.0.0</version>
139                                         <configuration>
140                                                 <lifecycleMappingMetadata>
141                                                         <pluginExecutions>
142                                                                 <pluginExecution>
143                                                                         <pluginExecutionFilter>
144                                                                                 <groupId>
145                                                                                         org.apache.maven.plugins
146                                                                                 </groupId>
147                                                                                 <artifactId>
148                                                                                         maven-war-plugin
149                                                                                 </artifactId>
150                                                                                 <versionRange>
151                                                                                         [2.1.1,)
152                                                                                 </versionRange>
153                                                                                 <goals>
154                                                                                         <goal>exploded</goal>
155                                                                                 </goals>
156                                                                         </pluginExecutionFilter>
157                                                                         <action>
158                                                                                 <ignore></ignore>
159                                                                         </action>
160                                                                 </pluginExecution>
161                                                         </pluginExecutions>
162                                                 </lifecycleMappingMetadata>
163                                         </configuration>
164                                 </plugin>
165                         </plugins>
166                 </pluginManagement>
167         </build>
168
169         <reporting>
170                 <plugins>
171                         <plugin>
172                                 <groupId>org.apache.maven.plugins</groupId>
173                                 <artifactId>maven-surefire-report-plugin</artifactId>
174                                 <version>2.0</version>
175                                 <configuration>
176                                         <!-- your configuration here -->
177                                 </configuration>
178                         </plugin>
179                 </plugins>
180         </reporting>
181
182 </project>