---
name: "mh_installsite"
section: "1"
platform: "linux"
package: "maven-repo-helper"
version: "1.11"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/mh_installsite"
---

# mh\_installsite(1)

Installs site.xml into /usr/share/maven-repo.

## NAME

Maven - Installs site.xml into /usr/share/maven-repo.

## SYNOPSIS

**mh\_installsite** \[*option*\]... \[*pom*\] \[*site-file*\]

## DESCRIPTION

Installs the site.xml file in */usr/share/maven-repo*, at the correct location for Maven.

Where

-

  \[pom\] is the location of the POM associated with the site.xml file to install.

-

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

-

  \[site-file\] is the location of the site.xml to install.

## OPTIONS

**-h** **--help**: show this text

**-V** **--version**: show the version

**-p**\<package\> **--package=**\<package\>: name of the Debian package which

-

  will contain the site file

**-e**\<version\>, **--set-version=**\<version\>: set the version for the artifact,

-

  do not use the version declared in the POM file.

**-r**\<rules\> **--rules=**\<rules\>: path to the file containing the

-

  rules to apply when cleaning the POM. Optional, the default location is debian/maven.rules Maven rules are used here to extract the groupId, artifactId and version from the POM file.

**-v** **--verbose**: show more information while running

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

**--skip-clean-pom**: don't clean the pom, assume that a previous action ran

-

  mh\_cleanpom with the correct options. mh\_cleanpom is run only to extract the groupId, artifactId and version of the jar

See also: [mh\_installpom(1)](/mh_installpom/1.md), [mh\_installjar(1)](/mh_installjar/1.md)
