annotate jmh-core-benchmarks/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
shade@48 1 <!--
shade@48 2 Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
shade@48 3 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
shade@48 4
shade@48 5 This code is free software; you can redistribute it and/or modify it
shade@48 6 under the terms of the GNU General Public License version 2 only, as
shade@48 7 published by the Free Software Foundation. Oracle designates this
shade@48 8 particular file as subject to the "Classpath" exception as provided
shade@48 9 by Oracle in the LICENSE file that accompanied this code.
shade@48 10
shade@48 11 This code is distributed in the hope that it will be useful, but WITHOUT
shade@48 12 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
shade@48 13 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
shade@48 14 version 2 for more details (a copy is included in the LICENSE file that
shade@48 15 accompanied this code).
shade@48 16
shade@48 17 You should have received a copy of the GNU General Public License version
shade@48 18 2 along with this work; if not, write to the Free Software Foundation,
shade@48 19 Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
shade@48 20
shade@48 21 Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
shade@48 22 or visit www.oracle.com if you need additional information or have any
shade@48 23 questions.
shade@48 24 -->
shade@48 25
shade@48 26 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
shade@48 27 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
shade@48 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 Benchmarks</name>
shade@48 37 <artifactId>jmh-core-benchmarks</artifactId>
shade@48 38 <packaging>jar</packaging>
shade@48 39
shade@48 40 <organization>
shade@48 41 <name>Oracle</name>
shade@48 42 <url>http://openjdk.java.net/</url>
shade@48 43 </organization>
shade@48 44 <inceptionYear>2012</inceptionYear>
shade@48 45
shade@48 46 <dependencies>
shade@48 47 <dependency>
shade@48 48 <groupId>org.openjdk.jmh</groupId>
shade@48 49 <artifactId>jmh-core</artifactId>
shade@485 50 <version>${project.version}</version>
shade@485 51 </dependency>
shade@485 52 <dependency>
shade@485 53 <groupId>org.openjdk.jmh</groupId>
shade@485 54 <artifactId>jmh-generator-annprocess</artifactId>
shade@485 55 <version>${project.version}</version>
shade@495 56 <scope>provided</scope>
shade@48 57 </dependency>
shade@48 58 </dependencies>
shade@48 59
shade@48 60 <properties>
shade@48 61 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
shade@48 62 </properties>
shade@48 63
shade@48 64 <build>
shade@48 65 <plugins>
shade@48 66 <plugin>
shade@48 67 <groupId>org.apache.maven.plugins</groupId>
shade@48 68 <artifactId>maven-compiler-plugin</artifactId>
shade@48 69 <version>3.0</version>
shade@48 70 <configuration>
shade@1369 71 <compilerVersion>1.7</compilerVersion>
shade@1369 72 <source>1.7</source>
shade@1369 73 <target>1.7</target>
shade@48 74 </configuration>
shade@48 75 </plugin>
shade@48 76 <plugin>
shade@48 77 <groupId>org.apache.maven.plugins</groupId>
shade@48 78 <artifactId>maven-surefire-plugin</artifactId>
shade@48 79 <version>2.14.1</version>
shade@48 80 <configuration>
shade@48 81 <forkMode>always</forkMode>
shade@48 82 <redirectTestOutputToFile>true</redirectTestOutputToFile>
shade@48 83 </configuration>
shade@48 84 </plugin>
shade@48 85 <plugin>
shade@48 86 <groupId>org.apache.maven.plugins</groupId>
shade@48 87 <artifactId>maven-shade-plugin</artifactId>
shade@48 88 <version>2.0</version>
shade@48 89 <executions>
shade@48 90 <execution>
shade@770 91 <id>benchmarks</id>
shade@48 92 <phase>package</phase>
shade@48 93 <goals>
shade@48 94 <goal>shade</goal>
shade@48 95 </goals>
shade@48 96 <configuration>
shade@770 97 <finalName>benchmarks</finalName>
shade@48 98 <transformers>
shade@48 99 <transformer
shade@48 100 implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
shade@48 101 <mainClass>org.openjdk.jmh.Main</mainClass>
shade@48 102 </transformer>
shade@48 103 </transformers>
shade@48 104 </configuration>
shade@48 105 </execution>
shade@177 106 <execution>
shade@177 107 <id>validation</id>
shade@177 108 <phase>package</phase>
shade@177 109 <goals>
shade@177 110 <goal>shade</goal>
shade@177 111 </goals>
shade@177 112 <configuration>
shade@1278 113 <finalName>jmh-core-benchmarks</finalName>
shade@1278 114 <shadedArtifactAttached>true</shadedArtifactAttached>
shade@1282 115 <shadedClassifierName>full</shadedClassifierName>
shade@177 116 <transformers>
shade@177 117 <transformer
shade@177 118 implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
shade@1278 119 <mainClass>org.openjdk.jmh.validation.Main</mainClass>
shade@177 120 </transformer>
shade@177 121 </transformers>
shade@177 122 </configuration>
shade@177 123 </execution>
shade@48 124 </executions>
shade@48 125 </plugin>
shade@48 126
shade@48 127 <plugin>
shade@48 128 <groupId>com.mycila.maven-license-plugin</groupId>
shade@48 129 <artifactId>maven-license-plugin</artifactId>
shade@48 130 <version>1.10.b1</version>
shade@48 131 <executions>
shade@48 132 <execution>
shade@48 133 <goals>
shade@48 134 <goal>format</goal>
shade@48 135 </goals>
shade@48 136 <phase>process-sources</phase>
shade@48 137 <configuration>
shade@48 138 <header>file:///${project.basedir}/../src/license/gpl_cpe/header.txt</header>
shade@625 139 <skipExistingHeaders>true</skipExistingHeaders>
shade@48 140 <strictCheck>true</strictCheck>
shade@98 141 <mapping>
shade@98 142 <java>PHP</java>
shade@98 143 </mapping>
shade@48 144 </configuration>
shade@48 145 </execution>
shade@48 146 </executions>
shade@48 147 </plugin>
shade@48 148
shade@48 149 </plugins>
shade@48 150 </build>
shade@48 151
shade@48 152 </project>
shade@48 153
shade@48 154
shade@48 155