| <?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.google.gwt.benchmark</groupId> |
| <artifactId>gwt-benchmark-benchmarks</artifactId> |
| <version>1.0-SNAPSHOT</version> |
| <packaging>jar</packaging> |
| |
| |
| <parent> |
| <groupId>com.google.gwt.benchmark</groupId> |
| <artifactId>gwt-benchmark-parent</artifactId> |
| <version>1.0-SNAPSHOT</version> |
| </parent> |
| |
| <properties> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| <!-- Using an older version of GWT here allows the benchmarks to execute against old --> |
| <!-- versions of the GWT SDK. This will help to find old commits that changed performance --> |
| <gwtversion>2.0.0</gwtversion> |
| </properties> |
| |
| <dependencies> |
| <dependency> |
| <groupId>com.google.gwt</groupId> |
| <artifactId>gwt-user</artifactId> |
| <version>${gwtversion}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.google.gwt</groupId> |
| <artifactId>gwt-dev</artifactId> |
| <version>${gwtversion}</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>4.11</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <resources> |
| <resource> |
| <directory>src/main/java</directory> |
| <includes> |
| <include>**/*.java</include> |
| <include>**/*.js</include> |
| <include>**/*.gwt.xml</include> |
| </includes> |
| </resource> |
| </resources> |
| |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jar-plugin</artifactId> |
| <version>2.3</version> |
| <executions> |
| <execution> |
| <phase>package</phase> |
| <goals> |
| <goal>jar</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <version>2.5.1</version> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <configuration> |
| <!-- enforcing java 1.5 so we can make sure benchmarks can be --> |
| <!-- compiled with old GWT versions --> |
| <source>1.5</source> |
| <target>1.5</target> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-eclipse-plugin</artifactId> |
| <version>2.8</version> |
| <configuration> |
| <downloadSources>true</downloadSources> |
| <downloadJavadocs>false</downloadJavadocs> |
| <projectnatures> |
| <projectnature>org.eclipse.jdt.core.javanature</projectnature> |
| </projectnatures> |
| <buildcommands> |
| <buildcommand>org.eclipse.jdt.core.javabuilder</buildcommand> |
| </buildcommands> |
| <classpathContainers> |
| <classpathContainer>org.eclipse.jdt.launching.JRE_CONTAINER</classpathContainer> |
| </classpathContainers> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <version>2.6</version> |
| <configuration> |
| <excludes> |
| <exclude>**/*GwtTest.java</exclude> |
| </excludes> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>gwt-maven-plugin</artifactId> |
| <version>2.1.0</version> |
| <executions> |
| <execution> |
| <goals> |
| <goal>test</goal> |
| </goals> |
| <configuration> |
| <includes>**/*GwtTest.java</includes> |
| <productionMode>true</productionMode> |
| <mode>htmlunit</mode> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |
| |