Skip to content

Commit 3e7c27c

Browse files
committed
Merge READMEs
1 parent 80176ca commit 3e7c27c

File tree

1 file changed

+31
-3
lines changed

1 file changed

+31
-3
lines changed

README.md

Lines changed: 31 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,21 @@ $ mvn scijava:help
1414
[INFO] SciJava plugin for Maven 0.5.0
1515
A plugin for managing SciJava-based projects.
1616

17-
This plugin has 5 goals:
17+
This plugin has 7 goals:
1818

1919
scijava:bump
2020
Bumps dependency and parent versions in SciJava projects.
2121

22+
scijava:copy-jars
23+
Copies .jar artifacts and their dependencies into a SciJava application
24+
directory structure. ImageJ 1.x plugins (identified by containing a
25+
plugins.config file) get copied to the plugins/ subdirectory and all other
26+
.jar files to jars/. However, you can override this decision by setting the
27+
scijava.app.subdirectory property to a specific subdirectory. It expects the
28+
location of the SciJava application directory to be specified in the
29+
scijava.app.directory property (which can be set on the Maven command-line).
30+
If said property is not set, the copy-jars goal is skipped.
31+
2232
scijava:eclipse-helper
2333
Runs the annotation processor of the scijava-common artifact even inside
2434
Eclipse.
@@ -28,6 +38,16 @@ scijava:help
2838
Call mvn scijava:help -Ddetail=true -Dgoal=<goal-name> to display parameter
2939
details.
3040

41+
scijava:install-artifact
42+
Downloads .jar artifacts and their dependencies into a SciJava application
43+
directory structure. ImageJ 1.x plugins (identified by containing a
44+
plugins.config file) get copied to the plugins/ subdirectory and all other
45+
.jar files to jars/. However, you can override this decision by setting the
46+
scijava.app.subdirectory property to a specific subdirectory. It expects the
47+
location of the SciJava application directory to be specified in the
48+
scijava.app.directory property (which can be set on the Maven command-line).
49+
If said property is not set, the install-artifact goal is skipped.
50+
3151
scijava:set-rootdir
3252
Sets the project.rootdir property to the top-level directory of the current
3353
Maven project structure.
@@ -47,8 +67,9 @@ scijava:verify-no-snapshots
4767
Usage
4868
-----
4969
50-
It is recommended to enable the set-rootdir goal by making the
51-
[SciJava POM](http://github.com/scijava/pom-scijava) the parent project:
70+
It is recommended to enable the _set-rootdir_ as well as the _copy-jars_
71+
goal by making the [SciJava POM](http://github.com/scijava/pom-scijava)
72+
the parent project:
5273
5374
```xml
5475
<project ...>
@@ -78,6 +99,13 @@ Alternatively, you can include the plugin explicitly in the life cycle:
7899
<goal>set-rootdir</goal>
79100
</goals>
80101
</execution>
102+
<execution>
103+
<id>copy-jars</id>
104+
<phase>install</phase>
105+
<goals>
106+
<goal>copy-jars</goal>
107+
</goals>
108+
</execution>
81109
</executions>
82110
</plugin>
83111
</plugins>

0 commit comments

Comments
 (0)