annotate jmh-core-it/pom.xml @ 1419:5c8f74626ab2

7901948: Maven build should not use <prerequisites>
author shade
date Mon, 17 Apr 2017 13:02:02 +0200
parents 113f22bd1101
children b7dc6e851f12
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@1415 33 <version>1.19-SNAPSHOT</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 <version>4.10</version>
duke@0 56 <scope>test</scope>
duke@0 57 </dependency>
duke@0 58 </dependencies>
duke@0 59
shade@3 60 <properties>
shade@3 61 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
shade@3 62 </properties>
shade@3 63
duke@0 64 <build>
duke@0 65 <plugins>
duke@0 66 <plugin>
duke@0 67 <groupId>org.apache.maven.plugins</groupId>
duke@0 68 <artifactId>maven-surefire-plugin</artifactId>
shade@42 69 <version>2.14.1</version>
duke@0 70 <configuration>
shade@999 71 <!-- Integration tests are not measuring performance, OK to run them concurrently -->
shade@1344 72 <argLine>-Djmh.ignoreLock=true -Xms256m -Xmx256m -Djmh.core.it.profile=${jmh.core.it.profile}</argLine>
shade@958 73 <forkCount>1C</forkCount>
shade@42 74 <reuseForks>true</reuseForks>
duke@0 75 <redirectTestOutputToFile>true</redirectTestOutputToFile>
duke@0 76 </configuration>
duke@0 77 </plugin>
duke@0 78
duke@0 79 <plugin>
duke@0 80 <groupId>com.mycila.maven-license-plugin</groupId>
duke@0 81 <artifactId>maven-license-plugin</artifactId>
shade@4 82 <version>1.10.b1</version>
duke@0 83 <executions>
duke@0 84 <execution>
duke@0 85 <goals>
duke@0 86 <goal>format</goal>
duke@0 87 </goals>
duke@0 88 <phase>process-sources</phase>
duke@0 89 <configuration>
duke@0 90 <header>file:///${project.basedir}/../src/license/gpl_cpe/header.txt</header>
shade@625 91 <skipExistingHeaders>true</skipExistingHeaders>
duke@0 92 <strictCheck>true</strictCheck>
shade@98 93 <mapping>
shade@98 94 <java>PHP</java>
shade@98 95 </mapping>
duke@0 96 </configuration>
duke@0 97 </execution>
duke@0 98 </executions>
duke@0 99 </plugin>
duke@0 100 </plugins>
duke@0 101 </build>
duke@0 102
shade@451 103 <profiles>
shade@451 104 <profile>
shade@451 105 <id>default</id>
shade@1344 106 <properties>
shade@1344 107 <jmh.core.it.profile>default</jmh.core.it.profile>
shade@1344 108 </properties>
shade@485 109 <dependencies>
shade@485 110 <dependency>
shade@485 111 <groupId>org.openjdk.jmh</groupId>
shade@485 112 <artifactId>jmh-generator-annprocess</artifactId>
shade@485 113 <version>${project.version}</version>
shade@495 114 <scope>provided</scope>
shade@485 115 </dependency>
shade@485 116 </dependencies>
shade@451 117 <activation>
shade@451 118 <activeByDefault>true</activeByDefault>
shade@451 119 </activation>
shade@451 120 <build>
shade@451 121 <plugins>
shade@451 122 <plugin>
shade@451 123 <groupId>org.apache.maven.plugins</groupId>
shade@451 124 <artifactId>maven-compiler-plugin</artifactId>
shade@451 125 <version>3.0</version>
shade@451 126 <configuration>
shade@1369 127 <compilerVersion>1.7</compilerVersion>
shade@1369 128 <source>1.7</source>
shade@1369 129 <target>1.7</target>
shade@451 130 </configuration>
shade@451 131 </plugin>
shade@451 132 </plugins>
shade@451 133 </build>
shade@451 134 </profile>
shade@451 135
shade@451 136 <profile>
shade@451 137 <id>asm</id>
shade@1344 138 <properties>
shade@1344 139 <jmh.core.it.profile>asm</jmh.core.it.profile>
shade@1344 140 </properties>
shade@477 141 <dependencies>
shade@477 142 <dependency>
shade@477 143 <groupId>org.openjdk.jmh</groupId>
shade@507 144 <artifactId>jmh-generator-bytecode</artifactId>
shade@477 145 <version>${project.version}</version>
shade@477 146 </dependency>
shade@477 147 </dependencies>
shade@451 148 <build>
shade@451 149 <plugins>
shade@451 150 <plugin>
shade@451 151 <groupId>org.apache.maven.plugins</groupId>
shade@451 152 <artifactId>maven-compiler-plugin</artifactId>
shade@451 153 <version>3.0</version>
shade@451 154 <configuration>
shade@1369 155 <compilerVersion>1.7</compilerVersion>
shade@1369 156 <source>1.7</source>
shade@1369 157 <target>1.7</target>
shade@451 158 <compilerArgument>-proc:none</compilerArgument>
shade@451 159 </configuration>
shade@451 160 <executions>
shade@451 161 <execution>
shade@811 162 <id>default-testCompile</id>
shade@811 163 <phase>none</phase>
shade@811 164 </execution>
shade@811 165 <execution>
shade@451 166 <id>compile-java</id>
shade@451 167 <phase>process-test-sources</phase>
shade@451 168 <goals>
shade@451 169 <goal>testCompile</goal>
shade@451 170 </goals>
shade@451 171 </execution>
shade@451 172 <execution>
shade@451 173 <id>compile-jmh</id>
shade@451 174 <phase>process-test-classes</phase>
shade@451 175 <goals>
shade@451 176 <goal>testCompile</goal>
shade@451 177 </goals>
shade@451 178 </execution>
shade@451 179 </executions>
shade@451 180 </plugin>
shade@451 181 <plugin>
shade@451 182 <groupId>org.codehaus.mojo</groupId>
shade@451 183 <artifactId>build-helper-maven-plugin</artifactId>
shade@451 184 <version>1.8</version>
shade@451 185 <executions>
shade@451 186 <execution>
shade@451 187 <id>add-source</id>
shade@451 188 <phase>process-test-sources</phase>
shade@451 189 <goals>
shade@451 190 <goal>add-test-source</goal>
shade@451 191 </goals>
shade@451 192 <configuration>
shade@451 193 <sources>
shade@451 194 <source>${project.build.testOutputDirectory}/generated-jmh-sources/</source>
shade@451 195 </sources>
shade@451 196 </configuration>
shade@451 197 </execution>
shade@451 198 </executions>
shade@451 199 </plugin>
shade@451 200 <plugin>
shade@507 201 <groupId>org.codehaus.mojo</groupId>
shade@507 202 <artifactId>exec-maven-plugin</artifactId>
shade@507 203 <version>1.2.1</version>
shade@451 204 <executions>
shade@451 205 <execution>
shade@508 206 <phase>process-test-sources</phase>
shade@451 207 <goals>
shade@507 208 <goal>java</goal>
shade@451 209 </goals>
shade@451 210 <configuration>
shade@507 211 <mainClass>org.openjdk.jmh.generators.bytecode.JmhBytecodeGenerator</mainClass>
shade@507 212 <arguments>
shade@508 213 <argument>${project.build.testOutputDirectory}</argument>
shade@508 214 <argument>${project.build.testOutputDirectory}/generated-jmh-sources/</argument>
shade@508 215 <argument>${project.build.testOutputDirectory}</argument>
shade@807 216 <argument>asm</argument>
shade@507 217 </arguments>
shade@451 218 </configuration>
shade@451 219 </execution>
shade@451 220 </executions>
shade@451 221 </plugin>
shade@451 222 </plugins>
shade@451 223 </build>
shade@451 224 </profile>
shade@451 225
shade@805 226 <profile>
shade@808 227 <id>reflection</id>
shade@1344 228 <properties>
shade@1344 229 <jmh.core.it.profile>reflection</jmh.core.it.profile>
shade@1344 230 </properties>
shade@805 231 <dependencies>
shade@805 232 <dependency>
shade@805 233 <groupId>org.openjdk.jmh</groupId>
shade@807 234 <artifactId>jmh-generator-bytecode</artifactId>
shade@805 235 <version>${project.version}</version>
shade@805 236 </dependency>
shade@805 237 </dependencies>
shade@805 238 <build>
shade@805 239 <plugins>
shade@805 240 <plugin>
shade@805 241 <groupId>org.apache.maven.plugins</groupId>
shade@805 242 <artifactId>maven-compiler-plugin</artifactId>
shade@805 243 <version>3.0</version>
shade@805 244 <configuration>
shade@1369 245 <compilerVersion>1.7</compilerVersion>
shade@1369 246 <source>1.7</source>
shade@1369 247 <target>1.7</target>
shade@805 248 <compilerArgument>-proc:none</compilerArgument>
shade@805 249 </configuration>
shade@805 250 <executions>
shade@805 251 <execution>
shade@811 252 <id>default-testCompile</id>
shade@811 253 <phase>none</phase>
shade@811 254 </execution>
shade@811 255 <execution>
shade@805 256 <id>compile-java</id>
shade@805 257 <phase>process-test-sources</phase>
shade@805 258 <goals>
shade@805 259 <goal>testCompile</goal>
shade@805 260 </goals>
shade@805 261 </execution>
shade@805 262 <execution>
shade@805 263 <id>compile-jmh</id>
shade@805 264 <phase>process-test-classes</phase>
shade@805 265 <goals>
shade@805 266 <goal>testCompile</goal>
shade@805 267 </goals>
shade@805 268 </execution>
shade@805 269 </executions>
shade@805 270 </plugin>
shade@805 271 <plugin>
shade@805 272 <groupId>org.codehaus.mojo</groupId>
shade@805 273 <artifactId>build-helper-maven-plugin</artifactId>
shade@805 274 <version>1.8</version>
shade@805 275 <executions>
shade@805 276 <execution>
shade@805 277 <id>add-source</id>
shade@805 278 <phase>process-test-sources</phase>
shade@805 279 <goals>
shade@805 280 <goal>add-test-source</goal>
shade@805 281 </goals>
shade@805 282 <configuration>
shade@805 283 <sources>
shade@805 284 <source>${project.build.testOutputDirectory}/generated-jmh-sources/</source>
shade@805 285 </sources>
shade@805 286 </configuration>
shade@805 287 </execution>
shade@805 288 </executions>
shade@805 289 </plugin>
shade@805 290 <plugin>
shade@805 291 <groupId>org.codehaus.mojo</groupId>
shade@805 292 <artifactId>exec-maven-plugin</artifactId>
shade@805 293 <version>1.2.1</version>
shade@805 294 <executions>
shade@805 295 <execution>
shade@805 296 <phase>process-test-sources</phase>
shade@805 297 <goals>
shade@805 298 <goal>java</goal>
shade@805 299 </goals>
shade@805 300 <configuration>
shade@807 301 <mainClass>org.openjdk.jmh.generators.bytecode.JmhBytecodeGenerator</mainClass>
shade@805 302 <arguments>
shade@805 303 <argument>${project.build.testOutputDirectory}</argument>
shade@805 304 <argument>${project.build.testOutputDirectory}/generated-jmh-sources/</argument>
shade@805 305 <argument>${project.build.testOutputDirectory}</argument>
shade@807 306 <argument>reflection</argument>
shade@805 307 </arguments>
shade@805 308 </configuration>
shade@805 309 </execution>
shade@805 310 </executions>
shade@805 311 </plugin>
shade@805 312 </plugins>
shade@805 313 </build>
shade@805 314 </profile>
shade@805 315
shade@451 316 </profiles>
shade@451 317
duke@0 318 </project>