Avoid using the deprecated Coordinate constructor

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Avoid cluttering the target/ directory with test directories

Let's have a consistent naming, based on the test method and the line
number, and reuse the directory names of the output directories.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Fix MavenProject#compareTo()

We would like to sort MavenProjects into TreeSets; For that, they
have to be Comparable. The previous version of the compareTo()
method failed to take classifiers into account; As a consequence,
MavenProject instances representing artifacts with classifiers were
ignored when accumulating dependencies, if the same artifact is a
dependency *without* the classifier already. This happened for example
with ImageJ2's miglayout dependency (which comes as an artifact without
a classifier as well as an artifact with the 'swing' classifier).

While at it, we also implement the equals() and hashCode() methods,
as mandated by the Comparable contract.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Do not forget the classifier when copying artifacts to ImageJ.app/

The artifacts miglayout-3.7.3.1-swing.jar and miglayout-3.7.3.1.jar
are *really* different artifacts, not just different versions of the
same one.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Add a test helper to detect whether we have a network

We are about to add a unit test that requires the machine to be online
because it will download and install the miglayout artifacts. Let's
have a way to determine first whether we *are* online (so we can skip
the test if we're not).

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

This pom-scijava version actually already references this MiniMaven
version because it has a newly-introduced <dependencyManagement> section
that requires the bug fixes in the MiniMaven release 1.0.2 which we are
*about* to release.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Add a test for copying dependencies with classifiers

This requires not only the recent test to copy artifacts to a
destination *including* the classifier, but also a fix to the
FileUtils.getAllVersions() method brought to you by SciJava-common
version 2.11.2 (for which we just bumped the pom-scijava version).

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

This topic branch prepares MiniMaven to handle pom-scijava's
newly-introduced <dependencyManagement> section correctly.

Funnily enough, we already reference that new MiniMaven version in the
new pom-scijava version so that for a brief span of time, pom-scijava
references a not-yet-released version.

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