maven cleanup

This commit is contained in:
Eugen Paraschiv 2018-07-18 17:10:03 +03:00
parent a866bcce9a
commit 4014be8140

View File

@ -1,27 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?> <?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" <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"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<!-- POM file generated with GWT webAppCreator --> <!-- POM file generated with GWT webAppCreator -->
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>com.baeldung</groupId> <groupId>com.baeldung</groupId>
<artifactId>google_web_toolkit</artifactId> <artifactId>google-web-toolkit</artifactId>
<packaging>war</packaging> <packaging>war</packaging>
<version>1.0-SNAPSHOT</version> <version>1.0-SNAPSHOT</version>
<name>com.baeldung.Google_web_toolkit</name>
<properties>
<!-- 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) -->
<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>
</properties>
<dependencyManagement> <dependencyManagement>
<dependencies> <dependencies>
@ -61,12 +48,13 @@
</dependencies> </dependencies>
<build> <build>
<!-- Output classes directly into the webapp, so that IDEs and "mvn process-classes" update them in DevMode --> <!-- Output classes directly into the webapp, so that IDEs and "mvn process-classes"
update them in DevMode -->
<outputDirectory>${project.build.directory}/${project.build.finalName}/WEB-INF/classes</outputDirectory> <outputDirectory>${project.build.directory}/${project.build.finalName}/WEB-INF/classes</outputDirectory>
<plugins> <plugins>
<!-- GWT Maven Plugin--> <!-- GWT Maven Plugin -->
<plugin> <plugin>
<groupId>net.ltgt.gwt.maven</groupId> <groupId>net.ltgt.gwt.maven</groupId>
<artifactId>gwt-maven-plugin</artifactId> <artifactId>gwt-maven-plugin</artifactId>
@ -83,8 +71,8 @@
<moduleName>com.baeldung.Google_web_toolkit</moduleName> <moduleName>com.baeldung.Google_web_toolkit</moduleName>
<moduleShortName>Google_web_toolkit</moduleShortName> <moduleShortName>Google_web_toolkit</moduleShortName>
<failOnError>true</failOnError> <failOnError>true</failOnError>
<!-- GWT compiler 2.8 requires 1.8, hence define sourceLevel here if you use <!-- GWT compiler 2.8 requires 1.8, hence define sourceLevel here if
a different source language for java compilation --> you use a different source language for java compilation -->
<sourceLevel>1.8</sourceLevel> <sourceLevel>1.8</sourceLevel>
<!-- Compiler configuration --> <!-- Compiler configuration -->
<compilerArgs> <compilerArgs>
@ -113,4 +101,18 @@
</plugins> </plugins>
</build> </build>
<properties>
<!-- 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) -->
<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>
</properties>
</project> </project>