package saker.maven.support.api.localize
public class ArtifactLocalizationUtils
Utility class with functions to interact with Maven artifact localization.
public static TaskFactory< | createLocalizeArtifactsTaskFactory( Creates a new task that localizes the specified artifacts. |
public static TaskIdentifier | createLocalizeArtifactsTaskIdentifier( Creates a task identifier for the artifact localization task. |
public static TaskFactory<? extends ArtifactLocalizationTaskOutput> createLocalizeArtifactsTaskFactory(MavenOperationConfiguration config, Set<? extends ArtifactCoordinates> coordinates ) throws NullPointerException
Creates a new task that localizes the specified artifacts.
configThe configuration to use during the operation.
coordinatesThe artifact coordinates to localize.
The localizing task factory.
NullPointerExceptionIf any of the arguments are
null
.public static TaskIdentifier createLocalizeArtifactsTaskIdentifier(MavenOperationConfiguration config, Set<? extends ArtifactCoordinates> coordinates ) throws NullPointerException
Creates a task identifier for the artifact localization task.
The created task identifier should be used with the result of
createLocalizeArtifactsTaskFactory(
configThe configuration to use during the operation.
coordinatesThe artifact coordinates to localize.
The task identifier.
NullPointerExceptionIf any of the arguments are
null
.