Update to newest pom-imagej

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Remove the Script Editor plugin

It has been replaced by the ImageJ2 script editor now.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Update Fix_Updater.js to current version

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Fix_Updater.js: try even harder to get out of a fix

Under certain circumstances, the PluginClassLoader's URL array
becomes empty, even if the PluginClassLoader itself has no
problem finding classes. But Javascript will not be able to
execute the otherwise innocuous 'importPackage(Packages.ij);'
statement.

So let's try extra, extra hard to find the ij.IJ class.

This is related to the bug reported by Claudio Collinet in

	http://fiji.sc/bugzilla/show_bug.cgi?id=763

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Bump to newest pom-imagej

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Bump to newest parent version

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Let the Windows-specifc Jenkins node connect to Jenkins directly

The URL http://jenkins.imagej.net/ gets routed through Apache, the
real Jenkins is running on port 8080 (and we added the reverse proxy
only for Albert Cardona who is stuck behind a firewall that prevents
connecting to any port 8080, a firewall he cannot pinch). But our
Windows slave can connect directly. So it should do so.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Find_Jar_For_Class.bsh: import ij.IJ first thing

Otherwise, the script does not work with the ImageJ2 script engine,
which no longer auto-imports the ij.* packages in some situations.
Exclude mapdb and udunits from the updater URLs

The URLs for use in the updater bootstrapper are determined from the
dependencies on the update site itself. However, since imagej-updater
depends on imagej-common, which in turn depends on scifio, we would end
up with dependencies that are actually not needed for the updater to run
(not even for the updater GUI). So let's exclude them from the update
URLs explicitly.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Hardcode the WebDAV uploader into the updater URLs

This should help with repairing things on the personal update sites
(which can be uploaded to via WebDAV).

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Update the updater URLs

The Fix_Updater.js script is made available via
http://update.imagej.net/bootstrap.js to bootstrap or fix installations
in case things go south.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Fix_Updater.js: in debug mode, report the imagej.dir setting

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Fix_Updater.js: skip /jars/ suffix from ij.jar location for imagej.dir

When determining the valid imagej.dir setting in case it has not been
set, we fall back to guess it from the location of the ij.jar file. If
that file is inside jars/, we know it is one level below the top-level
directory...

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Fix_Updater.js: avoid installing the updater right away

There is a special mode in the ImageJ updater GUI that allows to update
the updater itself. To prevent an eternal loop in such a case, we have a
cunning hack in place: the thread name is set specifically to indicate
that we're currently updating the updater and that there is no need to
update it.

Since the Fix_Updater.js script is intended to run a known-good version
of the updater, let's not enforce it to be downloaded and installed, but
let's run the updater from the remote URLs instead.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Merge branch 'updater-updates'

Update the updater URLs and work a little bit more to make the script
useful under even more circumstances.

In particular, we now want to support the case that ImageJ 1.x was run
by double-clicking the ij.jar file in jars/ directly, calling
File>Import>URL... with the URL http://update.imagej.net/bootstrap.js
and then running it with Ctrl+J (or Command+J on MacOSX).

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

The old version copied all test-scoped artifacts, too...

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
upload-plugin-from-maven: simplify call to imagej-maven-plugin

No need to specify groupId, artifactId and version separately...

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
upload-plugin-from-maven: use edit-update-site all the time

The updater is more forgiving (for a couple of days now), so let's use
edit-update-site instead of trying to figure out whether we have to call
add-update-site instead.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
upload-plugin-from-maven: recommend using $HOME/.netrc

It is much safer to use the .netrc file instead of hard-coding the
password in the db.xml.gz file. The only downside is that you cannot use
spaces, tabs or newlines in your password, but this developer says: just
don't use them, then.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Merge branch 'dev-update-sites'

This merge branch updates the script to upload dev update sites (such
as TrackMate-dev) to behave a *little* more cleverly.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>