Interface ExtendedM2RepoService

  • All Superinterfaces:
    org.guvnor.m2repo.service.M2RepoService
    All Known Implementing Classes:
    M2RepoServiceImpl

    public interface ExtendedM2RepoService
    extends org.guvnor.m2repo.service.M2RepoService
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void deployJar​(InputStream is, org.guvnor.common.services.project.model.GAV gav)
      Deploy JAR to all repositories (this includes Guvnor's internal Maven Repository, external Repositories configured by Distribution Management in the JAR's pom.xml and external Repositories configured by active Profiles in settings.xml).
      void deployJarInternal​(InputStream is, org.guvnor.common.services.project.model.GAV gav)
      Convenience method for unit tests - to avoid deploying to additional (possibly external) repositories
      void deployPom​(InputStream is, org.guvnor.common.services.project.model.GAV gav)
      Deploy POM to local Maven Repository and Workbench's remote Maven Repository.
      • Methods inherited from interface org.guvnor.m2repo.service.M2RepoService

        getKieDeploymentDescriptorText, getKModuleText, getPomText, getRepositoryURL, listArtifacts, loadGAVFromJar
    • Method Detail

      • deployJar

        void deployJar​(InputStream is,
                       org.guvnor.common.services.project.model.GAV gav)
        Deploy JAR to all repositories (this includes Guvnor's internal Maven Repository, external Repositories configured by Distribution Management in the JAR's pom.xml and external Repositories configured by active Profiles in settings.xml).
        Parameters:
        is - InputStream holding JAR
        gav - GAV representing the JAR
      • deployJarInternal

        void deployJarInternal​(InputStream is,
                               org.guvnor.common.services.project.model.GAV gav)
        Convenience method for unit tests - to avoid deploying to additional (possibly external) repositories
        Parameters:
        is - InputStream holding JAR
        gav - GAV representing the JAR
      • deployPom

        void deployPom​(InputStream is,
                       org.guvnor.common.services.project.model.GAV gav)
        Deploy POM to local Maven Repository and Workbench's remote Maven Repository.
        Parameters:
        is - InputStream holding POM
        gav - GAV representing the POM