/** * Create a Maven artifact resolver using the default strategy. The permissions of the class calling this method * are captured and used for filesystem and network accesses. The default strategy uses the following system * properties: * <ul> * <li>{@code maven.repo.local} - a list of directory names using the platform separator which reflect local * Maven repository roots</li> * <li>{@code remote.maven.repo} - a comma-separated list of URIs which refer to remote Maven repositories, * from which artifacts can be downloaded</li> * <li>{@code maven.download.message} - a boolean system property which controls the logging of messages to * the console</li> * </ul> * * @return the maven resolver strategy (not {@code null}) */ static MavenResolver createDefaultResolver() { return new DefaultMavenResolver(); } }