Build.sh: do not consider empty files up-to-date

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Build.sh: follow redirects when downloading maven-helper.sh

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Added a conversion to 8-bit

As the original image is only white and black, an 8 bit datatype is
sufficient to store information about the picture. Changing the datatype
allows for the use of the Glasbey spectrum. When applied to a black and
white picture, the Glasbey spectrum will assign each shade of grey a
vastly different color, allowing for easy differentiation between
shades.
upload-plugin-from-maven: delete the artifact before installing

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
upload-plugin-from-maven: force overwriting dependencies

This is necessary e.g. for SNAPSHOT-versioned dependencies.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
upload-plugin-from-maven: use imagej-maven-plugin version 0.5.1

This has a bug fix: the top-level artifact is now installed, even if
its scope is not set, technically.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
upload-plugin-from-maven: use imagej-maven-plugin version 0.5.2

This fixes the bug where OME's artifacts would override SCIFIO's,
as a consequence preventing proper Context creation, resulting in
Fiji's runtime patches not being applied.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Bump to current Color Inspector 3D version

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Bump fiji-lib to version 2.0.0

This is the first in hopefully a very long line of switches from
SNAPSHOT-version couplings to release ones.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Switch to the new imagej-launcher artifactId

The ImageJ launcher was just renamed from 'ij-launcher' to
'imagej-launcher'.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
download-launchers.sh: fix "release" mode

It now uses only the Sonatype releases repository, so that snapshot
versions are never downloaded when releases are requested.
Build.sh: Fail fast when downloading maven-helper.sh

When downloading maven-helper, sometimes there are network problems.
Rather than storing the HTML error in the maven-helper.sh file, let's
fail fast.

While at it, also download silently.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Build.sh: Error out when maven_helper failed

Peter Steinbach reported that Build.sh just continues when it could not
download the maven-helper script instead of exiting with an error.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Updater bootstrap.js: set the imagej.dir property in addition to ij.dir

In the future, the ImageJ launcher will set imagej.dir (and only set
ij.dir and fiji.dir for backwards-compatibility). We should rely on
the imagej.dir property instead.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Updater bootstrap.js: when imagej.dir is not set, look at ij.dir first

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Merge pull request #82 from apal4/Added-8-bit-to-Adelson-squares

Update Adelsons_Squares.ijm