saker.maven.support Documentation TaskDoc JavaDoc Packages
public class MavenUtils
Utility class related to the saker.maven.support package.
saker.maven.support 0.8.4
Fields
public static final String
MAVEN_CENTRAL_REPOSITORY_URL = "https://repo.maven.apache.org/maven2/"
The URL to the central Maven repository.
Methods
public static SakerPath
Gets the default Maven repository location on the local file system.
public static SakerPath
Gets the default Maven repository location on the local file system and reporty a dependency for it.
public static final String MAVEN_CENTRAL_REPOSITORY_URL = "https://repo.maven.apache.org/maven2/"
The URL to the central Maven repository.

Specified in:
https://maven.apache.org/guides/mini/guide-mirror-settings.html
https://maven.apache.org/ref/3.0.4/maven-model-builder/super-pom.html

saker.maven.support 0.8.7
Gets the default Maven repository location on the local file system.

It is defined to be: {user.home}/.m2/repository

If you're calling this method as part of a build task execution, you should use getDefaultMavenLocalRepositoryLocation(TaskContext) as it reports an appropriate dependency as well.

The default Maven repository local file system path.
MissingConfigurationExceptionIf the user.home system property is missing or empty.
Gets the default Maven repository location on the local file system and reporty a dependency for it.

It is defined to be: {user.home}/.m2/repository

This method is the same as getDefaultMavenLocalRepositoryLocation(), but reporty an appropriate environment property dependency for the build task.

taskcontextThe task context of the build task.
The default Maven repository local file system path.
NullPointerExceptionIf the task context is null.
MissingConfigurationExceptionIf the user.home system property is missing or empty.