changeset 366:9d70c6308d91

Disable annotation processors in the final JARs (archetype part)
author shade
date Thu, 23 Jan 2014 02:41:48 +0400
parents 5990033f24ae
children 66924b73b76e
files jmh-simple-benchmark-archetype/src/main/resources/archetype-resources/pom.xml
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/jmh-simple-benchmark-archetype/src/main/resources/archetype-resources/pom.xml	Thu Jan 23 02:39:17 2014 +0400
+++ b/jmh-simple-benchmark-archetype/src/main/resources/archetype-resources/pom.xml	Thu Jan 23 02:41:48 2014 +0400
@@ -75,6 +75,14 @@
                                     <mainClass>org.openjdk.jmh.Main</mainClass>
                                 </transformer>
                             </transformers>
+                            <filters>
+                                <filter>
+                                    <artifact>*:*</artifact>
+                                    <excludes>
+                                        <exclude>META-INF/services/javax.annotation.processing.Processor</exclude>
+                                    </excludes>
+                                </filter>
+                            </filters>
                         </configuration>
                     </execution>
                 </executions>