summaryrefslogtreecommitdiff
path: root/jh-mvn-install.help.txt
diff options
context:
space:
mode:
Diffstat (limited to 'jh-mvn-install.help.txt')
-rw-r--r--jh-mvn-install.help.txt10
1 files changed, 8 insertions, 2 deletions
diff --git a/jh-mvn-install.help.txt b/jh-mvn-install.help.txt
index 838630f..faf80b8 100644
--- a/jh-mvn-install.help.txt
+++ b/jh-mvn-install.help.txt
@@ -1,8 +1,14 @@
-Usage: @cmd@ mvn-install <groupId> <artifactId> <version> <jar-file> <pom-file>
+Usage: @cmd@ mvn-install <groupId> <artifactId> <version> <jar-file> <pom-file> [<alias.jar>]
Installs an artifact into the local Maven 2 repository.
+Optionally creates a symlink in `/usr/share/java`.
This command obeys the DESTDIR environmental variable.
Example:
$ @cmd@ mvn-install junit junit-dep 4.10 \
- /path/to/junit-dep.jar /path/to/junit-dep.pom
+ /path/to/junit-dep.jar /path/to/junit-dep.pom junit.jar
+
+ Would install the files
+ ${DESTDIR}/usr/share/maven/junit/junit-dep/4.10/junit-dep-4.10.jar
+ ${DESTDIR}/usr/share/maven/junit/junit-dep/4.10/junit-dep-4.10.pom
+ ${DESTDIR}/usr/share/java/junit.jar -> /usr/share/maven/junit/junit-dep/4.10/junit-dep-4.10.jar