pax-add-repository -i repositoryId -u repositoryURL [-o] [-- mvnOpts ...]

Adds a Maven repository element to the current POM with releases enabled and snapshots disabled, use -o to overwrite entries.

Additional Maven options

-DtargetDirectory=pathalternative location of the POM
-Dsnapshotsenable snapshots in the repository
-Dreleases=falsedisable releases in the repository
-DpluginRepotreat this as a plugin repository

Examples

pax-add-repository -i spring-milestones -u http://s3.amazonaws.com/maven.springframework.org/milestone

pax-add-repository -i spring-snapshots -u http://static.springframework.org/maven2-snapshots -- -Dsnapshots "-Dreleases=false"