Last active
January 19, 2020 09:00
-
-
Save slugmandrew/1d9acf86be2c7db89031dc60de9df6e2 to your computer and use it in GitHub Desktop.
Multi-module maven setup for GWT 2.8.0-RC1 (that breaks Super Dev Mode)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<parent> | |
<groupId>com.utilitiessavings.usavapp</groupId> | |
<artifactId>parent</artifactId> | |
<version>1.0-SNAPSHOT</version> | |
</parent> | |
<artifactId>UsavAppV7</artifactId> | |
<version>1.0-SNAPSHOT</version> | |
<packaging>war</packaging> | |
<name>Utilities Savings Intranet Portal</name> | |
<description>Energy Management and CRM system using GWT, GWTP, GwtBootstrap3, AppEngine and Objectify</description> | |
<properties> | |
<gwt-maven-plugin.version>2.8.0-rc1</gwt-maven-plugin.version> | |
<webappDirectory>${project.build.directory}/${project.build.finalName}</webappDirectory> | |
<gae.home>${settings.localRepository}/com/google/appengine/appengine-java-sdk/${gae.version}</gae.home> | |
<mvn.gae.home> | |
${settings.localRepository}/com/google/appengine/appengine-java-sdk/${gae.version}/appengine-java-sdk/appengine-java-sdk-${gae.version} | |
</mvn.gae.home> | |
</properties> | |
<build> | |
<outputDirectory>${webappDirectory}/WEB-INF/classes</outputDirectory> | |
<plugins> | |
<!-- GWT --> | |
<!-- 'mvn gwt:run' - runs development mode --> | |
<!-- 'mvn gwt:debug' - runs debug mode --> | |
<!-- 'mvn gwt:compile' - compiles gwt --> | |
<!-- 'mvn integration-test' - runs the gwt tests (*GwtTest.java) --> | |
<plugin> | |
<groupId>org.codehaus.mojo</groupId> | |
<artifactId>gwt-maven-plugin</artifactId> | |
<version>${gwt-maven-plugin.version}</version> | |
<configuration> | |
<strict>true</strict> | |
<testTimeOut>180</testTimeOut> | |
<!-- With multiple tests use GwtTestSuite.java for speed --> | |
<includes>**/*GwtTest.java</includes> | |
<mode>htmlunit</mode> | |
<logLevel>INFO</logLevel> | |
<style>PRETTY</style> | |
<copyWebapp>true</copyWebapp> | |
<hostedWebapp>${webappDirectory}</hostedWebapp> | |
<server>com.google.appengine.tools.development.gwt.AppEngineLauncher</server> | |
<appEngineVersion>${gae.version}</appEngineVersion> | |
<extraJvmArgs>-Ddatastore.default_high_rep_job_policy_unapplied_job_pct=10 -Xmx2g -Dappengine.sdk.root=${mvn.gae.home} | |
</extraJvmArgs> | |
<!--<superDevMode>false</superDevMode>--> | |
<!--<incremental>true</incremental>--> | |
<bindAddress>0.0.0.0</bindAddress> | |
<runTarget>Project.html</runTarget> | |
<modules> | |
<module>com.utilitiessavings.usavappv7.Project</module> | |
</modules> | |
</configuration> | |
<executions> | |
<execution> | |
<goals> | |
<goal>compile</goal> | |
<goal>test</goal> | |
</goals> | |
</execution> | |
</executions> | |
</plugin> | |
<!-- Google App Engine Deployment --> | |
<plugin> | |
<groupId>com.google.appengine</groupId> | |
<artifactId>appengine-maven-plugin</artifactId> | |
<!--<version>${gae.version}</version>--> | |
<version>1.9.38</version> | |
<configuration> | |
<enableJarSplitting>true</enableJarSplitting> | |
<address>0.0.0.0</address> | |
</configuration> | |
</plugin> | |
<plugin> | |
<groupId>com.google.appengine</groupId> | |
<artifactId>gcloud-maven-plugin</artifactId> | |
<configuration> | |
<verbosity>info</verbosity> | |
<runtime>java</runtime> | |
<!--<gcloud_directory>c:\program files (x86)\google\cloud sdk\google-cloud-sdk</gcloud_directory>--> | |
<enable_cloud_datastore>true</enable_cloud_datastore> | |
<!--<clear_datastore>true</clear_datastore>--> | |
<!--<host>localhost:8888</host>--> | |
</configuration> | |
<version>2.0.9.106.v20160420</version> | |
</plugin> | |
</plugins> | |
</build> | |
<dependencies> | |
<dependency> | |
<groupId>com.utilitiessavings.usavapp</groupId> | |
<artifactId>server</artifactId> | |
<version>${project.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>com.utilitiessavings.usavapp</groupId> | |
<artifactId>client</artifactId> | |
<version>${project.version}</version> | |
<scope>provided</scope> | |
</dependency> | |
<!-- Selenium --> | |
<dependency> | |
<groupId>org.seleniumhq.selenium</groupId> | |
<artifactId>selenium-java</artifactId> | |
<version>2.53.0</version> | |
<scope>test</scope> | |
</dependency> | |
<!-- Conductor (Selenium Wrapper) --> | |
<dependency> | |
<groupId>io.ddavison</groupId> | |
<artifactId>conductor</artifactId> | |
<version>2.2.2</version> | |
<scope>test</scope> | |
</dependency> | |
<!-- Cucumber JVM --> | |
<dependency> | |
<groupId>info.cukes</groupId> | |
<artifactId>cucumber-core</artifactId> | |
<version>${cucumber.version}</version> | |
<scope>test</scope> | |
</dependency> | |
<dependency> | |
<groupId>info.cukes</groupId> | |
<artifactId>cucumber-java</artifactId> | |
<version>${cucumber.version}</version> | |
<scope>test</scope> | |
</dependency> | |
<dependency> | |
<groupId>info.cukes</groupId> | |
<artifactId>cucumber-guice</artifactId> | |
<version>${cucumber.version}</version> | |
<scope>test</scope> | |
</dependency> | |
<dependency> | |
<groupId>info.cukes</groupId> | |
<artifactId>cucumber-junit</artifactId> | |
<version>${cucumber.version}</version> | |
<scope>test</scope> | |
</dependency> | |
</dependencies> | |
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<parent> | |
<groupId>com.utilitiessavings.usavapp</groupId> | |
<artifactId>parent</artifactId> | |
<version>1.0-SNAPSHOT</version> | |
</parent> | |
<artifactId>client</artifactId> | |
<packaging>jar</packaging> | |
<build> | |
<resources> | |
<resource> | |
<directory>src/main/java</directory> | |
<includes> | |
<include>**/*.java</include> | |
<include>**/*.xml</include> | |
</includes> | |
</resource> | |
<resource> | |
<directory>src/main/resources</directory> | |
</resource> | |
</resources> | |
</build> | |
<dependencies> | |
<dependency> | |
<groupId>com.utilitiessavings.usavapp</groupId> | |
<artifactId>shared</artifactId> | |
<version>${project.version}</version> | |
</dependency> | |
<!-- Google Web Toolkit --> | |
<dependency> | |
<groupId>com.google.gwt</groupId> | |
<artifactId>gwt-user</artifactId> | |
<version>${gwt.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>com.google.gwt</groupId> | |
<artifactId>gwt-servlet</artifactId> | |
<version>${gwt.version}</version> | |
<scope>runtime</scope> | |
</dependency> | |
<dependency> | |
<groupId>com.google.gwt</groupId> | |
<artifactId>gwt-dev</artifactId> | |
<version>${gwt.version}</version> | |
</dependency> | |
<!-- Guava --> | |
<dependency> | |
<groupId>com.google.guava</groupId> | |
<artifactId>guava-gwt</artifactId> | |
<version>${guava-version}</version> | |
</dependency> | |
<!-- GWT-Platform dependencies --> | |
<dependency> | |
<groupId>com.gwtplatform</groupId> | |
<artifactId>gwtp-mvp-client</artifactId> | |
<version>${gwtp.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>com.gwtplatform</groupId> | |
<artifactId>gwtp-dispatch-rpc-client</artifactId> | |
<version>${gwtp.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>com.gwtplatform</groupId> | |
<artifactId>gwtp-processors</artifactId> | |
<version>${gwtp.version}</version> | |
<scope>provided</scope> | |
</dependency> | |
<!-- DI dependencies --> | |
<dependency> | |
<groupId>com.google.gwt.inject</groupId> | |
<artifactId>gin</artifactId> | |
<version>${gin.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>com.google.inject.extensions</groupId> | |
<artifactId>guice-assistedinject</artifactId> | |
<version>${guice.version}</version> | |
</dependency> | |
<!-- GWT-Jackson (Serialization) --> | |
<dependency> | |
<groupId>com.github.nmorel.gwtjackson</groupId> | |
<artifactId>gwt-jackson</artifactId> | |
<version>${gwt-jackson.version}</version> | |
</dependency> | |
<!-- GwtBootstrap3 --> | |
<dependency> | |
<groupId>org.gwtbootstrap3</groupId> | |
<artifactId>gwtbootstrap3</artifactId> | |
<version>${gwtbootstrap3.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>org.gwtbootstrap3</groupId> | |
<artifactId>gwtbootstrap3-extras</artifactId> | |
<version>${gwtbootstrap3-extras.version}</version> | |
</dependency> | |
<!-- GwtQuery --> | |
<dependency> | |
<groupId>com.googlecode.gwtquery</groupId> | |
<artifactId>gwtquery</artifactId> | |
<version>1.5-beta1</version> | |
</dependency> | |
<!--Tooltips--> | |
<dependency> | |
<groupId>com.arcbees.gquery</groupId> | |
<artifactId>tooltip</artifactId> | |
<version>1.2-SNAPSHOT</version> | |
</dependency> | |
<!--Gestures--> | |
<dependency> | |
<groupId>com.googlecode.gwtquery.plugins</groupId> | |
<artifactId>gestures-plugin</artifactId> | |
<version>1.0-SNAPSHOT</version> | |
</dependency> | |
<!-- Test --> | |
<dependency> | |
<groupId>com.google.gwt.gwtmockito</groupId> | |
<artifactId>gwtmockito</artifactId> | |
<version>1.1.6</version> | |
<scope>test</scope> | |
</dependency> | |
<!-- Appengine Testing --> | |
<dependency> | |
<groupId>com.google.appengine</groupId> | |
<artifactId>appengine-api-labs</artifactId> | |
<version>${gae.version}</version> | |
<scope>test</scope> | |
</dependency> | |
<dependency> | |
<groupId>com.google.appengine</groupId> | |
<artifactId>appengine-api-stubs</artifactId> | |
<version>${gae.version}</version> | |
<scope>test</scope> | |
</dependency> | |
<dependency> | |
<groupId>com.google.appengine</groupId> | |
<artifactId>appengine-testing</artifactId> | |
<version>${gae.version}</version> | |
<scope>test</scope> | |
</dependency> | |
</dependencies> | |
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>com.utilitiessavings.usavapp</groupId> | |
<artifactId>parent</artifactId> | |
<version>1.0-SNAPSHOT</version> | |
<packaging>pom</packaging> | |
<prerequisites> | |
<maven>3.1.0</maven> | |
</prerequisites> | |
<modules> | |
<module>shared</module> | |
<module>server</module> | |
<module>client</module> | |
<module>app</module> | |
</modules> | |
<properties> | |
<!-- server --> | |
<gae.version>1.9.42</gae.version> | |
<guice.version>4.1.0</guice.version> | |
<jackson.version>2.8.1</jackson.version> | |
<javax.validation.version>1.0.0.GA</javax.validation.version> | |
<hibernate-validator.version>4.1.0.Final</hibernate-validator.version> | |
<objectify.version>5.1.13</objectify.version> | |
<persistence-api.version>1.0.2</persistence-api.version> | |
<servlet-api.version>3.0-alpha-1</servlet-api.version> | |
<slf4j.version>1.7.21</slf4j.version> | |
<apache-poi.version>3.15-beta2</apache-poi.version> | |
<!-- client --> | |
<gin.version>2.1.2</gin.version> | |
<guava-version>20.0-SNAPSHOT</guava-version> | |
<gwt.version>2.8.0-rc1</gwt.version> | |
<gwt-log.version>3.3.2</gwt-log.version> | |
<gwtbootstrap3.version>0.9.3</gwtbootstrap3.version> | |
<gwtbootstrap3-extras.version>0.9.2</gwtbootstrap3-extras.version> | |
<gwtp.version>1.5.3</gwtp.version> | |
<gwt-jackson.version>0.13.0</gwt-jackson.version> | |
<!-- testing --> | |
<junit.version>4.12</junit.version> | |
<jukito.version>1.4.1</jukito.version> | |
<cucumber.version>1.2.4</cucumber.version> | |
<!-- plugins --> | |
<compiler-plugin.version>3.5.1</compiler-plugin.version> | |
<surefire-plugin.version>2.19</surefire-plugin.version> | |
<versions-plugin.version>2.2</versions-plugin.version> | |
<target.jdk>1.8</target.jdk> | |
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> | |
</properties> | |
<repositories> | |
<repository> | |
<id>sonatype-nexus-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> | |
<releases> | |
<enabled>false</enabled> | |
</releases> | |
</repository> | |
</repositories> | |
<pluginRepositories> | |
<pluginRepository> | |
<id>snapshots-repo</id> | |
<url>https://oss.sonatype.org/content/repositories/public/</url> | |
<releases> | |
<enabled>false</enabled> | |
</releases> | |
<snapshots> | |
<enabled>true</enabled> | |
</snapshots> | |
</pluginRepository> | |
</pluginRepositories> | |
<build> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-compiler-plugin</artifactId> | |
<version>${compiler-plugin.version}</version> | |
<configuration> | |
<source>${target.jdk}</source> | |
<target>${target.jdk}</target> | |
<encoding>${project.build.sourceEncoding}</encoding> | |
</configuration> | |
</plugin> | |
<plugin> | |
<groupId>org.codehaus.mojo</groupId> | |
<artifactId>versions-maven-plugin</artifactId> | |
<version>${versions-plugin.version}</version> | |
<executions> | |
<execution> | |
<phase>validate</phase> | |
<goals> | |
<goal>display-dependency-updates</goal> | |
<goal>display-plugin-updates</goal> | |
</goals> | |
</execution> | |
</executions> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-surefire-plugin</artifactId> | |
<version>${surefire-plugin.version}</version> | |
<configuration> | |
<includes> | |
<include>**/*Test.java</include> | |
</includes> | |
<excludes> | |
<exclude>**/*GwtTest.java</exclude> | |
<exclude>**/*JUnitTest.java</exclude> | |
<exclude>**/*SeleniumTest.java</exclude> | |
<exclude>**/*ConductorTest.java</exclude> | |
<exclude>**/*CucumberTest.java</exclude> | |
</excludes> | |
</configuration> | |
</plugin> | |
</plugins> | |
<pluginManagement> | |
<plugins> | |
<!-- lifecycle mapping --> | |
<plugin> | |
<groupId>org.eclipse.m2e</groupId> | |
<artifactId>lifecycle-mapping</artifactId> | |
<version>1.0.0</version> | |
</plugin> | |
</plugins> | |
</pluginManagement> | |
</build> | |
<dependencies> | |
<dependency> | |
<groupId>junit</groupId> | |
<artifactId>junit</artifactId> | |
<version>${junit.version}</version> | |
<scope>test</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.jukito</groupId> | |
<artifactId>jukito</artifactId> | |
<version>${jukito.version}</version> | |
<scope>test</scope> | |
</dependency> | |
</dependencies> | |
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<parent> | |
<groupId>com.utilitiessavings.usavapp</groupId> | |
<artifactId>parent</artifactId> | |
<version>1.0-SNAPSHOT</version> | |
</parent> | |
<artifactId>server</artifactId> | |
<packaging>jar</packaging> | |
<dependencies> | |
<dependency> | |
<groupId>com.utilitiessavings.usavapp</groupId> | |
<artifactId>shared</artifactId> | |
<version>${project.version}</version> | |
</dependency> | |
<!-- Google App Engine dependencies --> | |
<dependency> | |
<groupId>com.google.appengine</groupId> | |
<artifactId>appengine-api-1.0-sdk</artifactId> | |
<version>${gae.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>com.google.appengine</groupId> | |
<artifactId>appengine-tools-sdk</artifactId> | |
<version>${gae.version}</version> | |
</dependency> | |
<!--Google Cloud Storage--> | |
<dependency> | |
<groupId>com.google.appengine.tools</groupId> | |
<artifactId>appengine-gcs-client</artifactId> | |
<version>0.6</version> | |
</dependency> | |
<!-- Persistence dependencies --> | |
<dependency> | |
<groupId>javax.persistence</groupId> | |
<artifactId>persistence-api</artifactId> | |
<version>${persistence-api.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>com.googlecode.objectify</groupId> | |
<artifactId>objectify</artifactId> | |
<version>${objectify.version}</version> | |
</dependency> | |
<!-- Guava --> | |
<dependency> | |
<groupId>com.google.guava</groupId> | |
<artifactId>guava</artifactId> | |
<version>${guava-version}</version> | |
</dependency> | |
<!-- GWT-Platform dependencies --> | |
<dependency> | |
<groupId>com.gwtplatform</groupId> | |
<artifactId>gwtp-dispatch-rpc-server-guice</artifactId> | |
<version>${gwtp.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>com.gwtplatform</groupId> | |
<artifactId>gwtp-dispatch-rpc-shared</artifactId> | |
<version>${gwtp.version}</version> | |
</dependency> | |
<!-- DI dependencies --> | |
<dependency> | |
<groupId>com.google.inject</groupId> | |
<artifactId>guice</artifactId> | |
<version>${guice.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>com.google.inject.extensions</groupId> | |
<artifactId>guice-servlet</artifactId> | |
<version>${guice.version}</version> | |
</dependency> | |
<!-- Jackson --> | |
<dependency> | |
<groupId>com.fasterxml.jackson.core</groupId> | |
<artifactId>jackson-core</artifactId> | |
<version>${jackson.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>com.fasterxml.jackson.core</groupId> | |
<artifactId>jackson-databind</artifactId> | |
<version>${jackson.version}</version> | |
</dependency> | |
<!-- Other dependencies --> | |
<dependency> | |
<groupId>org.slf4j</groupId> | |
<artifactId>slf4j-api</artifactId> | |
<version>${slf4j.version}</version> | |
</dependency> | |
<!--<dependency>--> | |
<!--<groupId>javax.servlet</groupId>--> | |
<!--<artifactId>servlet-api</artifactId>--> | |
<!--<version>${servlet-api.version}</version>--> | |
<!--<scope>provided</scope>--> | |
<!--</dependency>--> | |
<dependency> | |
<groupId>jstl</groupId> | |
<artifactId>jstl</artifactId> | |
<version>1.2</version> | |
</dependency> | |
<!-- POI-XSSF --> | |
<dependency> | |
<groupId>org.apache.poi</groupId> | |
<artifactId>poi-ooxml</artifactId> | |
<version>${apache-poi.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.poi</groupId> | |
<artifactId>poi-examples</artifactId> | |
<version>${apache-poi.version}</version> | |
</dependency> | |
<!--openCSV--> | |
<dependency> | |
<groupId>com.opencsv</groupId> | |
<artifactId>opencsv</artifactId> | |
<version>3.8</version> | |
</dependency> | |
<!-- jBCrypt --> | |
<dependency> | |
<groupId>org.mindrot</groupId> | |
<artifactId>jbcrypt</artifactId> | |
<version>0.3m</version> | |
</dependency> | |
<!-- Joda Time --> | |
<dependency> | |
<groupId>joda-time</groupId> | |
<artifactId>joda-time</artifactId> | |
<version>2.9.4</version> | |
</dependency> | |
<!-- FileUpload, FileItemIterator, etc --> | |
<dependency> | |
<groupId>commons-fileupload</groupId> | |
<artifactId>commons-fileupload</artifactId> | |
<version>1.3.2</version> | |
</dependency> | |
<!-- Testing --> | |
<dependency> | |
<groupId>com.google.appengine</groupId> | |
<artifactId>appengine-api-labs</artifactId> | |
<version>${gae.version}</version> | |
<scope>test</scope> | |
</dependency> | |
<dependency> | |
<groupId>com.google.appengine</groupId> | |
<artifactId>appengine-api-stubs</artifactId> | |
<version>${gae.version}</version> | |
<scope>test</scope> | |
</dependency> | |
<dependency> | |
<groupId>com.google.appengine</groupId> | |
<artifactId>appengine-testing</artifactId> | |
<version>${gae.version}</version> | |
<scope>test</scope> | |
</dependency> | |
</dependencies> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment