Adds a Maven repository element to the current POM with releases enabled and snapshots disabled, use -o to overwrite entries.
| -DtargetDirectory=path | alternative location of the POM |
| -Dsnapshots | enable snapshots in the repository |
| -Dreleases=false | disable releases in the repository |
| -DpluginRepo | treat this as a plugin repository |
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"