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>
Add a 'script engine' for Java

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
TODO: Scripting: add a tag for compiled languages

This interface serves as a duct-typing-interface to label
ScriptEngineFactory implementations to tell ImageJ2 that the language
actually needs compilation prior to execution.

It might still require a companion interface (to be done in the
future) for ScriptEngine to add the compile() method returning a list
of compile products. But maybe it is enough to add that method to
CompiledLanguage; we will see when porting Refresh_Javas to ImageJ2 ;-)

Note: the ScriptEngineFactory must be labeled so that e.g. the
Script Editor can decide even without a ScriptEngine instance that
there need to be different labels in the Run menu (Compile and Run,
as opposed to Run).

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
ScriptService: add a method to identify compiled-only languages

Languages such as Java do not support running via eval(Reader). We
need to be able to tell whether that would fail before trying.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Add the ij-ui-script-editor project

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
First code dump of the Fiji Script Editor

This dump is intentionally non-compiling, to offer a better base for
concurrent development of the Script Editor.

The base is fiji.git's commit fc077481.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Script Editor: remove now-obsolete classes

These classes were needed in the context of Fiji and/or IJ1.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Script Editor: the classes are now in package imagej.script.editor

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Script Editor: add copyright headers

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Script Editor: remove the AutoComplete dependency

It never worked properly.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Script Editor: remove dysfunctional debugging support

Not even the first alpha version of it was ever completed...

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Script Editor: No need for the ClojureTokenMaker anymore

The original plan was to submit our version of the Clojure token
maker to upstream. That never happened. In the meantime, upstream
made their own version. *sigh*

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
TODO: Script Editor: remove a class used by the Fiji Updater

It is done differently now...

TODO: re-instate git diff and git commit after refactoring Updater's
diff view

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Script Editor: remove references to ImageJ 1.x

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