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

# mh\_resolve\_dependencies(1)

manual page for Maven Repo Helper version 1.7.1

## NAME

Maven - manual page for Maven Repo Helper version 1.7.1

## SYNOPSIS

**mh\_resolve\_dependencies** \[*option*\]... *\<package\>*

## DESCRIPTION

Resolve the dependencies and generates the substvars file containing the list of dependent packages.

Where

-

  \<package\> is the name of the binary package,

-

  e.g. libcommons-lang-java. Default to the first binary found in the debian/control file

## OPTIONS

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

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

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

**-j** **--javadoc**: resolve the Javadoc dependencies

**-n** **--non-interactive**: non interactive mode, don't ask questions

**-o** **--offline**: don't ever connect to the internet, for Debian build

-

  compatibility.

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

**-b** **--base-directory**: path to root directory of package

-

  **--non-explore**: doesn't explore directories for pom.xml **--build**: build mode (don't write the .poms and rules files)

Description: This tool reads the POM files defined in debian/.poms and scans the Maven repository in */usr/share/maven-repo*. It then extracts the dependencies required for the current package and store them in the file debian/.substvars where they can be read by debhelper. The variables defined are:

-

  maven:Depends - the list of runtime dependencies maven:OptionalDepends - the list of optional runtime dependencies maven:CompileDepends - the list of compile-time dependencies maven:TestDepends - the list of test dependencies
