From 6303b87e57c2be489d42a10b3565f43e7d2a44d9 Mon Sep 17 00:00:00 2001
From: nitsanw <nitsanw@yahoo.com>
Date: Thu, 5 Mar 2015 13:46:48 +0100
Subject: [PATCH] [packaging] pack dependencies in jar

---
 core/pom.xml | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/core/pom.xml b/core/pom.xml
index ac7d3568..62acc96b 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -38,4 +38,27 @@
       <version>2.1.4</version>
     </dependency>
   </dependencies>
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-assembly-plugin</artifactId>
+        <version>${maven.assembly.version}</version>
+        <configuration>
+          <descriptorRefs>
+            <descriptorRef>jar-with-dependencies</descriptorRef>
+          </descriptorRefs>
+          <appendAssemblyId>false</appendAssemblyId>
+        </configuration>
+        <executions>
+          <execution>
+            <phase>package</phase>
+            <goals>
+              <goal>single</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+  </build>
 </project>
-- 
GitLab