org.apache.maven.dotnet.embedder
Interface MavenEmbedderService

All Known Implementing Classes:
MavenEmbedderServiceImpl

public interface MavenEmbedderService

Provides web services for interacting with the maven embedder.

Author:
Shane Isbell

Field Summary
static java.lang.String ROLE
          Role used to register component implementations with the container.
 
Method Summary
 void execute(MavenExecutionRequest request)
          Executes the specified maven execute request, which is a request to execute a goal on a pom file.
 java.util.Set<MavenProject> getMavenProjectsFor(java.lang.String basedir)
          Returns a set of maven projects that exist under (recursive) the base directory.
 java.util.Set<Artifact> getRepositoryArtifacts()
          Returns a set of .NET artifacts that exist within the local maven repository.
 

Field Detail

ROLE

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

Method Detail

execute

void execute(MavenExecutionRequest request)
Executes the specified maven execute request, which is a request to execute a goal on a pom file. This method is asynchronous and must return immediately.

Parameters:
request - the maven execute request

getMavenProjectsFor

java.util.Set<MavenProject> getMavenProjectsFor(java.lang.String basedir)
                                                throws EmbedderException
Returns a set of maven projects that exist under (recursive) the base directory.

Parameters:
basedir - the base directory from which to look for pom files
Returns:
a set of maven projects that exist under (recursive) the base directory
Throws:
EmbedderException

getRepositoryArtifacts

java.util.Set<Artifact> getRepositoryArtifacts()
Returns a set of .NET artifacts that exist within the local maven repository. To be part of the returned set, the following condition must be met: artifact packaging type must be an element of {library, nar, exe, winexe, netplugin, netmodule}.

Returns:
a set of .NET artifacts that exist within the local maven repository


Copyright © 2007 NMaven. All Rights Reserved.