comparison gwt-client/pom.xml @ 5838:5aa05a7a34b7

Rename modules to more fitting names.
author Sascha L. Teichmann <teichmann@intevation.de>
date Thu, 25 Apr 2013 15:23:37 +0200
parents flys-client/pom.xml@795218cf62eb
children 4195b0ed324b
comparison
equal deleted inserted replaced
5837:d9901a08d0a6 5838:5aa05a7a34b7
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.dive4elements.river</groupId>
8 <artifactId>client</artifactId>
9 <packaging>war</packaging>
10 <version>1.0-SNAPSHOT</version>
11 <name>org.dive4elements.river.client</name>
12
13 <properties>
14 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
15 <!-- Convenience property to set the GWT version -->
16 <gwtVersion>2.4.0</gwtVersion>
17 <!-- GWT needs at least java 1.5 -->
18 <maven.compiler.source>1.6</maven.compiler.source>
19 <maven.compiler.target>1.6</maven.compiler.target>
20 </properties>
21
22 <dependencies>
23 <dependency>
24 <groupId>com.google.gwt</groupId>
25 <artifactId>gwt-servlet</artifactId>
26 <version>${gwtVersion}</version>
27 <scope>runtime</scope>
28 </dependency>
29 <dependency>
30 <groupId>com.google.gwt</groupId>
31 <artifactId>gwt-user</artifactId>
32 <version>${gwtVersion}</version>
33 <scope>provided</scope>
34 </dependency>
35 <!--dependency>
36 <groupId>com.smartgwt</groupId>
37 <artifactId>smartgwt</artifactId>
38 <version>2.5</version>
39 </dependency-->
40 <dependency>
41 <groupId>com.smartgwt</groupId>
42 <artifactId>smartgwt</artifactId>
43 <version>3.0</version>
44 </dependency>
45 <dependency>
46 <groupId>org.dive4elements</groupId>
47 <artifactId>artifacts-common</artifactId>
48 <version>1.0-SNAPSHOT</version>
49 </dependency>
50 <dependency>
51 <groupId>org.dive4elements</groupId>
52 <artifactId>http-client</artifactId>
53 <version>1.0-SNAPSHOT</version>
54 </dependency>
55 <dependency>
56 <groupId>net.sf.opencsv</groupId>
57 <artifactId>opencsv</artifactId>
58 <version>2.0</version>
59 </dependency>
60 <dependency>
61 <groupId>junit</groupId>
62 <artifactId>junit</artifactId>
63 <version>4.4</version>
64 <scope>test</scope>
65 </dependency>
66 <dependency>
67 <groupId>commons-lang</groupId>
68 <artifactId>commons-lang</artifactId>
69 <version>2.6</version>
70 </dependency>
71 <dependency>
72 <groupId>commons-fileupload</groupId>
73 <artifactId>commons-fileupload</artifactId>
74 <version>1.2.1</version>
75 </dependency>
76 <dependency>
77 <groupId>org.gwtopenmaps.openlayers</groupId>
78 <artifactId>gwt-openlayers-client</artifactId>
79 <version>0.6</version>
80 </dependency>
81 <dependency>
82 <groupId>commons-httpclient</groupId>
83 <artifactId>commons-httpclient</artifactId>
84 <version>3.1</version>
85 </dependency>
86 <dependency>
87 <groupId>org.apache.httpcomponents</groupId>
88 <artifactId>httpclient</artifactId>
89 <version>4.2</version>
90 </dependency>
91 <dependency>
92 <groupId>log4j</groupId>
93 <artifactId>log4j</artifactId>
94 <version>1.2.14</version>
95 </dependency>
96 <dependency>
97 <groupId>org.mapfish.print</groupId>
98 <artifactId>print-lib</artifactId>
99 <version>1.2-SNAPSHOT</version>
100 </dependency>
101 <dependency>
102 <groupId>org.jdom</groupId>
103 <artifactId>jdom</artifactId>
104 <version>1.1.3</version>
105 </dependency>
106 <dependency>
107 <groupId>commons-io</groupId>
108 <artifactId>commons-io</artifactId>
109 <version>2.2</version>
110 </dependency>
111 <dependency>
112 <groupId>commons-codec</groupId>
113 <artifactId>commons-codec</artifactId>
114 <version>1.4</version>
115 </dependency>
116 </dependencies>
117
118 <build>
119 <!-- Generate compiled stuff in the folder used for developing mode -->
120 <outputDirectory>target/www/WEB-INF/classes</outputDirectory>
121
122 <plugins>
123
124 <!-- GWT Maven Plugin-->
125 <plugin>
126 <groupId>org.codehaus.mojo</groupId>
127 <artifactId>gwt-maven-plugin</artifactId>
128 <version>${gwtVersion}</version>
129 <dependencies>
130 <dependency>
131 <groupId>com.google.gwt</groupId>
132 <artifactId>gwt-user</artifactId>
133 <version>${gwtVersion}</version>
134 </dependency>
135 <dependency>
136 <groupId>com.google.gwt</groupId>
137 <artifactId>gwt-dev</artifactId>
138 <version>${gwtVersion}</version>
139 </dependency>
140 </dependencies>
141 <!-- JS is only needed in the package phase, this speeds up testing -->
142 <executions>
143 <execution>
144 <phase>prepare-package</phase>
145 <goals>
146 <goal>compile</goal>
147 </goals>
148 </execution>
149 </executions>
150 <!-- Plugin configuration. There are many available options,
151 see gwt-maven-plugin documentation at codehaus.org -->
152 <configuration>
153 <!-- URL that should be automatically opened in the GWT shell (gwt:run). -->
154 <runTarget>FLYS.html</runTarget>
155 <!-- Location of the develop-mode web application structure (gwt:run). -->
156 <hostedWebapp>target/www</hostedWebapp>
157 <!-- Ask GWT to create the Story of Your Compile (SOYC) (gwt:compile) -->
158 <soyc>true</soyc>
159 </configuration>
160 </plugin>
161
162 <!-- Add source folders to test classpath in order to run gwt-tests as normal junit-tests -->
163 <plugin>
164 <artifactId>maven-surefire-plugin</artifactId>
165 <configuration>
166 <additionalClasspathElements>
167 <additionalClasspathElement>${project.build.sourceDirectory}</additionalClasspathElement>
168 <additionalClasspathElement>${project.build.testSourceDirectory}</additionalClasspathElement>
169 </additionalClasspathElements>
170 <useManifestOnlyJar>false</useManifestOnlyJar>
171 <forkMode>always</forkMode>
172
173 <!-- Folder for generated testing stuff -->
174 <systemProperties>
175 <property>
176 <name>gwt.args</name>
177 <value>-out target/www</value>
178 </property>
179 </systemProperties>
180 </configuration>
181 </plugin>
182
183 <!-- Copy static web files before executing gwt:run -->
184 <plugin>
185 <artifactId>maven-resources-plugin</artifactId>
186 <executions>
187 <execution>
188 <phase>compile</phase>
189 <goals>
190 <goal>copy-resources</goal>
191 </goals>
192 <configuration>
193 <outputDirectory>target/www</outputDirectory>
194 <resources>
195 <resource>
196 <directory>src/main/webapp</directory>
197 </resource>
198 </resources>
199 </configuration>
200 </execution>
201 </executions>
202 </plugin>
203
204 <!-- Delete gwt generated stuff -->
205 <plugin>
206 <artifactId>maven-clean-plugin</artifactId>
207 <configuration>
208 <filesets>
209 <fileset><directory>src/main/webapp/flys</directory></fileset>
210 <fileset><directory>src/main/webapp/WEB-INF/classes</directory></fileset>
211 <fileset><directory>tomcat</directory></fileset>
212 <fileset><directory>www-test</directory></fileset>
213 <fileset><directory>.gwt-tmp</directory></fileset>
214 </filesets>
215 </configuration>
216 </plugin>
217
218 </plugins>
219 </build>
220 <repositories>
221 <repository>
222 <id>com.smartgwt</id>
223 <name>SmartGWT</name>
224 <url>http://www.smartclient.com/maven2</url>
225 </repository>
226 <repository>
227 <id>org.mapfish</id>
228 <url>http://dev.mapfish.org/maven/repository</url>
229 </repository>
230 <repository>
231 <id>osgeo</id>
232 <name>Open Source Geospatial Foundation Repository</name>
233 <url>http://download.osgeo.org/webdav/geotools/</url>
234 </repository>
235 </repositories>
236 </project>

http://dive4elements.wald.intevation.org