mh_linkrepojar(1)

mh_linkrepojar1

Creates a link from a jar already installed in /usr/share/maven-repo.

Usage

mh_linkrepojar [option] ... [pom] [link] ...

Overview

Create symlinks from the jar in the Maven repository to any location, usually to a file located in /usr/share/java.

Where

[pom] is the location of the POM associated with the jar to install.

GroupId, artifactId and version will be extracted from this file.

[link] is a link to the jar to install, usually there should

be a link to usr/share/java/$jar.jar and usr/share/java/$jar-$version.jar to comply with the Java packaging guidelines. Note that there is no need to specify those particular links if the --java-lib option is used.

Options

-h --help: show this text

-V --version: show the version

-p<package> --package=<package>: package to act on

-r<rules> --rules=<rules>: gives the location of the rules file for

special properties. Optional, the default location is debian/maven.rules

-c<classifier> --classifier=<classifier>: Optional, the classifier for

the jar in the Maven repository. Empty by default.

-v --verbose: show more information while running

-n --no-act: don't actually do anything, just print the results

Releases

8 releases since Debian 6.0 (Squeeze); the text changed 6 times.

  1. 6.0
  2. 7
  3. 8
  4. 9
  5. 10
  6. 11
  7. 12–13

From maven-repo-helper 1.11 in Debian 13 (Trixie). Parsed by carta from the page's man source.