이 콘텐츠는 선택한 언어로 제공되지 않습니다.

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

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 문서 정보

Red Hat을 사용하는 고객은 신뢰할 수 있는 콘텐츠가 포함된 제품과 서비스를 통해 혁신하고 목표를 달성할 수 있습니다.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

© 2024 Red Hat, Inc.