From: Svjatoslav Agejenko Date: Wed, 25 Dec 2013 00:43:50 +0000 (+0200) Subject: build separate artifact for jar with dependencies X-Git-Tag: meviz-1.0~63 X-Git-Url: http://www2.svjatoslav.eu/gitweb/?a=commitdiff_plain;h=da309c984b38b17a7a03f7ea9d18f874298114e2;p=meviz.git build separate artifact for jar with dependencies --- 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