|
|
@@ -10,11 +10,11 @@ |
|
|
|
|
|
|
|
<properties> |
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
|
|
|
<maven.compiler.source>1.7</maven.compiler.source> |
|
|
|
<maven.compiler.target>1.7</maven.compiler.target> |
|
|
|
<gQueryVersion>1.4.3-SNAPSHOT</gQueryVersion> |
|
|
|
<gwtversion>2.6.1</gwtversion> |
|
|
|
<gwtmaven>2.6.1</gwtmaven> |
|
|
|
<maven.compiler.source>1.8</maven.compiler.source> |
|
|
|
<maven.compiler.target>1.8</maven.compiler.target> |
|
|
|
<gQueryVersion>1.5-SNAPSHOT</gQueryVersion> |
|
|
|
<gwtversion>2.8.0</gwtversion> |
|
|
|
<gwtmaven>2.8.0</gwtmaven> |
|
|
|
</properties> |
|
|
|
|
|
|
|
<repositories> |
|
|
@@ -44,29 +44,38 @@ |
|
|
|
<issueManagement> |
|
|
|
</issueManagement> |
|
|
|
|
|
|
|
<dependencyManagement> |
|
|
|
<dependencies> |
|
|
|
<dependency> |
|
|
|
<groupId>com.google.gwt</groupId> |
|
|
|
<artifactId>gwt</artifactId> |
|
|
|
<version>${gwtversion}</version> |
|
|
|
<type>pom</type> |
|
|
|
<scope>import</scope> |
|
|
|
</dependency> |
|
|
|
</dependencies> |
|
|
|
</dependencyManagement> |
|
|
|
|
|
|
|
<dependencies> |
|
|
|
<dependency> |
|
|
|
<groupId>junit</groupId> |
|
|
|
<artifactId>junit</artifactId> |
|
|
|
<version>3.8.1</version> |
|
|
|
<version>4.11</version> |
|
|
|
<scope>test</scope> |
|
|
|
</dependency> |
|
|
|
<dependency> |
|
|
|
<groupId>com.google.gwt</groupId> |
|
|
|
<artifactId>gwt-user</artifactId> |
|
|
|
<version>${gwtversion}</version> |
|
|
|
<scope>provided</scope> |
|
|
|
</dependency> |
|
|
|
<dependency> |
|
|
|
<groupId>com.google.gwt</groupId> |
|
|
|
<artifactId>gwt-dev</artifactId> |
|
|
|
<version>${gwtversion}</version> |
|
|
|
<scope>provided</scope> |
|
|
|
</dependency> |
|
|
|
<dependency> |
|
|
|
<groupId>com.google.gwt</groupId> |
|
|
|
<artifactId>gwt-servlet</artifactId> |
|
|
|
<version>${gwtversion}</version> |
|
|
|
<scope>runtime</scope> |
|
|
|
</dependency> |
|
|
|
<dependency> |
|
|
@@ -75,100 +84,47 @@ |
|
|
|
<version>${gQueryVersion}</version> |
|
|
|
<scope>provided</scope> |
|
|
|
</dependency> |
|
|
|
<!-- GWT 2.3.0 depends on these --> |
|
|
|
<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> |
|
|
|
<classifier>sources</classifier> |
|
|
|
</dependency> |
|
|
|
</dependencies> |
|
|
|
<build> |
|
|
|
<plugins> |
|
|
|
<plugin> |
|
|
|
<groupId>org.apache.maven.plugins</groupId> |
|
|
|
<artifactId>maven-compiler-plugin</artifactId> |
|
|
|
<version>2.1</version> |
|
|
|
<groupId>net.ltgt.gwt.maven</groupId> |
|
|
|
<artifactId>gwt-maven-plugin</artifactId> |
|
|
|
<version>1.0-rc-6</version> |
|
|
|
<executions> |
|
|
|
<execution> |
|
|
|
<goals> |
|
|
|
<goal>import-sources</goal> |
|
|
|
<goal>compile</goal> |
|
|
|
<goal>import-test-sources</goal> |
|
|
|
<goal>test</goal> |
|
|
|
</goals> |
|
|
|
</execution> |
|
|
|
</executions> |
|
|
|
<configuration> |
|
|
|
<source>1.6</source> |
|
|
|
<target>1.6</target> |
|
|
|
<moduleName>${package}.${projectName}</moduleName> |
|
|
|
<moduleShortName>${projectName}</moduleShortName> |
|
|
|
<failOnError>true</failOnError> |
|
|
|
<sourceLevel>1.8</sourceLevel> |
|
|
|
<compilerArgs> |
|
|
|
<arg>-compileReport</arg> |
|
|
|
<arg>-XcompilerMetrics</arg> |
|
|
|
</compilerArgs> |
|
|
|
<warDir>${project.build.directory}/${project.build.finalName}</warDir> |
|
|
|
<classpathScope>compile+runtime</classpathScope> |
|
|
|
<startupUrls> |
|
|
|
<startupUrl>${projectName}/${projectName}.html</startupUrl> |
|
|
|
</startupUrls> |
|
|
|
</configuration> |
|
|
|
</plugin> |
|
|
|
|
|
|
|
<plugin> |
|
|
|
<groupId>org.codehaus.mojo</groupId> |
|
|
|
<artifactId>gwt-maven-plugin</artifactId> |
|
|
|
<version>${gwtmaven}</version> |
|
|
|
<configuration> |
|
|
|
<logLevel>${gwt.loglevel}</logLevel> |
|
|
|
<style>${gwt.outputstyle}</style> |
|
|
|
<gwtVersion>${gwtversion}</gwtVersion> |
|
|
|
<compileReport>true</compileReport> |
|
|
|
<runTarget>${projectName}/${projectName}.html</runTarget> |
|
|
|
<hostedWebApp>${project.build.directory}/${project.build.finalName}</hostedWebApp> |
|
|
|
</configuration> |
|
|
|
<executions> |
|
|
|
<execution> |
|
|
|
<phase>prepare-package</phase> |
|
|
|
<goals> |
|
|
|
<goal>compile</goal> |
|
|
|
</goals> |
|
|
|
</execution> |
|
|
|
</executions> |
|
|
|
</plugin> |
|
|
|
<plugin> |
|
|
|
<artifactId>maven-surefire-plugin</artifactId> |
|
|
|
<version>2.8.1</version> |
|
|
|
<configuration> |
|
|
|
<additionalClasspathElements> |
|
|
|
<additionalClasspathElement>\${project.build.sourceDirectory}</additionalClasspathElement> |
|
|
|
<additionalClasspathElement>\${project.build.testSourceDirectory}</additionalClasspathElement> |
|
|
|
</additionalClasspathElements> |
|
|
|
<useManifestOnlyJar>false</useManifestOnlyJar> |
|
|
|
<forkMode>always</forkMode> |
|
|
|
<systemProperties> |
|
|
|
<property> |
|
|
|
<name>gwt.args</name> |
|
|
|
<value>-out target/gwt-tests</value> |
|
|
|
</property> |
|
|
|
<property> |
|
|
|
<!-- Setting this to true (default) causes a exception first time test are run Gwt issue_6443 --> |
|
|
|
<name>gwt.persistentunitcache</name> |
|
|
|
<value>false</value> |
|
|
|
</property> |
|
|
|
</systemProperties> |
|
|
|
</configuration> |
|
|
|
</plugin> |
|
|
|
<plugin> |
|
|
|
<groupId>org.apache.maven.plugins</groupId> |
|
|
|
<artifactId>maven-eclipse-plugin</artifactId> |
|
|
|
<version>2.7</version> |
|
|
|
<artifactId>maven-surefire-plugin</artifactId> |
|
|
|
<version>2.17</version> |
|
|
|
<configuration> |
|
|
|
<downloadSources>true</downloadSources> |
|
|
|
<downloadJavadocs>false</downloadJavadocs> |
|
|
|
<additionalBuildcommands> |
|
|
|
<buildcommand>com.google.gwt.eclipse.core.gwtProjectValidator</buildcommand> |
|
|
|
<buildcommand>org.eclipse.wst.common.modulecore.ComponentStructuralBuilder</buildcommand> |
|
|
|
<buildcommand>org.eclipse.jdt.core.javabuilder</buildcommand> |
|
|
|
<buildcommand>org.eclipse.wst.common.modulecore.ComponentStructuralBuilderDependencyResolver</buildcommand> |
|
|
|
</additionalBuildcommands> |
|
|
|
<additionalProjectnatures> |
|
|
|
<projectnature>com.google.gwt.eclipse.core.gwtNature</projectnature> |
|
|
|
<projectnature>org.eclipse.jdt.core.javanature</projectnature> |
|
|
|
<projectnature>org.eclipse.wst.common.modulecore.ModuleCoreNature</projectnature> |
|
|
|
</additionalProjectnatures> |
|
|
|
<classpathContainers> |
|
|
|
<classpathContainer>com.google.gwt.eclipse.core.GWT_CONTAINER</classpathContainer> |
|
|
|
<classpathContainer>org.eclipse.jdt.launching.JRE_CONTAINER</classpathContainer> |
|
|
|
<classpathContainer>org.eclipse.jdt.junit.JUNIT_CONTAINER/3</classpathContainer> |
|
|
|
</classpathContainers> |
|
|
|
<skip>true</skip> |
|
|
|
</configuration> |
|
|
|
</plugin> |
|
|
|
<!-- GWT plugin does not copy the webapp folder in hosted mode --> |
|
|
|
<plugin> |
|
|
|
<artifactId>maven-resources-plugin</artifactId> |
|
|
|
<version>2.5</version> |