From da309c984b38b17a7a03f7ea9d18f874298114e2 Mon Sep 17 00:00:00 2001 From: Svjatoslav Agejenko Date: Wed, 25 Dec 2013 02:43:50 +0200 Subject: [PATCH] build separate artifact for jar with dependencies --- install | 3 ++- meviz | 2 +- pom.xml | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/install b/install index d7e9a04..74b5f4d 100755 --- a/install +++ b/install @@ -14,7 +14,8 @@ mvn clean mvn package sudo mkdir /opt/meviz -sudo cp target/meviz-1.0-SNAPSHOT.jar /opt/meviz/ +sudo rm /opt/meviz/meviz.jar +sudo cp target/meviz-1.0-SNAPSHOT-jar-with-dependencies.jar /opt/meviz/meviz.jar sudo cp meviz /opt/meviz/ sudo ln -s /opt/meviz/meviz /usr/bin/ diff --git a/meviz b/meviz index c356555..9586cdf 100755 --- a/meviz +++ b/meviz @@ -2,5 +2,5 @@ set -f -java -Xmx1500m -jar /opt/meviz/meviz-1.0-SNAPSHOT.jar $@ +java -Xmx1500m -jar /opt/meviz/meviz.jar $@ diff --git a/pom.xml b/pom.xml index 0a0bd40..3e78e15 100755 --- a/pom.xml +++ b/pom.xml @@ -52,7 +52,6 @@ single - false jar-with-dependencies @@ -74,6 +73,7 @@ 1.6 1.6 + UTF-8 @@ -126,7 +126,7 @@ svjatoslav.eu svjatoslav.eu - scp://svjatoslav.eu/var/www/svjatoslav.eu/maven + scp://svjatoslav.eu/var/www/svjatoslav.eu/maven -- 2.20.1