Use the new, and improved, MiniMaven

MiniMaven moved into the SciJava realm, and it also acquired the
ability to clean out artifacts from the ImageJ.app/ directory
structure. Let's use the new version.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
wiki-monitor: handle self-signed https:// conncections

Some Wiki -- e.g. Micro-Manager's -- insist on using HTTPS albeit with
a self-signed certificate. The symptom is a long stack trace ending in

	SunCertPathBuilderException: unable to find valid certification
	path to requested target

To remedy this, download and run

	http://wiki.openkm.com/index.php/File:InstallCert.java

(e.g. java InstallCert micro-manager.org:443) and accept the appropriate
cert (typically, the first one is the correct one, so hitting the Return
key is enough).

This will generate a jssecacerts file, and thanks to the change
introduced by this commit, the wiki-monitor will pick it up.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
upload-plugin-from-maven: use the new 'install-artifact' goal

Version 0.5.0 of imagej-maven-plugin introduces the 'install-artifact'
goal which works just like 'copy-jars' except that it does not need
a pom.xml file.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
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
Make_Screencast: use new LineInputStream location

It moved to SciJava Common.