org.apache.maven.dotnet.artifact
Interface AssemblyResolver

All Known Implementing Classes:
AssemblyResolverImpl

public interface AssemblyResolver

Provides services for resolving .NET assembly artifacts.

Author:
Shane Isbell

Field Summary
static java.lang.String ROLE
          Role used to register component implementations with the container.
 
Method Summary
 void resolveTransitivelyFor(org.apache.maven.project.MavenProject mavenProject, java.util.List<org.apache.maven.model.Dependency> dependencies, java.util.List<org.apache.maven.artifact.repository.ArtifactRepository> remoteArtifactRepositories, java.io.File localArtifactRepository, boolean addResolvedDependenciesToProject)
          Resolves transitive dependencies for the project.
 

Field Detail

ROLE

static final java.lang.String ROLE
Role used to register component implementations with the container.

Method Detail

resolveTransitivelyFor

void resolveTransitivelyFor(org.apache.maven.project.MavenProject mavenProject,
                            java.util.List<org.apache.maven.model.Dependency> dependencies,
                            java.util.List<org.apache.maven.artifact.repository.ArtifactRepository> remoteArtifactRepositories,
                            java.io.File localArtifactRepository,
                            boolean addResolvedDependenciesToProject)
                            throws java.io.IOException
Resolves transitive dependencies for the project.

Parameters:
mavenProject - the maven project
dependencies - the list of dependencies of the specified artifact
remoteArtifactRepositories - the list of remote artifact repositories to use in resolving
localArtifactRepository - the local artifact repository to use in resolving
addResolvedDependenciesToProject - true, if the resolved dependencies should be added the the specified maven project, otherwise false. This value should be set to false if it is resolving .NET executables that are intended to be executed as an external process. If it is resolving assemblies that the source artifact needs to compile against, this value should be set to true.
Throws:
java.io.IOException


Copyright © 2007 NMaven. All Rights Reserved.