Add a main-class to the updater-core

The command-line updater is a main-class and for convenience, should
be launched when ij-updater-core is called via 'java -jar' or 'mvn
exec:java'.

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

It only succeeded because it tried to find the localhost.test.url
property, didn't, and skipped the test. And this developer missed
that before pushing the commits.

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

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Simplify updater tests further

... this time by making the main() method even more convenient.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Updater tests: d'oh

The problem was that we did not pay great attention to the .checksums
file recently. Hence the test succeeded, but for the wrong reason.

The underlying bug was fixed, but now the test failed...

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Allow overriding the command-line updater's progress object

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Use a special-purpose Progress in the unit tests

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

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Simplify updater tests further

This time by adding more static imports and using the progress singleton

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Make the show() helper in the updater tests public

While at it, fix slightly questionable code.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Updater tests: also clean up secondary update sites

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Updater tests: add a convenience function to add secondary update sites

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Updater (cmd-line): add the --force-shadow option to 'upload-complete-site'

When uploading a complete site wholesale, we might want to shadow files
available from other update sites, e.g. when we want to provide an
'unstable' update site. The --force-shadow option makes this possible:
obsolete files will be uploaded, as well as files served by other update
sites.

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

This adds the capability to upload to maintain 'unstable' update sites,
i.e. update sites containing file versions that shadow 'stable' update
sites' files intentionally.

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