annotate jmh-core-it/pom.xml @ 1455:f25ae8584db1

JMH v1.21.
author shade
date Fri, 04 May 2018 16:37:15 +0200
parents 25d8b2695bac
children 3769055ad883
rev   line source
duke@0 1 <!--
duke@0 2 Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
duke@0 3 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
duke@0 4
duke@0 5 This code is free software; you can redistribute it and/or modify it
duke@0 6 under the terms of the GNU General Public License version 2 only, as
duke@0 7 published by the Free Software Foundation. Oracle designates this
duke@0 8 particular file as subject to the "Classpath" exception as provided
duke@0 9 by Oracle in the LICENSE file that accompanied this code.
duke@0 10
duke@0 11 This code is distributed in the hope that it will be useful, but WITHOUT
duke@0 12 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
duke@0 13 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
duke@0 14 version 2 for more details (a copy is included in the LICENSE file that
duke@0 15 accompanied this code).
duke@0 16
duke@0 17 You should have received a copy of the GNU General Public License version
duke@0 18 2 along with this work; if not, write to the Free Software Foundation,
duke@0 19 Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
duke@0 20
duke@0 21 Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
duke@0 22 or visit www.oracle.com if you need additional information or have any
duke@0 23 questions.
duke@0 24 -->
duke@0 25
duke@0 26 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
duke@0 27 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
duke@0 28 <modelVersion>4.0.0</modelVersion>
shade@230 29
shade@230 30 <parent>
shade@230 31 <groupId>org.openjdk.jmh</groupId>
shade@230 32 <artifactId>jmh-parent</artifactId>
shade@1455 33 <version>1.21</version>
shade@230 34 </parent>
shade@230 35
shade@230 36 <name>JMH Core Integration Tests</name>
duke@0 37 <artifactId>jmh-core-it</artifactId>
duke@0 38 <packaging>jar</packaging>
duke@0 39
duke@0 40 <organization>
shade@47 41 <name>Oracle</name>
shade@1 42 <url>http://openjdk.java.net/</url>
duke@0 43 </organization>
duke@0 44 <inceptionYear>2012</inceptionYear>
duke@0 45
duke@0 46 <dependencies>
duke@0 47 <dependency>
duke@0 48 <groupId>org.openjdk.jmh</groupId>
duke@0 49 <artifactId>jmh-core</artifactId>
shade@451 50 <version>${project.version}</version>
shade@451 51 </dependency>
shade@451 52 <dependency>
duke@0 53 <groupId>junit</groupId>
duke@0 54 <artifactId>junit</artifactId>
duke@0 55 <scope>test</scope>
duke@0 56 </dependency>
duke@0 57 </dependencies>
duke@0 58
shade@3 59 <properties>
shade@3 60 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
shade@3 61 </properties>
shade@3 62
duke@0 63 <build>
duke@0 64 <plugins>
duke@0 65 <plugin>
duke@0 66 <groupId>org.apache.maven.plugins</groupId>
duke@0 67 <artifactId>maven-surefire-plugin</artifactId>
duke@0 68 <configuration>
shade@999 69 <!-- Integration tests are not measuring performance, OK to run them concurrently -->
shade@1344 70 <argLine>-Djmh.ignoreLock=true -Xms256m -Xmx256m -Djmh.core.it.profile=${jmh.core.it.profile}</argLine>
shade@958 71 <forkCount>1C</forkCount>
shade@42 72 <reuseForks>true</reuseForks>
duke@0 73 <redirectTestOutputToFile>true</redirectTestOutputToFile>
duke@0 74 </configuration>
duke@0 75 </plugin>
duke@0 76
duke@0 77 <plugin>
duke@0 78 <groupId>com.mycila.maven-license-plugin</groupId>
duke@0 79 <artifactId>maven-license-plugin</artifactId>
duke@0 80 <executions>
duke@0 81 <execution>
duke@0 82 <goals>
duke@0 83 <goal>format</goal>
duke@0 84 </goals>
duke@0 85 <phase>process-sources</phase>
duke@0 86 <configuration>
duke@0 87 <header>file:///${project.basedir}/../src/license/gpl_cpe/header.txt</header>
shade@625 88 <skipExistingHeaders>true</skipExistingHeaders>
duke@0 89 <strictCheck>true</strictCheck>
shade@98 90 <mapping>
shade@98 91 <java>PHP</java>
shade@98 92 </mapping>
duke@0 93 </configuration>
duke@0 94 </execution>
duke@0 95 </executions>
duke@0 96 </plugin>
duke@0 97 </plugins>
duke@0 98 </build>
duke@0 99
shade@451 100 <profiles>
shade@451 101 <profile>
shade@451 102 <id>default</id>
shade@1344 103 <properties>
shade@1344 104 <jmh.core.it.profile>default</jmh.core.it.profile>
shade@1344 105 </properties>
shade@485 106 <dependencies>
shade@485 107 <dependency>
shade@485 108 <groupId>org.openjdk.jmh</groupId>
shade@485 109 <artifactId>jmh-generator-annprocess</artifactId>
shade@485 110 <version>${project.version}</version>
shade@495 111 <scope>provided</scope>
shade@485 112 </dependency>
shade@485 113 </dependencies>
shade@451 114 <activation>
shade@451 115 <activeByDefault>true</activeByDefault>
shade@451 116 </activation>
shade@451 117 <build>
shade@451 118 <plugins>
shade@451 119 <plugin>
shade@451 120 <groupId>org.apache.maven.plugins</groupId>
shade@451 121 <artifactId>maven-compiler-plugin</artifactId>
shade@451 122 <configuration>
shade@1369 123 <compilerVersion>1.7</compilerVersion>
shade@1369 124 <source>1.7</source>
shade@1369 125 <target>1.7</target>
shade@451 126 </configuration>
shade@451 127 </plugin>
shade@451 128 </plugins>
shade@451 129 </build>
shade@451 130 </profile>
shade@451 131
shade@451 132 <profile>
shade@451 133 <id>asm</id>
shade@1344 134 <properties>
shade@1344 135 <jmh.core.it.profile>asm</jmh.core.it.profile>
shade@1344 136 </properties>
shade@477 137 <dependencies>
shade@477 138 <dependency>
shade@477 139 <groupId>org.openjdk.jmh</groupId>
shade@507 140 <artifactId>jmh-generator-bytecode</artifactId>
shade@477 141 <version>${project.version}</version>
shade@477 142 </dependency>
shade@477 143 </dependencies>
shade@451 144 <build>
shade@451 145 <plugins>
shade@451 146 <plugin>
shade@451 147 <groupId>org.apache.maven.plugins</groupId>
shade@451 148 <artifactId>maven-compiler-plugin</artifactId>
shade@451 149 <configuration>
shade@1369 150 <compilerVersion>1.7</compilerVersion>
shade@1369 151 <source>1.7</source>
shade@1369 152 <target>1.7</target>
shade@451 153 <compilerArgument>-proc:none</compilerArgument>
shade@451 154 </configuration>
shade@451 155 <executions>
shade@451 156 <execution>
shade@811 157 <id>default-testCompile</id>
shade@811 158 <phase>none</phase>
shade@811 159 </execution>
shade@811 160 <execution>
shade@451 161 <id>compile-java</id>
shade@451 162 <phase>process-test-sources</phase>
shade@451 163 <goals>
shade@451 164 <goal>testCompile</goal>
shade@451 165 </goals>
shade@451 166 </execution>
shade@451 167 <execution>
shade@451 168 <id>compile-jmh</id>
shade@451 169 <phase>process-test-classes</phase>
shade@451 170 <goals>
shade@451 171 <goal>testCompile</goal>
shade@451 172 </goals>
shade@451 173 </execution>
shade@451 174 </executions>
shade@451 175 </plugin>
shade@451 176 <plugin>
shade@451 177 <groupId>org.codehaus.mojo</groupId>
shade@451 178 <artifactId>build-helper-maven-plugin</artifactId>
shade@451 179 <executions>
shade@451 180 <execution>
shade@451 181 <id>add-source</id>
shade@451 182 <phase>process-test-sources</phase>
shade@451 183 <goals>
shade@451 184 <goal>add-test-source</goal>
shade@451 185 </goals>
shade@451 186 <configuration>
shade@451 187 <sources>
shade@451 188 <source>${project.build.testOutputDirectory}/generated-jmh-sources/</source>
shade@451 189 </sources>
shade@451 190 </configuration>
shade@451 191 </execution>
shade@451 192 </executions>
shade@451 193 </plugin>
shade@451 194 <plugin>
shade@507 195 <groupId>org.codehaus.mojo</groupId>
shade@507 196 <artifactId>exec-maven-plugin</artifactId>
shade@451 197 <executions>
shade@451 198 <execution>
shade@508 199 <phase>process-test-sources</phase>
shade@451 200 <goals>
shade@507 201 <goal>java</goal>
shade@451 202 </goals>
shade@451 203 <configuration>
shade@507 204 <mainClass>org.openjdk.jmh.generators.bytecode.JmhBytecodeGenerator</mainClass>
shade@507 205 <arguments>
shade@508 206 <argument>${project.build.testOutputDirectory}</argument>
shade@508 207 <argument>${project.build.testOutputDirectory}/generated-jmh-sources/</argument>
shade@508 208 <argument>${project.build.testOutputDirectory}</argument>
shade@807 209 <argument>asm</argument>
shade@507 210 </arguments>
shade@451 211 </configuration>
shade@451 212 </execution>
shade@451 213 </executions>
shade@451 214 </plugin>
shade@451 215 </plugins>
shade@451 216 </build>
shade@451 217 </profile>
shade@451 218
shade@805 219 <profile>
shade@808 220 <id>reflection</id>
shade@1344 221 <properties>
shade@1344 222 <jmh.core.it.profile>reflection</jmh.core.it.profile>
shade@1344 223 </properties>
shade@805 224 <dependencies>
shade@805 225 <dependency>
shade@805 226 <groupId>org.openjdk.jmh</groupId>
shade@807 227 <artifactId>jmh-generator-bytecode</artifactId>
shade@805 228 <version>${project.version}</version>
shade@805 229 </dependency>
shade@805 230 </dependencies>
shade@805 231 <build>
shade@805 232 <plugins>
shade@805 233 <plugin>
shade@805 234 <groupId>org.apache.maven.plugins</groupId>
shade@805 235 <artifactId>maven-compiler-plugin</artifactId>
shade@805 236 <configuration>
shade@1369 237 <compilerVersion>1.7</compilerVersion>
shade@1369 238 <source>1.7</source>
shade@1369 239 <target>1.7</target>
shade@805 240 <compilerArgument>-proc:none</compilerArgument>
shade@805 241 </configuration>
shade@805 242 <executions>
shade@805 243 <execution>
shade@811 244 <id>default-testCompile</id>
shade@811 245 <phase>none</phase>
shade@811 246 </execution>
shade@811 247 <execution>
shade@805 248 <id>compile-java</id>
shade@805 249 <phase>process-test-sources</phase>
shade@805 250 <goals>
shade@805 251 <goal>testCompile</goal>
shade@805 252 </goals>
shade@805 253 </execution>
shade@805 254 <execution>
shade@805 255 <id>compile-jmh</id>
shade@805 256 <phase>process-test-classes</phase>
shade@805 257 <goals>
shade@805 258 <goal>testCompile</goal>
shade@805 259 </goals>
shade@805 260 </execution>
shade@805 261 </executions>
shade@805 262 </plugin>
shade@805 263 <plugin>
shade@805 264 <groupId>org.codehaus.mojo</groupId>
shade@805 265 <artifactId>build-helper-maven-plugin</artifactId>
shade@805 266 <executions>
shade@805 267 <execution>
shade@805 268 <id>add-source</id>
shade@805 269 <phase>process-test-sources</phase>
shade@805 270 <goals>
shade@805 271 <goal>add-test-source</goal>
shade@805 272 </goals>
shade@805 273 <configuration>
shade@805 274 <sources>
shade@805 275 <source>${project.build.testOutputDirectory}/generated-jmh-sources/</source>
shade@805 276 </sources>
shade@805 277 </configuration>
shade@805 278 </execution>
shade@805 279 </executions>
shade@805 280 </plugin>
shade@805 281 <plugin>
shade@805 282 <groupId>org.codehaus.mojo</groupId>
shade@805 283 <artifactId>exec-maven-plugin</artifactId>
shade@805 284 <executions>
shade@805 285 <execution>
shade@805 286 <phase>process-test-sources</phase>
shade@805 287 <goals>
shade@805 288 <goal>java</goal>
shade@805 289 </goals>
shade@805 290 <configuration>
shade@807 291 <mainClass>org.openjdk.jmh.generators.bytecode.JmhBytecodeGenerator</mainClass>
shade@805 292 <arguments>
shade@805 293 <argument>${project.build.testOutputDirectory}</argument>
shade@805 294 <argument>${project.build.testOutputDirectory}/generated-jmh-sources/</argument>
shade@805 295 <argument>${project.build.testOutputDirectory}</argument>
shade@807 296 <argument>reflection</argument>
shade@805 297 </arguments>
shade@805 298 </configuration>
shade@805 299 </execution>
shade@805 300 </executions>
shade@805 301 </plugin>
shade@805 302 </plugins>
shade@805 303 </build>
shade@805 304 </profile>
shade@805 305
shade@451 306 </profiles>
shade@451 307
duke@0 308 </project>