|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 3 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
| 4 | + <modelVersion>4.0.0</modelVersion> |
| 5 | + <parent> |
| 6 | + <groupId>com.google.guava</groupId> |
| 7 | + <artifactId>guava-parent</artifactId> |
| 8 | + <version>1.0-HEAD-jre-SNAPSHOT</version> |
| 9 | + </parent> |
| 10 | + <artifactId>guava-bench</artifactId> |
| 11 | + <name>Guava Benchmarks</name> |
| 12 | + <description> |
| 13 | + Benchmarks for Guava, on JMH. |
| 14 | + </description> |
| 15 | + <dependencies> |
| 16 | + <dependency> |
| 17 | + <groupId>${project.groupId}</groupId> |
| 18 | + <artifactId>guava-testlib</artifactId> |
| 19 | + <version>${project.version}</version> |
| 20 | + <scope>test</scope> |
| 21 | + </dependency> |
| 22 | + <dependency> |
| 23 | + <groupId>com.google.code.findbugs</groupId> |
| 24 | + <artifactId>jsr305</artifactId> |
| 25 | + <scope>test</scope> |
| 26 | + </dependency> |
| 27 | + <dependency> |
| 28 | + <groupId>org.checkerframework</groupId> |
| 29 | + <artifactId>checker-qual</artifactId> |
| 30 | + <scope>test</scope> |
| 31 | + </dependency> |
| 32 | + <dependency> |
| 33 | + <groupId>com.google.errorprone</groupId> |
| 34 | + <artifactId>error_prone_annotations</artifactId> |
| 35 | + <scope>test</scope> |
| 36 | + </dependency> |
| 37 | + <dependency> |
| 38 | + <groupId>${project.groupId}</groupId> |
| 39 | + <artifactId>guava</artifactId> |
| 40 | + <version>${project.version}</version> |
| 41 | + <scope>test</scope> |
| 42 | + </dependency> |
| 43 | + <dependency> |
| 44 | + <groupId>com.google.truth</groupId> |
| 45 | + <artifactId>truth</artifactId> |
| 46 | + <version>${truth.version}</version> |
| 47 | + <scope>test</scope> |
| 48 | + </dependency> |
| 49 | + <dependency> |
| 50 | + <groupId>com.google.truth.extensions</groupId> |
| 51 | + <artifactId>truth-java8-extension</artifactId> |
| 52 | + <version>${truth.version}</version> |
| 53 | + <scope>test</scope> |
| 54 | + </dependency> |
| 55 | + <dependency> |
| 56 | + <groupId>com.google.jimfs</groupId> |
| 57 | + <artifactId>jimfs</artifactId> |
| 58 | + <version>1.3.0</version> |
| 59 | + <scope>test</scope> |
| 60 | + </dependency> |
| 61 | + <dependency> |
| 62 | + <groupId>junit</groupId> |
| 63 | + <artifactId>junit</artifactId> |
| 64 | + <version>4.13.2</version> |
| 65 | + <scope>test</scope> |
| 66 | + </dependency> |
| 67 | + <dependency> |
| 68 | + <groupId>com.google.caliper</groupId> |
| 69 | + <artifactId>caliper</artifactId> |
| 70 | + <version>1.0-beta-3</version> |
| 71 | + <scope>test</scope> |
| 72 | + </dependency> |
| 73 | + <dependency> |
| 74 | + <groupId>org.openjdk.jmh</groupId> |
| 75 | + <artifactId>jmh-core</artifactId> |
| 76 | + <version>1.37</version> |
| 77 | + <scope>test</scope> |
| 78 | + </dependency> |
| 79 | + </dependencies> |
| 80 | + <build> |
| 81 | + <plugins> |
| 82 | + <plugin> |
| 83 | + <artifactId>maven-compiler-plugin</artifactId> |
| 84 | + </plugin> |
| 85 | + <plugin> |
| 86 | + <artifactId>maven-jar-plugin</artifactId> |
| 87 | + <executions> |
| 88 | + <execution> |
| 89 | + <id>create-test-jar</id> |
| 90 | + <goals><goal>test-jar</goal></goals> |
| 91 | + </execution> |
| 92 | + </executions> |
| 93 | + </plugin> |
| 94 | + <plugin> |
| 95 | + <groupId>org.codehaus.mojo</groupId> |
| 96 | + <artifactId>exec-maven-plugin</artifactId> |
| 97 | + <configuration> |
| 98 | + <mainClass>com.google.guava.benchmarks.Benchmarks</mainClass> |
| 99 | + <classpathScope>test</classpathScope> |
| 100 | + </configuration> |
| 101 | + <executions> |
| 102 | + <execution> |
| 103 | + <id>run-bench</id> |
| 104 | + <phase>test</phase> |
| 105 | + <goals> |
| 106 | + <goal>java</goal> |
| 107 | + </goals> |
| 108 | + </execution> |
| 109 | + </executions> |
| 110 | + </plugin> |
| 111 | + </plugins> |
| 112 | + </build> |
| 113 | + <profiles> |
| 114 | + <profile> |
| 115 | + <id>jvm11plus</id> |
| 116 | + <activation> |
| 117 | + <jdk>[11,]</jdk> |
| 118 | + </activation> |
| 119 | + <build> |
| 120 | + <plugins> |
| 121 | + <plugin> |
| 122 | + <artifactId>maven-compiler-plugin</artifactId> |
| 123 | + <configuration> |
| 124 | + <compilerArgs combine.self="append" combine.children="append"> |
| 125 | + <arg>-Xlint:-removal</arg> |
| 126 | + <arg>-Xlint:-options</arg> |
| 127 | + </compilerArgs> |
| 128 | + </configuration> |
| 129 | + </plugin> |
| 130 | + </plugins> |
| 131 | + </build> |
| 132 | + </profile> |
| 133 | + </profiles> |
| 134 | +</project> |
0 commit comments