diff jmh-generator-bytecode/pom.xml @ 503:5d20f8481fc6

Remove Maven plugin in favor of vanilla code generator.
author shade
date Sat, 08 Mar 2014 11:20:51 +0400
parents fd7213102d10
children 813992b1d95c
line wrap: on
line diff
--- a/jmh-generator-bytecode/pom.xml	Sat Mar 08 01:42:50 2014 +0400
+++ b/jmh-generator-bytecode/pom.xml	Sat Mar 08 11:20:51 2014 +0400
@@ -111,6 +111,30 @@
                     </execution>
                 </executions>
             </plugin>
+
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-shade-plugin</artifactId>
+                <version>2.0</version>
+                <executions>
+                    <execution>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>shade</goal>
+                        </goals>
+                        <configuration>
+                            <finalName>jmh-bytecode-generator</finalName>
+                            <transformers>
+                                <transformer
+                                        implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
+                                    <mainClass>org.openjdk.jmh.generators.bytecode.JmhBytecodeGenerator</mainClass>
+                                </transformer>
+                            </transformers>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+
         </plugins>
     </build>
 </project>