-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpom.xml
163 lines (150 loc) · 5.35 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.florianf.gwtcordova.showcase</groupId>
<artifactId>gwtcordova-showcase</artifactId>
<packaging>war</packaging>
<version>0.1-SNAPSHOT</version>
<name>GWT Cordova Demo</name>
<properties>
<!-- Convenience property to set the GWT version -->
<gwtVersion>2.8.0-beta1</gwtVersion>
<!-- Note: GWT needs at least java 1.6 -->
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
</properties>
<repositories>
<repository>
<id>sonatype-snapshots</id>
<url>http://oss.sonatype.org/content/repositories/snapshots</url>
<snapshots><enabled>true</enabled></snapshots>
<releases><enabled>false</enabled></releases>
</repository>
<repository>
<id>google-snapshots</id>
<url>https://oss.sonatype.org/content/repositories/google-snapshots/</url>
<snapshots><enabled>true</enabled></snapshots>
</repository>
<repository>
<id>vaadin-snapshots</id>
<url>https://oss.sonatype.org/content/repositories/vaadin-snapshots/</url>
<snapshots><enabled>true</enabled></snapshots>
</repository>
<!--gwtcordova-->
<!--<repository>-->
<!--<id>repo</id>-->
<!--<!–<name>com.florianf.gwtcordova.GwtCordova</name>–>-->
<!--<url>file:${project.basedir}/repo</url>-->
<!--</repository>-->
</repositories>
<dependencyManagement>
<dependencies>
<!-- ensure all GWT deps use the same version (unless overridden) -->
<dependency>
<groupId>com.google.gwt</groupId>
<artifactId>gwt</artifactId>
<version>${gwtVersion}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>com.google.gwt</groupId>
<artifactId>gwt-servlet</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>com.google.gwt</groupId>
<artifactId>gwt-user</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.google.gwt</groupId>
<artifactId>gwt-dev</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.google.gwt</groupId>
<artifactId>gwt-codeserver</artifactId>
<scope>provided</scope>
</dependency>
<!--<dependency>-->
<!--<groupId>com.vaadin.polymer</groupId>-->
<!--<artifactId>vaadin-gwt-polymer-elements</artifactId>-->
<!--<version>1.2.3.0</version>-->
<!--<scope>provided</scope>-->
<!--</dependency>-->
<!--gwtcordova-->
<dependency>
<!--<groupId>com.florianf.gwtcordova</groupId>-->
<!--<artifactId>GwtCordova</artifactId>-->
<!--<!–<version>0.1-SNAPSHOT</version>–>-->
<!--<version>0.1</version>-->
<groupId>com.florianf.gwtcordova</groupId>
<artifactId>gwtcordova</artifactId>
<version>0.1</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.11</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.appium</groupId>
<artifactId>java-client</artifactId>
<version>3.2.0</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<!-- GWT Maven Plugin-->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>gwt-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>compile</goal>
</goals>
</execution>
</executions>
<!-- Plugin configuration. There are many available options,
see gwt-maven-plugin documentation at codehaus.org -->
<configuration>
<disableCastChecking>true</disableCastChecking>
<disableClassMetadata>true</disableClassMetadata>
<enableAssertions>false</enableAssertions>
<closureCompiler>true</closureCompiler>
<style>PRETTY</style>
<modules>
<module>com.florianf.gwtcordovashowcase.GwtCordovaShowcase</module>
</modules>
<!-- URL that should be opened by DevMode (gwt:run). -->
<runTarget>index.html</runTarget>
<bindAddress>0.0.0.0</bindAddress>
<copyWebapp>true</copyWebapp>
<warSourceDirectory>${basedir}/src/main/webapp_sdm</warSourceDirectory>
<workDir>${basedir}/target/sdm_workdir</workDir>
<launcherDir>${basedir}/sdm_launch</launcherDir>
<!-- Ask GWT to create the Story of Your Compile (SOYC) (gwt:compile) -->
<compileReport>true</compileReport>
<compilerMetrics>true</compilerMetrics>
</configuration>
</plugin>
<!-- Skip normal test execution, we use gwt:test instead -->
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.17</version>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</build>
</project>