Make Maven version an explicit prerequisite

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Format the source code of the copy-jars mojo

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

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Refactor the copy-jars mojo

We are about to introduce a mojo that installs artifacts *without*
needing a Maven project. This mojo shares a lot of the business logic
with the copy-jars mojo, so let's have a shared base class for both.

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

This mojo is similar to maven-dependency-plugin's 'get' goal, except in
two respects:

1) It copies ImageJ 1.x plugins into the plugins/ subdirectory, all
   other artifacts into the jars/ subdirectory, of the ImageJ.app/
   directory specified by the 'imagej.app.directory' property.

2) It includes the dependencies (both direct and transitive) in the
   task.

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

This topic branch brings the new goal named 'install-artifact' that
works like the 'copy-jars' goal, except it does not need any Maven
project to work.

Use it like this:

	mvn net.imagej:imagej-maven-plugin:0.5.0:install-artifact \
		-Dimagej.app.directory=/path/to/Fiji.app/ \
		-DgroupId=sc.fiji -DartifactId=TrackMate_ -Dversion=2.2.0

Conflicts:
	src/main/java/imagej/maven/CopyJarsMojo.java

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Increase the minor version number, thanks to 'install-artifact'

New API == new minor version number. See http://semver.org/

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
fixup! Merge branch 'install-artifact'
Avoid using deprecated expression="${...}" construct

This is a twin to the commit 809937f that was performed on the master
branch while the install-artifact branch was developed independently.

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