You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Tomo Suzuki <su...@google.com.INVALID> on 2019/06/18 16:28:00 UTC

[maven-resolver-api] DefaultRepositorySystemSession to Use a Mirror Repository via settings.xml

Hi Maven users,

Is it possible to configure
maven-resolver-api's DefaultRepositorySystemSession using settings.xml?

My settings.xml contains a Maven central mirror and I want
maven-resolver-api to respect it. However, DefaultRepositorySystemSession
always has NullMirrorSelector and seems to have no methods to read
settings.xml. Asking user mailing list before implementing by my own.

-- 
Regards,
Tomo