summaryrefslogtreecommitdiff
path: root/jh-mvn-install.help.txt
blob: faf80b85abb65be62e1bd79c172919a6aa220a62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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 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