<plugin>
<groupId>net.ltgt.gwt.maven</groupId>
<artifactId>gwt-maven-plugin</artifactId>
<version>1.1.0</version>
<executions>
<execution>
<goals>
<goal>compile</goal>
</goals>
</execution>
</executions>
<configuration>
<moduleName>com.medhok.mm.OEV</moduleName>
<moduleShortName>MedicalMgmt</moduleShortName>
<failOnError>true</failOnError>
<!-- GWT compiler 2.8 and above requires 1.8, hence define sourceLevel here if you use
a different source language for java compilation -->
<sourceLevel>1.8</sourceLevel>
<!-- 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>${webappDirectory}</warDir>
<classpathScope>compile+runtime</classpathScope>
<!-- URL(s) that should be opened by DevMode (gwt:devmode). -->
<startupUrls>
<startupUrl>index.html</startupUrl>
</startupUrls>
</configuration>
</plugin>
[1m--- [0;32mgwt:1.1.0:compile [m [1m(default) [m @ [36mOEV [0;1m --- [m
[INFO] Compiling module com.mm.medhok.OEV
[INFO] Tracing compile failure path for type 'com.google.gwt.validation.client.impl.NodeImpl'
[INFO] [ERROR] Errors in 'com/google/gwt/validation/client/impl/NodeImpl.java'
[INFO] [ERROR] Line 81: The method getKey() of type NodeImpl must override or implement a supertype method
[INFO] [ERROR] Line 76: The method getIndex() of type NodeImpl must override or implement a supertype method
[INFO] [ERROR] Line 42: Node cannot be resolved to a type
[INFO] [ERROR] Line 30: Node cannot be resolved to a type
[INFO] [ERROR] Line 102: The method isInIterable() of type NodeImpl must override or implement a supertype method
[INFO] [ERROR] Line 38: Node cannot be resolved to a type
[INFO] [ERROR] Line 20: The import javax.validation.Path cannot be resolved
[INFO] [ERROR] Line 25: Node cannot be resolved to a type
[INFO] [ERROR] Line 28: Node cannot be resolved to a type
[INFO] [ERROR] Line 34: Node cannot be resolved to a type
[INFO] [ERROR] Line 86: The method getName() of type NodeImpl must override or implement a supertype method
[INFO] Tracing compile failure path for type 'com.google.gwt.validation.client.constraints.MinValidatorForNumber'
<dependency>
<groupId>javax.validation</groupId>
<artifactId>validation-api</artifactId>
<version>1.0.0.GA</version>
</dependency>
<dependency>
<groupId>javax.validation</groupId>
<artifactId>validation-api</artifactId>
<version>1.0.0.GA</version>
<!-- Note: use classifier=sources rather than type=java-sources so they're added to the classpath -->
<classifier>sources</classifier>
</dependency>
<build>
<sourceDirectory>src</sourceDirectory>
<!-- Generate compiled stuff in the folder used for developing mode -->
<outputDirectory>${webappDirectory}/WEB-INF/classes</outputDirectory>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>buildnumber-maven-plugin</artifactId>
<version>1.4</version>
<executions>
<execution>
<phase>validate</phase>
<goals>
<goal>create</goal>
</goals>
</execution>
</executions>
<configuration>
<doCheck>false</doCheck>
<getRevisionOnlyOnce>true</getRevisionOnlyOnce>
<shortRevisionLength>8</shortRevisionLength>
<scmBranchPropertyName>scmBranch</scmBranchPropertyName>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-scm-plugin</artifactId>
<version>1.12.0</version>
<configuration>
<providerImplementations>
<git>jgit</git>
</providerImplementations>
</configuration>
<dependencies>
<dependency>
<groupId>org.apache.maven.scm</groupId>
<artifactId>maven-scm-provider-jgit</artifactId>
<version>1.12.0</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<fork>false</fork>
<debug>false</debug>
<debuglevel>lines,vars,source</debuglevel>
</configuration>
</plugin>
<!-- GWT Maven Plugin -->
<plugin>
<groupId>net.ltgt.gwt.maven</groupId>
<artifactId>gwt-maven-plugin</artifactId>
<version>1.1.0</version>
<executions>
<execution>
<goals>
<goal>compile</goal>
</goals>
</execution>
</executions>
<configuration>
<skipModule>true</skipModule>
<moduleName>com.medhok.mm.OEV</moduleName>
<moduleShortName>MedicalMgmt</moduleShortName>
<failOnError>true</failOnError>
<!-- GWT compiler 2.8 and above requires 1.8, hence define sourceLevel here if you use
a different source language for java compilation -->
<sourceLevel>1.8</sourceLevel>
<!-- Compiler configuration -->
<compilerArgs>
<!-- Ask GWT to create the Story of Your Compile (SOYC) (gwt:compile) -->
<arg>-compileReport</arg>
<arg>-XcompilerMetrics</arg>
</compilerArgs>
<jvmArgs>
<jvmArg> -Xmx7G </jvmArg>
<jvmArg> -XX:+UseG1GC </jvmArg>
<jvmArg> -Dgwt.user.agent=${gwt.compile.user.agent} </jvmArg>
</jvmArgs>
<!-- DevMode configuration -->
<warDir>${webappDirectory}</warDir>
<classpathScope>compile+runtime</classpathScope>
<!-- URL(s) that should be opened by DevMode (gwt:devmode). -->
<startupUrls>
<startupUrl>index.html</startupUrl>
</startupUrls>
</configuration>
</plugin>
<!--<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>gwt-maven-plugin</artifactId>
<version>${gwtMavenPluginVersion}</version>
<dependencies>
<dependency>
<groupId>org.gwtproject</groupId>
<artifactId>gwt-user</artifactId>
<version>${gwtVersion}</version>
</dependency>
<dependency>
<groupId>org.gwtproject</groupId>
<artifactId>gwt-dev</artifactId>
<version>${gwtVersion}</version>
</dependency>
</dependencies>
<executions>
<execution>
<goals>
<goal>compile-report</goal>
<goal>compile</goal>
<goal>test</goal>
<goal>i18n</goal>
<goal>generateAsync</goal>
</goals>
</execution>
</executions>
Plugin configuration. There are many available options, see gwt-maven-plugin
documentation at codehaus.org
<configuration>
<modules>
<module>com.medhok.mm.MedicalMgmt</module>
<module>com.medhok.mm.OEV</module>
</modules>
<runTarget>index.html</runTarget>
<hostedWebapp>${webappDirectory}</hostedWebapp>
<gwtSdkFirstInClasspath>true</gwtSdkFirstInClasspath>
<i18nMessagesBundle>com.medhok.mm.client.Messages</i18nMessagesBundle>
<extraJvmArgs>-Xmx1496m -XX:MaxPermSize=256m</extraJvmArgs>
-remoteUI "${gwt_remote_ui_server_port}:${unique_id}" -startupUrl
MedicalMgmt.html -logLevel INFO -port 8888 -war "C:\Users\Pavel Vassiliev\test-workspace\MedicalMgmt\target\medical-mgmt-1.0-SNAPSHOT"
-codeServerPort 9997
extraJvmArgs>-Xmx4G -XX:MaxPermSize=512m -XX:+UseG1GC -Dgwt.compiler.localWorkers=3
-Dgwt.jjs.permutationWorkerFactory=com.google.gwt.dev.ThreadedPermutationWorkerFactory</extraJvmArgs
<extraJvmArgs>-Xmx7G -XX:+UseG1GC -Dgwt.user.agent=${gwt.compile.user.agent}</extraJvmArgs>
</configuration>
</plugin>-->
<!-- Copy static web files before executing gwt:run -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>3.2.0</version>
<executions>
<execution>
<phase>compile</phase>
<goals>
<goal>exploded</goal>
</goals>
</execution>
</executions>
<!-- -->
<configuration>
<packagingExcludes>images/client/</packagingExcludes>
<webappDirectory>${webappDirectory}</webappDirectory>
<webResources>
<webResource>
<directory>webapp</directory>
</webResource>
</webResources>
<archive>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
</manifest>
<manifestEntries>
<Implementation-Build>${buildNumber}</Implementation-Build>
<Implementation-Branch>${scmBranch}</Implementation-Branch>
<SCM-Branch>${scmBranch}</SCM-Branch>
<Jenkins-Build-Number>${BUILD_NUMBER}</Jenkins-Build-Number>
<Jenkins-Build-Url>${BUILD_URL}</Jenkins-Build-Url>
<Jenkins-Git-Commit>${GIT_COMMIT}</Jenkins-Git-Commit>
<Jenkins-Build-Time>${BUILD_TIMESTAMP}</Jenkins-Build-Time>
<Build-Time>${maven.build.timestamp}</Build-Time>
<Build-Host>${agent.name}</Build-Host>
<Build-User>${user.name}</Build-User>
<Build-Maven>Maven ${maven.version}</Build-Maven>
<Build-Java>${java.version}</Build-Java>
<Build-OS>${os.name}</Build-OS>
<Build-Label>${project.artifactId}.${project.version}</Build-Label>
<Build-Path>${basedir}</Build-Path>
<Release-Version>${release.info}</Release-Version>
</manifestEntries>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>com.mycila</groupId>
<artifactId>license-maven-plugin</artifactId>
<version>4.3</version>
<configuration>
<licenseSets>
<licenseSet>
<header>src/main/resources/header.txt</header>
<includes>
<include>src/**/*.java</include>
</includes>
</licenseSet>
</licenseSets>
</configuration>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<fork>true</fork>
<debug>true</debug>
<debuglevel>lines,vars,source</debuglevel>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
@Thomas Broyer,What will be the equivalent argument for the following in the new plugin:<extraJvmArgs>-Xmx7G -XX:+UseG1GC -Dgwt.user.agent=${gwt.compile.user.agent}</extraJvmArgs>Thanks.
<plugin>
<groupId>net.ltgt.gwt.maven</groupId>
<artifactId>gwt-maven-plugin</artifactId>
<version>1.1.0</version>
<executions>
<execution>
<goals>
<goal>compile</goal>
</goals>
</execution>
</executions>
<configuration>
<moduleName>com.medhok.mm.OEV</moduleName>
<failOnError>true</failOnError>
<!-- GWT compiler 2.8 and above requires 1.8, hence define sourceLevel here if you use
a different source language for java compilation -->
<sourceLevel>1.8</sourceLevel>
<!-- Compiler configuration -->
<compilerArgs>
<!-- Ask GWT to create the Story of Your Compile (SOYC) (gwt:compile) -->
<arg>-compileReport</arg>
<!--<arg>-XcompilerMetrics</arg>-->
</compilerArgs>
<jvmArgs>
<arg>-Xmx7G</arg>
<arg>-XX:+UseG1GC</arg>
</jvmArgs>
<systemProperties>
<gwt.user.agent>${gwt.compile.user.agent}</gwt.user.agent>
</systemProperties>
<!-- 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>index.html</startupUrl>
</startupUrls>
</configuration>
</plugin>