Clarify the documentation of FileUtils#getExtension(...)

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
FileUtils: Add a method to create temporary directories

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Script Service: allow setting the file name and stdout & stderr

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Rename the top-level script project to 'ij-script'

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Fix dependecy of 'script-beanshell'

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Add the MiniMaven subproject

MiniMaven is a small component capable of building ImageJ2 plugins
from a pom.xml, just like Maven would. It is small because it does
not support any Maven plugins. Its purpose is to provide developers
(and advanced users) with a build system without requiring a full-blown
Maven (including downloading a metric ton of files upon first start).

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
The first code-dump of MiniMaven

This is the code straight from Fiji's commit 11091b34c.

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

It is an ImageJ2 project now...

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
MiniMaven: add license headers

Thanks, 'mvn license:update-file-header'

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
MiniMaven: use @Override where appropriate

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
MiniMaven: fix a few more compiler warnings

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
MiniMaven: fix remaining compiler warnings

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
MiniMaven: rename the POM class into MavenProject

There are two reasons for that:

1) it is a better name (since the class performs many more tasks than just
   parsing a pom.xml file), and

2) there is another class named POM already (which pretty much only parses
   a pom.xml file).

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
MiniMaven: try to fall back to tools.jar when compiling

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
MiniMaven: offer to parse a pom.xml from an InputStream

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
MiniMaven: offer to fake a project configuration for a given .jar file

For the script editor, we will want to compile using all the .jar
files in the class path, whether they are Mavenized or not.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
MiniMaven: offer group and artifact IDs of coordinates

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
MiniMaven: fall back to System.err if no err was specified

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
MiniMaven: fix test for aggregator projects

We cannot just look whether the packaging is set to 'pom', really,
because a lot of pom files in /home/johannes/.m2/repository/ would fail
that test.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Add a 'script engine' for Java

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