From: Svjatoslav Agejenko Date: Sun, 11 Jun 2023 20:19:09 +0000 (+0300) Subject: Had fight with maven. It decided to block HTTP repositories. X-Git-Url: http://www2.svjatoslav.eu/gitweb/?a=commitdiff_plain;h=4d9647b836816dca293abacaf00ebab2dac8eda2;p=meviz.git Had fight with maven. It decided to block HTTP repositories. --- diff --git a/.mvn/custom-settings.xml b/.mvn/custom-settings.xml new file mode 100644 index 0000000..952c64d --- /dev/null +++ b/.mvn/custom-settings.xml @@ -0,0 +1,27 @@ + + + + releases-java-net-http-unblocker + releases.java.net + releases.java.net + http://maven.java.net/content/repositories/releases/ + false + + + openimaj-maven-http-unblocker + openimaj-maven + OpenIMAJ Maven + http://maven.openimaj.org/ + false + + + openimaj-snapshots-maven-http-unblocker + openimaj-snapshots-maven + OpenIMAJ Snapshots Maven + http://snapshots.openimaj.org/ + false + + + diff --git a/install b/install index 52c24a7..27d7b0e 100755 --- a/install +++ b/install @@ -2,8 +2,9 @@ sudo apt-get install maven lame vorbis-tools imagemagick ffmpeg2theora --yes + mvn clean -mvn package +mvn package --settings .mvn/custom-settings.xml sudo mkdir /opt/meviz sudo rm /opt/meviz/meviz.jar diff --git a/src/main/java/eu/svjatoslav/meviz/htmlindexer/layouts/MixedLayout.java b/src/main/java/eu/svjatoslav/meviz/htmlindexer/layouts/MixedLayout.java index 986fe33..644fc5a 100755 --- a/src/main/java/eu/svjatoslav/meviz/htmlindexer/layouts/MixedLayout.java +++ b/src/main/java/eu/svjatoslav/meviz/htmlindexer/layouts/MixedLayout.java @@ -139,7 +139,6 @@ public class MixedLayout implements Layout { /** * {@inheritDoc} * - * @throws IOException */ @Override public String getHtml(final boolean showTitle,