Clean up our dependencies

Many, many dependencies were added somewhere along the line, but are not
actually needed. Let's get rid of them, and actually depend on maven-core
proper.

We have to add JUnit directly now because it was only a transitive
dependency.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Update to Maven 3.0

Let's not get stuck with obsolete API; we will need some rather powerful
things out of the Maven 3 API for the upcoming 'bump' mojo.

To stay compatible with the maven-plugin-annotations dependency, we only
bump to 3.0, not 3.0.4 (the maven-enforcer-plugin would point out an
incompatibility there).

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Add a class to read and write pom.xml files

This will come in real handy for the upcoming "bump" mojo to bump versions
in POMs. The job of mojo was previously performed by SciJava scripts'
bump-version-in-pom.sh script.

The most important part is that we modify the file contents as little as
possible, to avoid hiding the real changes between unsubstantial
formatting changes.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Add a unit test for the PomEditor

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
PomEditor: Add some API to extract information from the parsed POM

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Pass a logger instance to the PomEditor

... so it can warn properly...

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
WIP: PomEditor: allow to modify versions of referenced projects

TODO: describe the SciJava method of having properties and
dependencyMangement.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
PomEditor: handle import-scope pom-type dependencies, too

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Add the "bump" mojo

Its purpose is to help SciJava projects maintain parent POMs, i.e. POMs
listing projects' current versions.

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

Unfortunately, the enforcer plugin – which is now active thanks to the new
parent version – identifies a couple of upstream problems we need to
ignore because we cannot fix them here.

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

UTF-8! Latest???