The {{:mvn/repos}} map in deps.edn currently allows the user to specify the id and url of external repositories, but it doesn't allow any customization of [any other settings|
http://maven.apache.org/pom.html#Repositories]. I would specifically like to be able to disable the {{<snapshots>}} repository, and to set {{<updatePolicy>}} to {{never}} in either or both of the snapshot/release repositories.
There is a small amount of earlier discussion in [TDEPS-97].
Just to make this a little more concrete, here is what I imagine this section of deps.edn might look like:
:mvn/repos
{"my-repo"
{:url "s3p://my-bucket/maven/"
:releases {:update-policy "never"}
:snapshots {:enabled false}}}
Alternately, a simpler but less typesafe version could just use a string-to-string map for the snapshot/releases section:
:mvn/repos
{"my-repo"
{:url "s3p://my-bucket/maven/"
:releases {"updatePolicy" "never"}
:snapshots {"enabled" "false"}}}