- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
@Mojo(name="install-artifact",
requiresProject=false)
public class InstallArtifactMojo
extends AbstractCopyJarsMojo
Downloads .jar artifacts and their dependencies into a SciJava application
directory structure.
ImageJ 1.x plugins (identified by containing a plugins.config file) get
copied to the plugins/ subdirectory and all other .jar files to jars/.
However, you can override this decision by setting the scijava.app.subdirectory
property to a specific subdirectory. It expects the location of the SciJava
application directory to be specified in the scijava.app.directory property
(which can be set on the Maven command-line). If said property is not set,
the install-artifact goal is skipped.
- Author:
- Johannes Schindelin, Stefan Helfrich