annotate jmh-core-it/pom.xml @ 451:d1f2c90bd7f6

jmh-core-it: optionally run integration tests with ASMv4 generators, bypassing annotation processors.
author shade
date Sat, 01 Mar 2014 01:28:16 +0400
parents 19a1d5fc4594
children a5f4419b6596
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@425 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>
shade@451 53 <groupId>org.openjdk.jmh</groupId>
shade@451 54 <artifactId>jmh-generator-maven-plugin</artifactId>
shade@451 55 <version>${project.version}</version>
duke@0 56 </dependency>
duke@0 57 <dependency>
duke@0 58 <groupId>junit</groupId>
duke@0 59 <artifactId>junit</artifactId>
duke@0 60 <version>4.10</version>
duke@0 61 <scope>test</scope>
duke@0 62 </dependency>
duke@0 63 </dependencies>
duke@0 64
duke@0 65 <prerequisites>
duke@0 66 <maven>3.0</maven>
duke@0 67 </prerequisites>
duke@0 68
shade@3 69 <properties>
shade@3 70 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
shade@3 71 </properties>
shade@3 72
duke@0 73 <build>
duke@0 74 <plugins>
duke@0 75 <plugin>
duke@0 76 <groupId>org.apache.maven.plugins</groupId>
duke@0 77 <artifactId>maven-surefire-plugin</artifactId>
shade@42 78 <version>2.14.1</version>
duke@0 79 <configuration>
shade@155 80 <forkCount>2C</forkCount>
shade@42 81 <reuseForks>true</reuseForks>
duke@0 82 <redirectTestOutputToFile>true</redirectTestOutputToFile>
duke@0 83 </configuration>
duke@0 84 </plugin>
duke@0 85
duke@0 86 <plugin>
duke@0 87 <groupId>com.mycila.maven-license-plugin</groupId>
duke@0 88 <artifactId>maven-license-plugin</artifactId>
shade@4 89 <version>1.10.b1</version>
duke@0 90 <executions>
duke@0 91 <execution>
duke@0 92 <goals>
duke@0 93 <goal>format</goal>
duke@0 94 </goals>
duke@0 95 <phase>process-sources</phase>
duke@0 96 <configuration>
duke@0 97 <header>file:///${project.basedir}/../src/license/gpl_cpe/header.txt</header>
duke@0 98 <skipExistingHeaders>false</skipExistingHeaders>
duke@0 99 <strictCheck>true</strictCheck>
shade@98 100 <mapping>
shade@98 101 <java>PHP</java>
shade@98 102 </mapping>
duke@0 103 </configuration>
duke@0 104 </execution>
duke@0 105 </executions>
duke@0 106 </plugin>
duke@0 107 </plugins>
duke@0 108 </build>
duke@0 109
shade@451 110 <profiles>
shade@451 111 <profile>
shade@451 112 <id>default</id>
shade@451 113 <activation>
shade@451 114 <activeByDefault>true</activeByDefault>
shade@451 115 </activation>
shade@451 116 <build>
shade@451 117 <plugins>
shade@451 118 <plugin>
shade@451 119 <groupId>org.apache.maven.plugins</groupId>
shade@451 120 <artifactId>maven-compiler-plugin</artifactId>
shade@451 121 <version>3.0</version>
shade@451 122 <configuration>
shade@451 123 <compilerVersion>1.6</compilerVersion>
shade@451 124 <source>1.6</source>
shade@451 125 <target>1.6</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@451 134 <build>
shade@451 135 <plugins>
shade@451 136 <plugin>
shade@451 137 <groupId>org.apache.maven.plugins</groupId>
shade@451 138 <artifactId>maven-compiler-plugin</artifactId>
shade@451 139 <version>3.0</version>
shade@451 140 <configuration>
shade@451 141 <compilerVersion>1.6</compilerVersion>
shade@451 142 <source>1.6</source>
shade@451 143 <target>1.6</target>
shade@451 144 <compilerArgument>-proc:none</compilerArgument>
shade@451 145 </configuration>
shade@451 146 <executions>
shade@451 147 <execution>
shade@451 148 <id>compile-java</id>
shade@451 149 <phase>process-test-sources</phase>
shade@451 150 <goals>
shade@451 151 <goal>testCompile</goal>
shade@451 152 </goals>
shade@451 153 </execution>
shade@451 154 <execution>
shade@451 155 <id>compile-jmh</id>
shade@451 156 <phase>process-test-classes</phase>
shade@451 157 <goals>
shade@451 158 <goal>testCompile</goal>
shade@451 159 </goals>
shade@451 160 </execution>
shade@451 161 </executions>
shade@451 162 </plugin>
shade@451 163 <plugin>
shade@451 164 <groupId>org.codehaus.mojo</groupId>
shade@451 165 <artifactId>build-helper-maven-plugin</artifactId>
shade@451 166 <version>1.8</version>
shade@451 167 <executions>
shade@451 168 <execution>
shade@451 169 <id>add-source</id>
shade@451 170 <phase>process-test-sources</phase>
shade@451 171 <goals>
shade@451 172 <goal>add-test-source</goal>
shade@451 173 </goals>
shade@451 174 <configuration>
shade@451 175 <sources>
shade@451 176 <source>${project.build.testOutputDirectory}/generated-jmh-sources/</source>
shade@451 177 </sources>
shade@451 178 </configuration>
shade@451 179 </execution>
shade@451 180 </executions>
shade@451 181 </plugin>
shade@451 182 <plugin>
shade@451 183 <groupId>org.openjdk.jmh</groupId>
shade@451 184 <artifactId>jmh-generator-maven-plugin</artifactId>
shade@451 185 <version>${project.version}</version>
shade@451 186 <executions>
shade@451 187 <execution>
shade@451 188 <phase>process-test-sources</phase>
shade@451 189 <goals>
shade@451 190 <goal>generate</goal>
shade@451 191 </goals>
shade@451 192 <configuration>
shade@451 193 <compiledBytecodeDirectory>${project.build.testOutputDirectory}</compiledBytecodeDirectory>
shade@451 194 <outputResourceDirectory>${project.build.testOutputDirectory}</outputResourceDirectory>
shade@451 195 <outputSourceDirectory>${project.build.testOutputDirectory}/generated-jmh-sources/</outputSourceDirectory>
shade@451 196 </configuration>
shade@451 197 </execution>
shade@451 198 </executions>
shade@451 199 </plugin>
shade@451 200 </plugins>
shade@451 201 </build>
shade@451 202 </profile>
shade@451 203
shade@451 204 </profiles>
shade@451 205
duke@0 206 </project>