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. |
resolve
File resolve(org.apache.maven.project.MavenProject project,
String artifact)
- Resolves the artifact downloading it if necessary.
- Parameters:
project
- the maven projectartifact
- the artifact string in the groupId:artifactId:version[:packaging][:classifier]
format
- Returns:
- the file associated with the artifact
Copyright © 2016 JBoss by Red Hat. All Rights Reserved.