Skip to content

Commit ea87842

Browse files
authored
Merge pull request #1 from eugenp/master
update
2 parents ff8b9a8 + 1f03524 commit ea87842

4 files changed

Lines changed: 1046 additions & 763 deletions

File tree

google-web-toolkit/pom.xml

Lines changed: 106 additions & 104 deletions
Original file line numberDiff line numberDiff line change
@@ -1,116 +1,118 @@
11
<?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">
2+
<project xmlns="http://maven.apache.org/POM/4.0.0"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
45

5-
<!-- POM file generated with GWT webAppCreator -->
6-
<modelVersion>4.0.0</modelVersion>
7-
<groupId>com.baeldung</groupId>
8-
<artifactId>google_web_toolkit</artifactId>
9-
<packaging>war</packaging>
10-
<version>1.0-SNAPSHOT</version>
11-
<name>com.baeldung.Google_web_toolkit</name>
6+
<!-- POM file generated with GWT webAppCreator -->
7+
<modelVersion>4.0.0</modelVersion>
8+
<groupId>com.baeldung</groupId>
9+
<artifactId>google-web-toolkit</artifactId>
10+
<packaging>war</packaging>
11+
<version>1.0-SNAPSHOT</version>
1212

13-
<properties>
13+
<dependencyManagement>
14+
<dependencies>
15+
<!-- ensure all GWT deps use the same version (unless overridden) -->
16+
<dependency>
17+
<groupId>com.google.gwt</groupId>
18+
<artifactId>gwt</artifactId>
19+
<version>2.8.2</version>
20+
<type>pom</type>
21+
<scope>import</scope>
22+
</dependency>
23+
</dependencies>
24+
</dependencyManagement>
1425

15-
<!-- Setting maven.compiler.source to something different to 1.8
16-
needs that you configure the sourceLevel in gwt-maven-plugin since
17-
GWT compiler 2.8 requires 1.8 (see gwt-maven-plugin block below) -->
18-
<maven.compiler.source>1.8</maven.compiler.source>
19-
<maven.compiler.target>1.8</maven.compiler.target>
26+
<dependencies>
27+
<dependency>
28+
<groupId>com.google.gwt</groupId>
29+
<artifactId>gwt-servlet</artifactId>
30+
<scope>runtime</scope>
31+
</dependency>
32+
<dependency>
33+
<groupId>com.google.gwt</groupId>
34+
<artifactId>gwt-user</artifactId>
35+
<scope>provided</scope>
36+
</dependency>
37+
<dependency>
38+
<groupId>com.google.gwt</groupId>
39+
<artifactId>gwt-dev</artifactId>
40+
<scope>provided</scope>
41+
</dependency>
42+
<dependency>
43+
<groupId>junit</groupId>
44+
<artifactId>junit</artifactId>
45+
<version>4.11</version>
46+
<scope>test</scope>
47+
</dependency>
48+
</dependencies>
2049

21-
<!-- Don't let your Mac use a crazy non-standard encoding -->
22-
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
23-
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
24-
</properties>
50+
<build>
51+
<!-- Output classes directly into the webapp, so that IDEs and "mvn process-classes"
52+
update them in DevMode -->
53+
<outputDirectory>${project.build.directory}/${project.build.finalName}/WEB-INF/classes</outputDirectory>
2554

26-
<dependencyManagement>
27-
<dependencies>
28-
<!-- ensure all GWT deps use the same version (unless overridden) -->
29-
<dependency>
30-
<groupId>com.google.gwt</groupId>
31-
<artifactId>gwt</artifactId>
32-
<version>2.8.2</version>
33-
<type>pom</type>
34-
<scope>import</scope>
35-
</dependency>
36-
</dependencies>
37-
</dependencyManagement>
55+
<plugins>
3856

