annotate jmh-api-samples/pom.xml @ 365:5990033f24ae

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