Skip to content

Commit e89cc12

Browse files
committed
Add more detailed Javadocs
1 parent 904c25a commit e89cc12

File tree

2 files changed

+19
-2
lines changed

2 files changed

+19
-2
lines changed

src/main/java/org/scijava/maven/plugin/install/CopyJarsMojo.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,14 @@
5757
* Copies .jar artifacts and their dependencies into a SciJava application
5858
* directory structure.
5959
*
60+
* ImageJ 1.x plugins (identified by containing a plugins.config file) get
61+
* copied to the plugins/ subdirectory and all other .jar files to jars/.
62+
* However, you can override this decision by setting the scijava.app.subdirectory
63+
* property to a specific subdirectory. It expects the location of the SciJava
64+
* application directory to be specified in the scijava.app.directory property
65+
* (which can be set on the Maven command-line). If said property is not set,
66+
* the copy-jars goal is skipped.
67+
*
6068
* @author Johannes Schindelin
6169
* @author Stefan Helfrich
6270
*/

src/main/java/org/scijava/maven/plugin/install/InstallArtifactMojo.java

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,19 @@
7272
import org.codehaus.plexus.util.StringUtils;
7373

7474
/**
75-
* Downloads .jar artifacts and their dependencies into an ImageJ.app/ directory
76-
* structure.
75+
* Downloads .jar artifacts and their dependencies into a SciJava application
76+
* directory structure.
77+
*
78+
* ImageJ 1.x plugins (identified by containing a plugins.config file) get
79+
* copied to the plugins/ subdirectory and all other .jar files to jars/.
80+
* However, you can override this decision by setting the scijava.app.subdirectory
81+
* property to a specific subdirectory. It expects the location of the SciJava
82+
* application directory to be specified in the scijava.app.directory property
83+
* (which can be set on the Maven command-line). If said property is not set,
84+
* the install-artifact goal is skipped.
7785
*
7886
* @author Johannes Schindelin
87+
* @author Stefan Helfrich
7988
*/
8089
@Mojo(name = "install-artifact", requiresProject=false)
8190
public class InstallArtifactMojo extends AbstractCopyJarsMojo {

0 commit comments

Comments
 (0)