From 4d9647b836816dca293abacaf00ebab2dac8eda2 Mon Sep 17 00:00:00 2001 From: Svjatoslav Agejenko Date: Sun, 11 Jun 2023 23:19:09 +0300 Subject: [PATCH] Had fight with maven. It decided to block HTTP repositories. --- .mvn/custom-settings.xml | 27 +++++++++++++++++++ install | 3 ++- .../htmlindexer/layouts/MixedLayout.java | 1 - 3 files changed, 29 insertions(+), 2 deletions(-) create mode 100644 .mvn/custom-settings.xml 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, -- 2.20.1