The only official way to set this property is to store it in the repository. So if you own all of the artifact repositories you are using, you could change it there.
Otherwise (and the more likely case), there are only hacks to set it. There is an API for setting properties on an artifact repository, but that API cannot be used on repositories accessed via HTTP. Changes via the API not only affect the in-memory representation, but p2 insists on also changing the persisted repository. This can't be done on a remote repository, so all property changes via the API are prevented.
So to only change the properties in memory, you need to hack the object using reflection. You can see an example here.