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

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

Introduction

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

Prototype

void transformForDeployment(Artifact artifact, ArtifactRepository remoteRepository,
        ArtifactRepository localRepository) throws ArtifactDeploymentException;

Source Link

Document

Take in a artifact and return the transformed artifact for distributing to remote repository.

Usage

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

License:Apache License

public void transformForDeployment(Artifact artifact, ArtifactRepository remoteRepository,
        ArtifactRepository localRepository) throws ArtifactDeploymentException {
    for (ArtifactTransformation transform : artifactTransformations) {
        transform.transformForDeployment(artifact, remoteRepository, localRepository);
    }/*from  w  w  w .j  a  v a2s.com*/
}