Class SimpleMavenDeployer
java.lang.Object
org.astonbitecode.j4rs.api.deploy.SimpleMavenDeployer
- All Implemented Interfaces:
MavenDeployerApi
-
Constructor Summary
ConstructorsConstructorDescriptionSimpleMavenDeployer(String deployTarget) SimpleMavenDeployer(String repoBase, boolean checkLocalCache, String deployTarget) SimpleMavenDeployer(String repoBase, String deployTarget) -
Method Summary
Modifier and TypeMethodDescriptionvoidDeploy a Maven artifactvoidDeploy a Maven artifactReturns the j4rs deployment target.Returns the maven repository base (eg.
-
Constructor Details
-
SimpleMavenDeployer
public SimpleMavenDeployer() -
SimpleMavenDeployer
-
SimpleMavenDeployer
-
SimpleMavenDeployer
-
-
Method Details
-
deploy
public void deploy(String groupId, String artifactId, String version, String qualifier) throws IOException Description copied from interface:MavenDeployerApiDeploy a Maven artifact- Specified by:
deployin interfaceMavenDeployerApi- Parameters:
groupId- The maven group IDartifactId- The maven artifact IDversion- The artifact versionqualifier- The artifact qualifier- Throws:
IOException
-
deploy
public void deploy(String groupId, String artifactId, String version, String qualifier, String artifactType) throws IOException Description copied from interface:MavenDeployerApiDeploy a Maven artifact- Specified by:
deployin interfaceMavenDeployerApi- Parameters:
groupId- The maven group IDartifactId- The maven artifact IDversion- The artifact versionqualifier- The artifact qualifierartifactType- The artifact type (eg. jar, pom etc)- Throws:
IOException
-
getRepoBase
Description copied from interface:MavenDeployerApiReturns the maven repository base (eg. the maven central)- Specified by:
getRepoBasein interfaceMavenDeployerApi- Returns:
- The maven repository base
-
getDeployTarget
Description copied from interface:MavenDeployerApiReturns the j4rs deployment target. ie. the location where the rust application will search to find the maven artifacts- Specified by:
getDeployTargetin interfaceMavenDeployerApi- Returns:
- The deployment target
-