Class SimpleMavenDeployer

java.lang.Object
org.astonbitecode.j4rs.api.deploy.SimpleMavenDeployer
All Implemented Interfaces:
MavenDeployerApi

public class SimpleMavenDeployer extends Object implements MavenDeployerApi
  • Constructor Details

    • SimpleMavenDeployer

      public SimpleMavenDeployer()
    • SimpleMavenDeployer

      public SimpleMavenDeployer(String deployTarget)
    • SimpleMavenDeployer

      public SimpleMavenDeployer(String repoBase, String deployTarget)
    • SimpleMavenDeployer

      public SimpleMavenDeployer(String repoBase, boolean checkLocalCache, String deployTarget)
  • Method Details

    • deploy

      public void deploy(String groupId, String artifactId, String version, String qualifier) throws IOException
      Description copied from interface: MavenDeployerApi
      Deploy a Maven artifact
      Specified by:
      deploy in interface MavenDeployerApi
      Parameters:
      groupId - The maven group ID
      artifactId - The maven artifact ID
      version - The artifact version
      qualifier - 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: MavenDeployerApi
      Deploy a Maven artifact
      Specified by:
      deploy in interface MavenDeployerApi
      Parameters:
      groupId - The maven group ID
      artifactId - The maven artifact ID
      version - The artifact version
      qualifier - The artifact qualifier
      artifactType - The artifact type (eg. jar, pom etc)
      Throws:
      IOException
    • getRepoBase

      public String getRepoBase()
      Description copied from interface: MavenDeployerApi
      Returns the maven repository base (eg. the maven central)
      Specified by:
      getRepoBase in interface MavenDeployerApi
      Returns:
      The maven repository base
    • getDeployTarget

      public String getDeployTarget()
      Description copied from interface: MavenDeployerApi
      Returns the j4rs deployment target. ie. the location where the rust application will search to find the maven artifacts
      Specified by:
      getDeployTarget in interface MavenDeployerApi
      Returns:
      The deployment target