bsys.maven.Maven Class Reference

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

List of all members.

Static Public Member Functions

static String get (final String thisGroupId, final String thisArtifactId, final String thisVersion) throws ArtifactNotFoundException, MavenException
static String getLatest (final String thisGroupId, final String thisArtifactId) throws ArtifactNotFoundException, MavenException
static SortedSet< ArtifactVersion > queryArtifactVersions (final String thisGroupId, final String thisArtifactId)
static String queryLatestVersion (final String thisGroupId, final String thisArtifactId)
static ArtifactVersion getLatestArtifactVersion (final Collection< String > theseVersions)
static String getLatestVersion (final Collection< String > theseVersions)

Static Package Attributes

static final List< String > theRepos = Maven.getRepos()

Detailed Description

Maven wrapper

Author:
Bernard Bou

Member Function Documentation

static String bsys.maven.Maven.get ( final String  thisGroupId,
final String  thisArtifactId,
final String  thisVersion 
) throws ArtifactNotFoundException, MavenException [static]

Get jar path in local repo

Parameters:
thisGroupId groupid
thisArtifactId artifactid
thisVersion version
Returns:
jar path in local repo
Exceptions:
ArtifactNotFoundException 
MavenException 
static String bsys.maven.Maven.getLatest ( final String  thisGroupId,
final String  thisArtifactId 
) throws ArtifactNotFoundException, MavenException [static]

Get latest jar path in local repo

Parameters:
thisGroupId groupid
thisArtifactId artifactid
Returns:
latest jar path in local repo
Exceptions:
ArtifactNotFoundException 
MavenException 
static ArtifactVersion bsys.maven.Maven.getLatestArtifactVersion ( final Collection< String >  theseVersions  )  [static]

Extract latest artifact version

Parameters:
theseVersions list of versions
Returns:
latest artifact version
static String bsys.maven.Maven.getLatestVersion ( final Collection< String >  theseVersions  )  [static]

Extract latest version

Parameters:
theseVersions list of versions
Returns:
latest version
static SortedSet<ArtifactVersion> bsys.maven.Maven.queryArtifactVersions ( final String  thisGroupId,
final String  thisArtifactId 
) [static]

Query artifact versions

Parameters:
thisGroupId groupid
thisArtifactId artifactid
Returns:
sorted set of versions
Exceptions:
MalformedURLException 
XPathExpressionException 
SAXException 
IOException 
ParserConfigurationException 
static String bsys.maven.Maven.queryLatestVersion ( final String  thisGroupId,
final String  thisArtifactId 
) [static]

Query latest artifact version

Parameters:
thisGroupId groupid
thisArtifactId artifactid
Returns:
latest artifact version

Member Data Documentation

final List<String> bsys.maven.Maven.theRepos = Maven.getRepos() [static, package]

Central bsys.maven repositories


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