= maven:repository-add

== Description

Adds Maven repository

== Syntax

maven:repository-add [options] [uri] 

== Arguments

|===
|Name |Description

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

== Options

|===
|Name |Description

|-nr, --no-releases
|Disable release handling in this repository

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

|-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

|--help
|Display this help message

|-x, --show-passwords
|Do not hide passwords related to Maven encryption

|-up, --update-policy
|Update policy for repository (never, daily (default), interval:N, always)
|===


