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