Example usage for org.apache.maven.repository.legacy.resolver.transform ArtifactTransformation transformForInstall

List of usage examples for org.apache.maven.repository.legacy.resolver.transform ArtifactTransformation transformForInstall

Introduction

In this page you can find the example usage for org.apache.maven.repository.legacy.resolver.transform ArtifactTransformation transformForInstall.

Prototype

void transformForInstall(Artifact artifact, ArtifactRepository localRepository)
        throws ArtifactInstallationException;

Source Link

Document

Take in a artifact and return the transformed artifact for locating in the local repository.

Usage

From source file:hudson.maven.artifact.transform.DefaultArtifactTransformationManager.java

License:Apache License

public void transformForInstall(Artifact artifact, ArtifactRepository localRepository)
        throws ArtifactInstallationException {
    for (ArtifactTransformation transform : artifactTransformations) {
        transform.transformForInstall(artifact, localRepository);
    }/*from w w  w .j a  va2s  . c  o  m*/
}