bsys.maven.ManageArtifact Class Reference

Collaboration diagram for bsys.maven.ManageArtifact:
Collaboration graph
[legend]

List of all members.

Static Public Member Functions

static String getArtifact (final String thisGroupId, final String thisArtifactId, final String thisVersion, final List< String > theseRepositories) throws MavenException, ArtifactNotFoundException
static void main (final String[] args) throws ArtifactNotFoundException, MavenException

Detailed Description

Artifact manager

Author:
Bernard Bou

Member Function Documentation

static String bsys.maven.ManageArtifact.getArtifact ( final String  thisGroupId,
final String  thisArtifactId,
final String  thisVersion,
final List< String >  theseRepositories 
) throws MavenException, ArtifactNotFoundException [static]

Load the artifact in local repository, and return the file path.

Parameters:
thisGroupId Maven group id.
thisArtifactId Maven artifact id.
thisVersion Maven version.
theseRepositories A list of String with remoteRepositories or null.
Returns:
path in local repository.
Exceptions:
MavenException If error when dowload or identify the bsys.maven jar file.
ArtifactNotFoundException If artifact is not found.
static void bsys.maven.ManageArtifact.main ( final String[]  args  )  throws ArtifactNotFoundException, MavenException [static]

Test

Parameters:
args unused
Exceptions:
ArtifactNotFoundException 
MavenException 

The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Enumerations
Generated on Tue May 25 16:43:50 2010 for WordNetScope by  doxygen 1.6.3