annotate jmh-core-it/pom.xml @ 805:f9c4e36dcf3f

jmh-core-it: test with Reflection-based generators as well.
author shade
date Mon, 09 Jun 2014 21:17:17 +0400
parents fa5a1a47680e
children a93864b5991f
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@744 33 <version>1.0-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
duke@0 60 <prerequisites>
duke@0 61 <maven>3.0</maven>
duke@0 62 </prerequisites>
duke@0 63
shade@3 64 <properties>
shade@3 65 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
shade@3 66 </properties>
shade@3 67
duke@0 68 <build>
duke@0 69 <plugins>
duke@0 70 <plugin>
duke@0 71 <groupId>org.apache.maven.plugins</groupId>
duke@0 72 <artifactId>maven-surefire-plugin</artifactId>
shade@42 73 <version>2.14.1</version>
duke@0 74 <configuration>
shade@155 75 <forkCount>2C</forkCount>
shade@42 76 <reuseForks>true</reuseForks>
duke@0 77 <redirectTestOutputToFile>true</redirectTestOutputToFile>
duke@0 78 </configuration>
duke@0 79 </plugin>
duke@0 80
duke@0 81 <plugin>
duke@0 82 <groupId>com.mycila.maven-license-plugin</groupId>
duke@0 83 <artifactId>maven-license-plugin</artifactId>
shade@4 84 <version>1.10.b1</version>
duke@0 85 <executions>
duke@0 86 <execution>
duke@0 87 <goals>
duke@0 88 <goal>format</goal>
duke@0 89 </goals>
duke@0 90 <phase>process-sources</phase>
duke@0 91 <configuration>
duke@0 92 <header>file:///${project.basedir}/../src/license/gpl_cpe/header.txt</header>
shade@625 93 <skipExistingHeaders>true</skipExistingHeaders>
duke@0 94 <strictCheck>true</strictCheck>
shade@98 95 <mapping>
shade@98 96 <java>PHP</java>
shade@98 97 </mapping>
duke@0 98 </configuration>
duke@0 99 </execution>
duke@0 100 </executions>
duke@0 101 </plugin>
duke@0 102 </plugins>
duke@0 103 </build>
duke@0 104
shade@451 105 <profiles>
shade@451 106 <profile>
shade@451 107 <id>default</id>
shade@485 108 <dependencies>
shade@485 109 <dependency>
shade@485 110 <groupId>org.openjdk.jmh</groupId>
shade@485 111 <artifactId>jmh-generator-annprocess</artifactId>
shade@485 112 <version>${project.version}</version>
shade@495 113 <scope>provided</scope>
shade@485 114 </dependency>
shade@485 115 </dependencies>
shade@451 116 <activation>
shade@451 117 <activeByDefault>true</activeByDefault>
shade@451 118 </activation>
shade@451 119 <build>
shade@451 120 <plugins>
shade@451 121 <plugin>
shade@451 122 <groupId>org.apache.maven.plugins</groupId>
shade@451 123 <artifactId>maven-compiler-plugin</artifactId>
shade@451 124 <version>3.0</version>
shade@451 125 <configuration>
shade@451 126 <compilerVersion>1.6</compilerVersion>
shade@451 127 <source>1.6</source>
shade@451 128 <target>1.6</target>
shade@451 129 </configuration>
shade@451 130 </plugin>
shade@451 131 </plugins>
shade@451 132 </build>
shade@451 133 </profile>
shade@451 134
shade@451 135 <profile>
shade@451 136 <id>asm</id>
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 <version>3.0</version>
shade@451 150 <configuration>
shade@451 151 <compilerVersion>1.6</compilerVersion>
shade@451 152 <source>1.6</source>
shade@451 153 <target>1.6</target>
shade@451 154 <compilerArgument>-proc:none</compilerArgument>
shade@451 155 </configuration>
shade@451 156 <executions>
shade@451 157 <execution>
shade@451 158 <id>compile-java</id>
shade@451 159 <phase>process-test-sources</phase>
shade@451 160 <goals>
shade@451 161 <goal>testCompile</goal>
shade@451 162 </goals>
shade@451 163 </execution>
shade@451 164 <execution>
shade@451 165 <id>compile-jmh</id>
shade@451 166 <phase>process-test-classes</phase>
shade@451 167 <goals>
shade@451 168 <goal>testCompile</goal>
shade@451 169 </goals>
shade@451 170 </execution>
shade@451 171 </executions>
shade@451 172 </plugin>
shade@451 173 <plugin>
shade@451 174 <groupId>org.codehaus.mojo</groupId>
shade@451 175 <artifactId>build-helper-maven-plugin</artifactId>
shade@451 176 <version>1.8</version>
shade@451 177 <executions>
shade@451 178 <execution>
shade@451 179 <id>add-source</id>
shade@451 180 <phase>process-test-sources</phase>
shade@451 181 <goals>
shade@451 182 <goal>add-test-source</goal>
shade@451 183 </goals>
shade@451 184 <configuration>
shade@451 185 <sources>
shade@451 186 <source>${project.build.testOutputDirectory}/generated-jmh-sources/</source>
shade@451 187 </sources>
shade@451 188 </configuration>
shade@451 189 </execution>
shade@451 190 </executions>
shade@451 191 </plugin>
shade@451 192 <plugin>
shade@507 193 <groupId>org.codehaus.mojo</groupId>
shade@507 194 <artifactId>exec-maven-plugin</artifactId>
shade@507 195 <version>1.2.1</version>
shade@451 196 <executions>
shade@451 197 <execution>
shade@508 198 <phase>process-test-sources</phase>
shade@451 199 <goals>
shade@507 200 <goal>java</goal>
shade@451 201 </goals>
shade@451 202 <configuration>
shade@507 203 <mainClass>org.openjdk.jmh.generators.bytecode.JmhBytecodeGenerator</mainClass>
shade@507 204 <arguments>
shade@508 205 <argument>${project.build.testOutputDirectory}</argument>
shade@508 206 <argument>${project.build.testOutputDirectory}/generated-jmh-sources/</argument>
shade@508 207 <argument>${project.build.testOutputDirectory}</argument>
shade@507 208 </arguments>
shade@451 209 </configuration>
shade@451 210 </execution>
shade@451 211 </executions>
shade@451 212 </plugin>
shade@451 213 </plugins>
shade@451 214 </build>
shade@451 215 </profile>
shade@451 216
shade@805 217 <profile>
shade@805 218 <id>reflect</id>
shade@805 219 <dependencies>
shade@805 220 <dependency>
shade@805 221 <groupId>org.openjdk.jmh</groupId>
shade@805 222 <artifactId>jmh-generator-reflection</artifactId>
shade@805 223 <version>${project.version}</version>
shade@805 224 </dependency>
shade@805 225 </dependencies>
shade@805 226 <build>
shade@805 227 <plugins>
shade@805 228 <plugin>
shade@805 229 <groupId>org.apache.maven.plugins</groupId>
shade@805 230 <artifactId>maven-compiler-plugin</artifactId>
shade@805 231 <version>3.0</version>
shade@805 232 <configuration>
shade@805 233 <compilerVersion>1.6</compilerVersion>
shade@805 234 <source>1.6</source>
shade@805 235 <target>1.6</target>
shade@805 236 <compilerArgument>-proc:none</compilerArgument>
shade@805 237 </configuration>
shade@805 238 <executions>
shade@805 239 <execution>
shade@805 240 <id>compile-java</id>
shade@805 241 <phase>process-test-sources</phase>
shade@805 242 <goals>
shade@805 243 <goal>testCompile</goal>
shade@805 244 </goals>
shade@805 245 </execution>
shade@805 246 <execution>
shade@805 247 <id>compile-jmh</id>
shade@805 248 <phase>process-test-classes</phase>
shade@805 249 <goals>
shade@805 250 <goal>testCompile</goal>
shade@805 251 </goals>
shade@805 252 </execution>
shade@805 253 </executions>
shade@805 254 </plugin>
shade@805 255 <plugin>
shade@805 256 <groupId>org.codehaus.mojo</groupId>
shade@805 257 <artifactId>build-helper-maven-plugin</artifactId>
shade@805 258 <version>1.8</version>
shade@805 259 <executions>
shade@805 260 <execution>
shade@805 261 <id>add-source</id>
shade@805 262 <phase>process-test-sources</phase>
shade@805 263 <goals>
shade@805 264 <goal>add-test-source</goal>
shade@805 265 </goals>
shade@805 266 <configuration>
shade@805 267 <sources>
shade@805 268 <source>${project.build.testOutputDirectory}/generated-jmh-sources/</source>
shade@805 269 </sources>
shade@805 270 </configuration>
shade@805 271 </execution>
shade@805 272 </executions>
shade@805 273 </plugin>
shade@805 274 <plugin>
shade@805 275 <groupId>org.codehaus.mojo</groupId>
shade@805 276 <artifactId>exec-maven-plugin</artifactId>
shade@805 277 <version>1.2.1</version>
shade@805 278 <executions>
shade@805 279 <execution>
shade@805 280 <phase>process-test-sources</phase>
shade@805 281 <goals>
shade@805 282 <goal>java</goal>
shade@805 283 </goals>
shade@805 284 <configuration>
shade@805 285 <mainClass>org.openjdk.jmh.generators.reflective.JmhReflectionGenerator</mainClass>
shade@805 286 <arguments>
shade@805 287 <argument>${project.build.testOutputDirectory}</argument>
shade@805 288 <argument>${project.build.testOutputDirectory}/generated-jmh-sources/</argument>
shade@805 289 <argument>${project.build.testOutputDirectory}</argument>
shade@805 290 </arguments>
shade@805 291 </configuration>
shade@805 292 </execution>
shade@805 293 </executions>
shade@805 294 </plugin>
shade@805 295 </plugins>
shade@805 296 </build>
shade@805 297 </profile>
shade@805 298
shade@451 299 </profiles>
shade@451 300
duke@0 301 </project>