bsys.maven.Maven Class Reference
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:
-
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:
-
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
The documentation for this class was generated from the following file:
- /opt/devel/wnscope/WordNetScopeConfig/src/bsys/maven/Maven.java