Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.

Chapter 14. maven


14.1. maven:http-proxy-list

14.1.1. Description

Lists HTTP proxy configurations for Maven remote repositories

14.1.2. Syntax

maven:http-proxy-list [options]

14.1.3. Options

NameDescription

--help

Display this help message

-x, --show-passwords

Do not hide passwords related to Maven encryption

14.2. maven:http-proxy

14.2.1. Description

Manage HTTP proxy configuration for Maven remote repositories

14.2.2. Syntax

maven:http-proxy [options] [hostPort]

14.2.3. Arguments

NameDescription

hostPort

host:port of HTTP proxy

14.2.4. Options

NameDescription

-p, --password

Password for remote repository (may be encrypted, see "maven:password -ep")

--help

Display this help message

-f, --force

Do not ask for confirmation

-id

Identifier of HTTP proxy

--change

Changes HTTP proxy configuration in Maven settings

-n, --non-proxy-hosts

Non-proxied hosts (in the format '192.168.*|localhost|…​')

--remove

Removes HTTP proxy configuration from Maven settings

--add

Adds HTTP proxy configuration to Maven settings

-u, --username

Username for remote repository

-x, --show-passwords

Do not hide passwords related to Maven encryption

14.3. maven:password

14.3.1. Description

Manage passwords for remote repositories and proxies

14.3.2. Syntax

maven:password [options]

14.3.3. Options

NameDescription

-emp, --encrypt-master-password

Encrypts master password used to encrypt/decrypt other passwords, see "mvn -emp"

--help

Display this help message

-ep, --encrypt-password

Encrypts passwords to use for remote repositories and proxies, see "mvn -ep"

-p, --persist

 

14.4. maven:repository-add

14.4.1. Description

Adds Maven repository

14.4.2. Syntax

maven:repository-add [options] [uri]

14.4.3. Arguments

NameDescription

uri

Repository URI. It may be file:// based, http(s):// based, may use other known protocol or even property placeholders (like ${karaf.base})

14.4.4. Options

NameDescription

-nr, --no-releases

Disable release handling in this repository

-p, --password

Password for remote repository (may be encrypted, see "maven:password -ep")

--help

Display this help message

-f, --force

Do not ask for confirmation

-id

Identifier of repository

-idx

Index at which new repository is to be inserted (0-based) (defaults to last - repository will be appended)

-d, --default

Edit default repository instead of remote one

-s, --snapshots

Enable SNAPSHOT handling in the repository

-cp, --checksum-policy

Checksum policy for repository (ignore, warn (default), fail)

-u, --username

Username for remote repository

-x, --show-passwords

Do not hide passwords related to Maven encryption

-up, --update-policy

Update policy for repository (never, daily (default), interval:N, always)

14.5. maven:repository-change

14.5.1. Description

Changes configuration of Maven repository

14.5.2. Syntax

maven:repository-change [options] [uri]

14.5.3. Arguments

NameDescription

uri

Repository URI. It may be file:// based, http(s):// based, may use other known protocol or even property placeholders (like ${karaf.base})

14.5.4. Options

NameDescription

-nr, --no-releases

Disable release handling in this repository

-p, --password

Password for remote repository (may be encrypted, see "maven:password -ep")

--help

Display this help message

-f, --force

Do not ask for confirmation

-id

Identifier of repository

-d, --default

Edit default repository instead of remote one

-s, --snapshots

Enable SNAPSHOT handling in the repository

-cp, --checksum-policy

Checksum policy for repository (ignore, warn (default), fail)

-u, --username

Username for remote repository

-x, --show-passwords

Do not hide passwords related to Maven encryption

-up, --update-policy

Update policy for repository (never, daily (default), interval:N, always)

14.6. maven:repository-list

14.6.1. Description

Maven repository summary.

14.6.2. Syntax

maven:repository-list [options]

14.6.3. Options

NameDescription

--help

Display this help message

-v, --verbose

Show additional information (policies, source)

-x, --show-passwords

Do not hide passwords related to Maven encryption

14.7. maven:repository-remove

14.7.1. Description

Removes Maven repository

14.7.2. Syntax

maven:repository-remove [options]

14.7.3. Options

NameDescription

--help

Display this help message

-f, --force

Do not ask for confirmation

-id

Identifier of repository

-d, --default

Edit default repository instead of remote one

-x, --show-passwords

Do not hide passwords related to Maven encryption

14.8. maven:summary

14.8.1. Description

Maven configuration summary.

14.8.2. Syntax

maven:summary [options]

14.8.3. Options

NameDescription

--help

Display this help message

-p, --property-ids

Use PID property identifiers instead of their names

-s, --source

Adds information about where the value is configured

-d, --description

Adds description of Maven configuration options

-x, --show-passwords

Do not hide passwords related to Maven encryption

Red Hat logoGithubRedditYoutubeTwitter

Lernen

Testen, kaufen und verkaufen

Communitys

Über Red Hat Dokumentation

Wir helfen Red Hat Benutzern, mit unseren Produkten und Diensten innovativ zu sein und ihre Ziele zu erreichen – mit Inhalten, denen sie vertrauen können.

Mehr Inklusion in Open Source

Red Hat hat sich verpflichtet, problematische Sprache in unserem Code, unserer Dokumentation und unseren Web-Eigenschaften zu ersetzen. Weitere Einzelheiten finden Sie in Red Hat Blog.

Über Red Hat

Wir liefern gehärtete Lösungen, die es Unternehmen leichter machen, plattform- und umgebungsübergreifend zu arbeiten, vom zentralen Rechenzentrum bis zum Netzwerkrand.

© 2024 Red Hat, Inc.