Repository: incubator-pirk
Updated Branches:
  refs/heads/master 442b21790 -> ba0673b2a


PIRK-24 JMH and Pom, exclude benchmark classes and jmh jars from being packaged 
into uber jar - closes apache/incubator-pirk#22


Project: http://git-wip-us.apache.org/repos/asf/incubator-pirk/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-pirk/commit/ba0673b2
Tree: http://git-wip-us.apache.org/repos/asf/incubator-pirk/tree/ba0673b2
Diff: http://git-wip-us.apache.org/repos/asf/incubator-pirk/diff/ba0673b2

Branch: refs/heads/master
Commit: ba0673b2a5107a8b6e1bb82a6b66229d0edfa522
Parents: 442b217
Author: smarthi <smar...@apache.org>
Authored: Sat Jul 23 19:41:19 2016 -0400
Committer: eawilliams <eawilli...@apache.org>
Committed: Sat Jul 23 19:41:19 2016 -0400

----------------------------------------------------------------------
 pom.xml | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-pirk/blob/ba0673b2/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 20db598..df70d9c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -174,12 +174,14 @@
                        <groupId>org.openjdk.jmh</groupId>
                        <artifactId>jmh-core</artifactId>
                        <version>${jmh.version}</version>
+                       <scope>provided</scope>
                </dependency>
 
                <dependency>
                        <groupId>org.openjdk.jmh</groupId>
                        <artifactId>jmh-generator-annprocess</artifactId>
                        <version>${jmh.version}</version>
+                       <scope>provided</scope>
                </dependency>
 
                <!-- Sl4j modules -->
@@ -227,6 +229,18 @@
                                        <target>${javac.target}</target>
                                </configuration>
                        </plugin>
+
+                       <plugin>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-jar-plugin</artifactId>
+                               <configuration>
+                                       <excludes>
+                                               
<exclude>org/apache/pirk/benchmark/**</exclude>
+                                               
<exclude>org/openjdk/jmh/**</exclude>
+                                       </excludes>
+                               </configuration>
+                       </plugin>
+
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-shade-plugin</artifactId>

Reply via email to