2019-10-31 20:43:47 -05:00
<?xml version="1.0" encoding="UTF-8"?>
2020-03-22 07:24:38 +05:30
<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" >
2019-12-05 16:56:52 +02:00
<!-- POM file generated with GWT webAppCreator -->
<modelVersion> 4.0.0</modelVersion>
<artifactId> google-web-toolkit</artifactId>
<version> 1.0-SNAPSHOT</version>
<name> google-web-toolkit</name>
<packaging> war</packaging>
2019-10-31 20:43:47 -05:00
<parent>
<groupId> com.baeldung</groupId>
<artifactId> parent-modules</artifactId>
<version> 1.0.0-SNAPSHOT</version>
</parent>
2019-12-05 16:56:52 +02:00
<dependencyManagement>
<dependencies>
<!-- ensure all GWT deps use the same version (unless overridden) -->
<dependency>
<groupId> com.google.gwt</groupId>
<artifactId> gwt</artifactId>
<version> ${gwt.version}</version>
<type> pom</type>
<scope> import</scope>
</dependency>
</dependencies>
</dependencyManagement>
2019-10-31 20:43:47 -05:00
2019-12-05 16:56:52 +02:00
<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> junit</groupId>
<artifactId> junit</artifactId>
<version> ${junit.version}</version>
<scope> test</scope>
</dependency>
</dependencies>
2019-10-31 20:43:47 -05:00
2019-12-05 16:56:52 +02:00
<build>
2020-03-22 07:24:38 +05:30
<!-- Output classes directly into the webapp, so that IDEs and "mvn process-classes" update them in DevMode -->
2019-12-05 16:56:52 +02:00
<outputDirectory> ${project.build.directory}/${project.build.finalName}/WEB-INF/classes</outputDirectory>
2019-10-31 20:43:47 -05:00
2019-12-05 16:56:52 +02:00
<plugins>
2019-10-31 20:43:47 -05:00
2019-12-05 16:56:52 +02:00
<!-- GWT Maven Plugin -->
<plugin>
<groupId> net.ltgt.gwt.maven</groupId>
<artifactId> gwt-maven-plugin</artifactId>
2020-01-16 01:53:26 +05:30
<version> ${gwt.plugin.version}</version>
2019-12-05 16:56:52 +02:00
<executions>
<execution>
<goals>
<goal> compile</goal>
<goal> test</goal>
</goals>
</execution>
</executions>
<configuration>
<moduleName> com.baeldung.Google_web_toolkit</moduleName>
<moduleShortName> Google_web_toolkit</moduleShortName>
<failOnError> true</failOnError>
2020-03-22 07:24:38 +05:30
<!-- GWT compiler 2.8 requires 1.8, hence define sourceLevel here if you use a different source language for java compilation -->
2020-01-16 01:53:26 +05:30
<sourceLevel> ${maven.compiler.source}</sourceLevel>
2019-12-05 16:56:52 +02:00
<!-- Compiler configuration -->
<compilerArgs>
<!-- Ask GWT to create the Story of Your Compile (SOYC) (gwt:compile) -->
<arg> -compileReport</arg>
<arg> -XcompilerMetrics</arg>
</compilerArgs>
<!-- DevMode configuration -->
<warDir> ${project.build.directory}/${project.build.finalName}</warDir>
<classpathScope> compile+runtime</classpathScope>
<!-- URL(s) that should be opened by DevMode (gwt:devmode). -->
<startupUrls>
<startupUrl> Google_web_toolkit.html</startupUrl>
</startupUrls>
</configuration>
</plugin>
2019-10-31 20:43:47 -05:00
2019-12-05 16:56:52 +02:00
<!-- Skip normal test execution, we use gwt:test instead -->
<plugin>
<artifactId> maven-surefire-plugin</artifactId>
2020-01-16 01:53:26 +05:30
<version> ${surefire.plugin.version}</version>
2019-12-05 16:56:52 +02:00
<configuration>
<skip> true</skip>
</configuration>
</plugin>
2019-10-31 20:43:47 -05:00
2019-12-05 16:56:52 +02:00
</plugins>
</build>
2019-10-31 20:43:47 -05:00
2019-12-05 16:56:52 +02:00
<properties>
2020-03-22 07:24:38 +05:30
<!-- Setting maven.compiler.source to something different to 1.8 needs that you configure the sourceLevel in gwt-maven-plugin since GWT compiler 2.8 requires 1.8 (see gwt-maven-plugin
block below) -->
2019-12-05 16:56:52 +02:00
<maven.compiler.source> 1.8</maven.compiler.source>
<maven.compiler.target> 1.8</maven.compiler.target>
<!-- Don't let your Mac use a crazy non-standard encoding -->
<project.build.sourceEncoding> UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding> UTF-8</project.reporting.outputEncoding>
<gwt.version> 2.8.2</gwt.version>
2020-01-16 01:53:26 +05:30
<gwt.plugin.version> 1.0-rc-8</gwt.plugin.version>
<surefire.plugin.version> 2.17</surefire.plugin.version>
2019-12-05 16:56:52 +02:00
</properties>
2019-10-31 20:43:47 -05:00
</project>