Created
October 16, 2014 21:46
-
-
Save branflake2267/a0e26977ddec24ba492a to your computer and use it in GitHub Desktop.
MyProject31 testing GWT 2.7.0-SNAPSHOT
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/maven-v4_0_0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>com.sencha.gxt.test</groupId> | |
<artifactId>MyGxtProject31</artifactId> | |
<packaging>war</packaging> | |
<version>1.0-SNAPSHOT</version> | |
<name>gwt-basic-support-3x</name> | |
<description>Very basic GXT maven setup</description> | |
<properties> | |
<!-- GXT --> | |
<!-- <gxt.version>3.1.1</gxt.version> --> | |
<gxt.version>3.1.2</gxt.version> | |
<!-- GWT --> | |
<gwt.version>2.7.0-SNAPSHOT</gwt.version> | |
<gwt.style>OBF</gwt.style> | |
<!-- Maven --> | |
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |
<webappDirectory>${project.build.directory}/${project.build.finalName}</webappDirectory> | |
</properties> | |
<build> | |
<outputDirectory>${webappDirectory}/WEB-INF/classes</outputDirectory> | |
<resources> | |
<resource> | |
<directory>src/main/resources</directory> | |
</resource> | |
</resources> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-compiler-plugin</artifactId> | |
<version>3.0</version> | |
<configuration> | |
<source>1.6</source> | |
<target>1.6</target> | |
</configuration> | |
</plugin> | |
<!-- Skips the GWTTestCases during Junit Testing --> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-surefire-plugin</artifactId> | |
<version>2.12</version> | |
<configuration> | |
<includes> | |
<include>**/*Test.java</include> | |
</includes> | |
<excludes> | |
<exclude>**/*GwtTest.java</exclude> | |
</excludes> | |
</configuration> | |
</plugin> | |
<!-- GWT --> | |
<!-- 'mvn gwt:run' - runs development mode --> | |
<!-- 'mvn gwt:debug' - runs debug mode --> | |
<!-- 'mvn gwt:compile' - compiles gwt --> | |
<!-- 'mvn gwt:test' or 'mvn integration-test' - runs the gwt tests (*GwtTest.java), (run a suite its faster) --> | |
<plugin> | |
<groupId>org.codehaus.mojo</groupId> | |
<artifactId>gwt-maven-plugin</artifactId> | |
<version>2.6.0-rc3</version> | |
<configuration> | |
<strict>true</strict> | |
<testTimeOut>180</testTimeOut> | |
<includes>**/*GwtTestSuite.java</includes> | |
<excludes>**/*GwtTest.java</excludes> | |
<mode>htmlunit</mode> | |
<extraJvmArgs>-Xss1024K -Xmx1024M -XX:MaxPermSize=256M</extraJvmArgs> | |
<logLevel>INFO</logLevel> | |
<style>${gwt.style}</style> | |
<copyWebapp>true</copyWebapp> | |
<hostedWebapp>${webappDirectory}</hostedWebapp> | |
<runTarget>MyGxtProject31.html</runTarget> | |
<module>com.sencha.gxt.test.MyGxtProject31</module> | |
</configuration> | |
<executions> | |
<execution> | |
<goals> | |
<goal>test</goal> | |
<goal>compile</goal> | |
</goals> | |
</execution> | |
</executions> | |
</plugin> | |
<!-- Server for running tests *TestInt.java --> | |
<!-- 'mvn jetty:run' deploys and starts --> | |
<!-- mvn jetty:start --> | |
<!-- mvn jetty:stop --> | |
<!-- mvn jetty:run --> | |
<!-- mvn 'integration-test -Pintegration-test' runs integration tests --> | |
<plugin> | |
<groupId>org.mortbay.jetty</groupId> | |
<artifactId>jetty-maven-plugin</artifactId> | |
<version>8.1.9.v20130131</version> | |
<configuration> | |
<scanIntervalSeconds>10</scanIntervalSeconds> | |
<stopPort>9966</stopPort> | |
<stopKey>stop-jetty</stopKey> | |
<webAppSourceDirectory>${webappDirectory}</webAppSourceDirectory> | |
<!--<systemProperties> --> | |
<!--<systemProperty> --> | |
<!--<name>jetty.port</name> --> | |
<!--<value>8888</value> --> | |
<!--</systemProperty> --> | |
<!--</systemProperties> --> | |
<connectors> | |
<connector implementation="org.eclipse.jetty.server.nio.SelectChannelConnector"> | |
<port>8080</port> | |
<maxIdleTime>60000</maxIdleTime> | |
<!-- <host>192.168.10.6</host> --> | |
<host>localhost</host> | |
</connector> | |
</connectors> | |
</configuration> | |
<executions> | |
<execution> | |
<id>start-jetty</id> | |
<phase>pre-integration-test</phase> | |
<goals> | |
<goal>run</goal> | |
</goals> | |
<configuration> | |
<daemon>true</daemon> | |
<scanIntervalSeconds>0</scanIntervalSeconds> | |
</configuration> | |
</execution> | |
<execution> | |
<id>stop-jetty</id> | |
<phase>post-integration-test</phase> | |
<goals> | |
<goal>stop</goal> | |
</goals> | |
</execution> | |
</executions> | |
</plugin> | |
</plugins> | |
</build> | |
<repositories> | |
<repository> | |
<!-- ~/.m2/settings.xml add <server/> with the support portal credentials --> | |
<id>sencha-gxt-repository</id> | |
<name>Sencha GXT Repository</name> | |
<!-- Commercial (with Support) --> | |
<!-- <url>https://maven.sencha.com/repo/gxt-commercial-release</url> --> | |
<url>https://maven.sencha.com/repo/gxt-support-commercial-release</url> | |
<!-- <url>https://maven.sencha.com/repo/gxt-commercial-snapshot</url> --> | |
<!-- GPL --> | |
<!-- <url>https://maven.sencha.com/repo/gxt-gpl-release</url> --> | |
<!-- <url>https://maven.sencha.com/repo/gxt-gpl-snapshot</url> --> | |
<!-- GPL with Support --> | |
<!-- <url>https://maven.sencha.com/repo/gxt-support-gpl-release</url> --> | |
</repository> | |
<repository> | |
<id>google-snapshots</id> | |
<url>https://oss.sonatype.org/content/repositories/google-snapshots/</url> | |
<releases> | |
<enabled>false</enabled> | |
</releases> | |
<snapshots> | |
<enabled>true</enabled> | |
</snapshots> | |
</repository> | |
</repositories> | |
<pluginRepositories> | |
<pluginRepository> | |
<id>codehaus-snapshots</id> | |
<url>https://nexus.codehaus.org/content/groups/snapshots-group/</url> | |
<releases> | |
<enabled>false</enabled> | |
</releases> | |
<snapshots> | |
<enabled>true</enabled> | |
</snapshots> | |
</pluginRepository> | |
<pluginRepository> | |
<id>google-snapshots</id> | |
<url>https://oss.sonatype.org/content/repositories/google-snapshots/</url> | |
<releases> | |
<enabled>false</enabled> | |
</releases> | |
<snapshots> | |
<enabled>true</enabled> | |
</snapshots> | |
</pluginRepository> | |
</pluginRepositories> | |
<dependencyManagement> | |
<dependencies> | |
<dependency> | |
<groupId>com.google.gwt</groupId> | |
<artifactId>gwt</artifactId> | |
<version>${gwt.version}</version> | |
<type>pom</type> | |
<scope>import</scope> | |
</dependency> | |
</dependencies> | |
</dependencyManagement> | |
<dependencies> | |
<!-- GXT --> | |
<dependency> | |
<groupId>com.sencha.gxt</groupId> | |
<artifactId>gxt</artifactId> | |
<version>${gxt.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>com.sencha.gxt</groupId> | |
<artifactId>gxt-chart</artifactId> | |
<version>${gxt.version}</version> | |
</dependency> | |
<!-- GXT Neptune Theme --> | |
<dependency> | |
<groupId>com.sencha.gxt</groupId> | |
<artifactId>gxt-theme-neptune</artifactId> | |
<version>${gxt.version}</version> | |
</dependency> | |
<!-- <dependency> <groupId>com.sencha.gxt</groupId> <artifactId>gxt-themebuilder</artifactId> <version>${gxt.version}</version> | |
</dependency> --> | |
<!-- GWT --> | |
<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>com.google.gwt</groupId> | |
<artifactId>gwt-codeserver</artifactId> | |
<scope>provided</scope> | |
</dependency> | |
<!-- <dependency> <groupId>com.googlecode.gwtquery</groupId> <artifactId>gwtquery</artifactId> <version>1.4.0</version> | |
<scope>provided</scope> </dependency> --> | |
<!-- Testing --> | |
<dependency> | |
<groupId>junit</groupId> | |
<artifactId>junit</artifactId> | |
<version>4.11</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