comparison flys-client/pom.xml @ 0:4e8be5e7855f

Start of a GWT based client for FLYS-3.0 flys-client/trunk@1305 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Tue, 08 Feb 2011 10:29:49 +0000
parents
children 0e22a19852e7
comparison
equal deleted inserted replaced
-1:000000000000 0:4e8be5e7855f
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>de.intevation.flys.client</groupId>
8 <artifactId>FLYS</artifactId>
9 <packaging>war</packaging>
10 <version>1.0-SNAPSHOT</version>
11 <name>de.intevation.flys.client.FLYS</name>
12
13 <properties>
14 <!-- Convenience property to set the GWT version -->
15 <gwtVersion>2.1.1</gwtVersion>
16 <!-- GWT needs at least java 1.5 -->
17 <maven.compiler.source>1.5</maven.compiler.source>
18 <maven.compiler.target>1.5</maven.compiler.target>
19 </properties>
20
21 <dependencies>
22 <dependency>
23 <groupId>com.google.gwt</groupId>
24 <artifactId>gwt-servlet</artifactId>
25 <version>${gwtVersion}</version>
26 <scope>runtime</scope>
27 </dependency>
28 <dependency>
29 <groupId>com.google.gwt</groupId>
30 <artifactId>gwt-user</artifactId>
31 <version>${gwtVersion}</version>
32 <scope>provided</scope>
33 </dependency>
34 <dependency>
35 <groupId>com.google.gwt</groupId>
36 <artifactId>gwt-dev</artifactId>
37 <version>${gwtVersion}</version>
38 <scope>test</scope>
39 </dependency>
40 <dependency>
41 <groupId>junit</groupId>
42 <artifactId>junit</artifactId>
43 <version>4.4</version>
44 <scope>test</scope>
45 </dependency>
46 </dependencies>
47
48 <build>
49 <!-- Generate compiled stuff in the folder used for developing mode -->
50 <outputDirectory>target/www/WEB-INF/classes</outputDirectory>
51
52 <plugins>
53
54 <!-- GWT Maven Plugin-->
55 <plugin>
56 <groupId>org.codehaus.mojo</groupId>
57 <artifactId>gwt-maven-plugin</artifactId>
58 <!-- JS is only needed in the package phase, this speeds up testing -->
59 <executions>
60 <execution>
61 <phase>prepare-package</phase>
62 <goals>
63 <goal>compile</goal>
64 </goals>
65 </execution>
66 </executions>
67 <!-- Plugin configuration. There are many available options,
68 see gwt-maven-plugin documentation at codehaus.org -->
69 <configuration>
70 <!-- URL that should be automatically opened in the GWT shell (gwt:run). -->
71 <runTarget>FLYS.html</runTarget>
72 <!-- Location of the develop-mode web application structure (gwt:run). -->
73 <hostedWebapp>target/www</hostedWebapp>
74 <!-- Ask GWT to create the Story of Your Compile (SOYC) (gwt:compile) -->
75 <soyc>true</soyc>
76 </configuration>
77 </plugin>
78
79 <!-- Add source folders to test classpath in order to run gwt-tests as normal junit-tests -->
80 <plugin>
81 <artifactId>maven-surefire-plugin</artifactId>
82 <configuration>
83 <additionalClasspathElements>
84 <additionalClasspathElement>${project.build.sourceDirectory}</additionalClasspathElement>
85 <additionalClasspathElement>${project.build.testSourceDirectory}</additionalClasspathElement>
86 </additionalClasspathElements>
87 <useManifestOnlyJar>false</useManifestOnlyJar>
88 <forkMode>always</forkMode>
89
90 <!-- Folder for generated testing stuff -->
91 <systemProperties>
92 <property>
93 <name>gwt.args</name>
94 <value>-out target/www</value>
95 </property>
96 </systemProperties>
97 </configuration>
98 </plugin>
99
100 <!-- Copy static web files before executing gwt:run -->
101 <plugin>
102 <artifactId>maven-resources-plugin</artifactId>
103 <executions>
104 <execution>
105 <phase>compile</phase>
106 <goals>
107 <goal>copy-resources</goal>
108 </goals>
109 <configuration>
110 <outputDirectory>target/www</outputDirectory>
111 <resources>
112 <resource>
113 <directory>src/main/webapp</directory>
114 </resource>
115 </resources>
116 </configuration>
117 </execution>
118 </executions>
119 </plugin>
120
121 <!-- Delete gwt generated stuff -->
122 <plugin>
123 <artifactId>maven-clean-plugin</artifactId>
124 <configuration>
125 <filesets>
126 <fileset><directory>src/main/webapp/flys</directory></fileset>
127 <fileset><directory>src/main/webapp/WEB-INF/classes</directory></fileset>
128 <fileset><directory>tomcat</directory></fileset>
129 <fileset><directory>www-test</directory></fileset>
130 <fileset><directory>.gwt-tmp</directory></fileset>
131 </filesets>
132 </configuration>
133 </plugin>
134
135 </plugins>
136 </build>
137 </project>
138
139

http://dive4elements.wald.intevation.org