1 <?xml version="1.0" encoding="UTF-8"?> 2 3 <!-- 4 Copyright (c) 2010, 2018, Oracle and/or its affiliates. All rights reserved. 5 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 6 7 This code is free software; you can redistribute it and/or modify it 8 under the terms of the GNU General Public License version 2 only, as 9 published by the Free Software Foundation. 10 11 This code is distributed in the hope that it will be useful, but WITHOUT 12 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 version 2 for more details (a copy is included in the LICENSE file that 15 accompanied this code). 16 17 You should have received a copy of the GNU General Public License version 18 2 along with this work; if not, write to the Free Software Foundation, 19 Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 21 Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 or visit www.oracle.com if you need additional information or have any 23 questions. 24 --> 25 26 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 27 28 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> 29 <modelVersion>4.0.0</modelVersion> 30 31 <groupId>org.openjdk</groupId> 32 <artifactId>jmh-jdk-microbenchmarks</artifactId> 33 <version>1.0-SNAPSHOT</version> 34 <packaging>jar</packaging> 35 <name>OpenJDK Microbenchmark Corpus</name> 36 37 <build> 38 <plugins> 39 <plugin> 40 <groupId>org.apache.maven.plugins</groupId> 41 <artifactId>maven-compiler-plugin</artifactId> 42 <version>3.1</version> 43 <configuration> 44 <source>1.8</source> 45 <target>1.8</target> 46 </configuration> 47 </plugin> 48 <plugin> 49 <groupId>org.apache.maven.plugins</groupId> 50 <artifactId>maven-jar-plugin</artifactId> 51 <version>2.4</version> 52 <configuration> 53 <archive> 54 <!-- Do not waste time compressing, maven-shade-plugin will compress the final JAR --> 55 <compress>false</compress> 56 </archive> 57 </configuration> 58 </plugin> 59 <plugin> 60 <groupId>org.codehaus.mojo</groupId> 61 <artifactId>exec-maven-plugin</artifactId> 62 <version>1.3.2</version> 63 <executions> 64 <execution> 65 <phase>process-classes</phase> 66 <goals> 67 <goal>java</goal> 68 </goals> 69 </execution> 70 </executions> 71 <configuration> 72 <mainClass>org.openjdk.bench.java.lang.invoke.Indify</mainClass> 73 <arguments> 74 <argument>--overwrite</argument> 75 <argument>${project.build.outputDirectory}</argument> 76 </arguments> 77 </configuration> 78 </plugin> 79 <plugin> 80 <groupId>com.mycila.maven-license-plugin</groupId> 81 <artifactId>maven-license-plugin</artifactId> 82 <version>1.10.b1</version> 83 <executions> 84 <execution> 85 <goals> 86 <goal>format</goal> 87 </goals> 88 <phase>process-sources</phase> 89 <configuration> 90 <header>${project.basedir}/src/license/gpl_cpe/header.txt</header> 91 <skipExistingHeaders>true</skipExistingHeaders> 92 <strictCheck>true</strictCheck> 93 <includes> 94 <include>src/main/java</include> 95 </includes> 96 <mapping> 97 <java>PHP</java> 98 </mapping> 99 </configuration> 100 </execution> 101 </executions> 102 </plugin> 103 <plugin> 104 <groupId>org.apache.maven.plugins</groupId> 105 <artifactId>maven-shade-plugin</artifactId> 106 <version>2.3</version> 107 <executions> 108 <execution> 109 <phase>package</phase> 110 <goals> 111 <goal>shade</goal> 112 </goals> 113 <configuration> 114 <transformers> 115 <transformer 116 implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> 117 <mainClass>org.openjdk.jmh.Main</mainClass> 118 </transformer> 119 </transformers> 120 <createDependencyReducedPom>false</createDependencyReducedPom> 121 </configuration> 122 </execution> 123 </executions> 124 </plugin> 125 </plugins> 126 </build> 127 128 <properties> 129 <jmh.version>1.17.2</jmh.version> 130 </properties> 131 132 <dependencies> 133 <dependency> 134 <groupId>org.openjdk.jmh</groupId> 135 <artifactId>jmh-core</artifactId> 136 <version>${jmh.version}</version> 137 </dependency> 138 <dependency> 139 <groupId>org.openjdk.jmh</groupId> 140 <artifactId>jmh-generator-annprocess</artifactId> 141 <version>${jmh.version}</version> 142 <scope>provided</scope> 143 </dependency> 144 </dependencies> 145 146 </project> 147 148