Class KieMavenRepository


public class KieMavenRepository extends MavenRepository
  • Field Details

  • Constructor Details

    • KieMavenRepository

      protected KieMavenRepository(Aether aether)
  • Method Details

    • getKieMavenRepository

      public static KieMavenRepository getKieMavenRepository()
    • getKieMavenRepository

      public static KieMavenRepository getKieMavenRepository(org.apache.maven.project.MavenProject mavenProject)
    • deployArtifact

      public void deployArtifact(ReleaseId releaseId, InternalKieModule kieModule, File pomfile)
      Deploys the kjar in the given kieModule on the remote repository defined in the distributionManagement tag of the provided pom file. If the pom file doesn't define a distributionManagement no deployment will be performed and a warning message will be logged.
      Parameters:
      releaseId - The releaseId with which the deployment will be made
      kieModule - The kieModule containing the kjar to be deployed
      pomfile - The pom file to be deployed together with the kjar
    • deployArtifact

      public void deployArtifact(org.eclipse.aether.repository.RemoteRepository repository, ReleaseId releaseId, InternalKieModule kieModule, File pomfile)
      Deploys the kjar in the given kieModule on a remote repository.
      Parameters:
      repository - The remote repository where the kjar will be deployed
      releaseId - The releaseId with which the deployment will be made
      kieModule - The kieModule containing the kjar to be deployed
      pomfile - The pom file to be deployed together with the kjar
    • installArtifact

      public void installArtifact(ReleaseId releaseId, InternalKieModule kieModule, File pomfile)
      Installs the kjar in the given kieModule into the local repository.
      Parameters:
      releaseId - The releaseId with which the kjar will be installed
      kieModule - The kieModule containing the kjar to be installed
      pomfile - The pom file to be installed together with the kjar