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/
<goal>single</goal>
</goals>
<configuration>
- <appendAssemblyId>false</appendAssemblyId>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
<configuration>
<source>1.6</source>
<target>1.6</target>
+ <encoding>UTF-8</encoding>
</configuration>
</plugin>
<repository>
<id>svjatoslav.eu</id>
<name>svjatoslav.eu</name>
- <url>scp://svjatoslav.eu/var/www/svjatoslav.eu/maven</url>
+ <url>scp://svjatoslav.eu/var/www/svjatoslav.eu/maven</url>
</repository>
</distributionManagement>