39-
<dependencies>
40-
<dependency>
41-
<groupId>com.google.gwt</groupId>
42-
<artifactId>gwt-servlet</artifactId>
43-
<scope>runtime</scope>
44-
</dependency>
45-
<dependency>
46-
<groupId>com.google.gwt</groupId>
47-
<artifactId>gwt-user</artifactId>
48-
<scope>provided</scope>
49-
</dependency>
50-
<dependency>
51-
<groupId>com.google.gwt</groupId>
52-
<artifactId>gwt-dev</artifactId>
53-
<scope>provided</scope>
54-
</dependency>
55-
<dependency>
56-
<groupId>junit</groupId>
57-
<artifactId>junit</artifactId>
58-
<version>4.11</version>
59-
<scope>test</scope>
60-
</dependency>
61-
</dependencies>
57+
<!-- GWT Maven Plugin -->
58+
<plugin>
59+
<groupId>net.ltgt.gwt.maven</groupId>
60+
<artifactId>gwt-maven-plugin</artifactId>
61+
<version>1.0-rc-8</version>
62+
<executions>
63+
<execution>
64+
<goals>
65+
<goal>compile</goal>
66+
<goal>test</goal>
67+
</goals>
68+
</execution>
69+
</executions>
70+
<configuration>
71+
<moduleName>com.baeldung.Google_web_toolkit</moduleName>
72+
<moduleShortName>Google_web_toolkit</moduleShortName>
73+
<failOnError>true</failOnError>
74+
<!-- GWT compiler 2.8 requires 1.8, hence define sourceLevel here if
75+
you use a different source language for java compilation -->
76+
<sourceLevel>1.8</sourceLevel>
77+
<!-- Compiler configuration -->
78+
<compilerArgs>
79+
<!-- Ask GWT to create the Story of Your Compile (SOYC) (gwt:compile) -->
80+
<arg>-compileReport</arg>
81+
<arg>-XcompilerMetrics</arg>
82+
</compilerArgs>
83+
<!-- DevMode configuration -->
84+
<warDir>${project.build.directory}/${project.build.finalName}</warDir>
85+
<classpathScope>compile+runtime</classpathScope>
86+
<!-- URL(s) that should be opened by DevMode (gwt:devmode). -->
87+
<startupUrls>
88+
<startupUrl>Google_web_toolkit.html</startupUrl>
89+
</startupUrls>
90+
</configuration>
91+
</plugin>
6292

63-
<build>
64-
<!-- Output classes directly into the webapp, so that IDEs and "mvn process-classes" update them in DevMode -->
65-
<outputDirectory>${project.build.directory}/${project.build.finalName}/WEB-INF/classes</outputDirectory>
93+
<!-- Skip normal test execution, we use gwt:test instead -->
94+
<plugin>
95+
<artifactId>maven-surefire-plugin</artifactId>
96+
<version>2.17</version>
97+
<configuration>
98+
<skip>true</skip>
99+
</configuration>
100+
</plugin>
66101

67-
<plugins>
102+
</plugins>
103+
</build>
104+
105+
<properties>
68106

69-
<!-- GWT Maven Plugin-->
70-
<plugin>
71-
<groupId>net.ltgt.gwt.maven</groupId>
72-
<artifactId>gwt-maven-plugin</artifactId>
73-
<version>1.0-rc-8</version>
74-
<executions>
75-
<execution>
76-
<goals>
77-
<goal>compile</goal>
78-
<goal>test</goal>
79-
</goals>
80-
</execution>
81-
</executions>
82-
<configuration>
83-
<moduleName>com.baeldung.Google_web_toolkit</moduleName>
84-
<moduleShortName>Google_web_toolkit</moduleShortName>
85-
<failOnError>true</failOnError>
86-
<!-- GWT compiler 2.8 requires 1.8, hence define sourceLevel here if you use
87-
a different source language for java compilation -->
88-
<sourceLevel>1.8</sourceLevel>
89-
<!-- Compiler configuration -->
90-
<compilerArgs>
91-
<!-- Ask GWT to create the Story of Your Compile (SOYC) (gwt:compile) -->
92-
<arg>-compileReport</arg>
93-
<arg>-XcompilerMetrics</arg>
94-
</compilerArgs>
95-
<!-- DevMode configuration -->
96-
<warDir>${project.build.directory}/${project.build.finalName}</warDir>
97-
<classpathScope>compile+runtime</classpathScope>
98-
<!-- URL(s) that should be opened by DevMode (gwt:devmode). -->
99-
<startupUrls>
100-
<startupUrl>Google_web_toolkit.html</startupUrl>
101-
</startupUrls>
102-
</configuration>
103-
</plugin>
107+
<!-- Setting maven.compiler.source to something different to 1.8 needs
108+
that you configure the sourceLevel in gwt-maven-plugin since GWT compiler
109+
2.8 requires 1.8 (see gwt-maven-plugin block below) -->
110+
<maven.compiler.source>1.8</maven.compiler.source>
111+
<maven.compiler.target>1.8</maven.compiler.target>
104112

105-
<!-- Skip normal test execution, we use gwt:test instead -->
106-
<plugin>
107-
<artifactId>maven-surefire-plugin</artifactId>
108-
<version>2.17</version>
109-
<configuration>
110-
<skip>true</skip>
111-
</configuration>
112-
</plugin>
113-
114-
</plugins>
115-
</build>
113+
<!-- Don't let your Mac use a crazy non-standard encoding -->
114+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
115+
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
116+
</properties>
117+
116118
</project>

0 commit comments

Comments
 (0)