JBoss AS7 Deployment Plugin 7.9.Final

org.jboss.as.plugin.server
Interface ArtifactResolver


@Component(role=ArtifactResolver.class)
public interface ArtifactResolver

Resolves artifacts downloading the artifact if necessary.

Author:
James R. Perkins

Method Summary
 File resolve(org.apache.maven.project.MavenProject project, String artifact)
          Resolves the artifact downloading it if necessary.
 

Method Detail

resolve

File resolve(org.apache.maven.project.MavenProject project,
             String artifact)
Resolves the artifact downloading it if necessary.

Parameters:
project - the maven project
artifact - the artifact string in the groupId:artifactId:version[:packaging][:classifier] format
Returns:
the file associated with the artifact

JBoss AS7 Deployment Plugin 7.9.Final

Copyright © 2016 JBoss by Red Hat. All Rights Reserved.