Package org.kie.scanner
Class KieMavenRepository
java.lang.Object
org.kie.maven.integration.MavenRepository
org.kie.scanner.KieMavenRepository
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddeployArtifact(org.eclipse.aether.repository.RemoteRepository repository, ReleaseId releaseId, InternalKieModule kieModule, File pomfile) Deploys the kjar in the given kieModule on a remote repository.voiddeployArtifact(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.static KieMavenRepositorystatic KieMavenRepositorygetKieMavenRepository(org.apache.maven.project.MavenProject mavenProject) voidinstallArtifact(ReleaseId releaseId, InternalKieModule kieModule, File pomfile) Installs the kjar in the given kieModule into the local repository.Methods inherited from class org.kie.maven.integration.MavenRepository
bytesToFile, deployArtifact, deployPomArtifact, getArtifactDependecies, getMavenRepository, getMavenRepository, getMavenRepositoryConfiguration, getRemoteRepositoryFromDistributionManagement, installArtifact, installArtifact, removeLocalArtifact, resolveArtifact, resolveArtifact, resolveArtifact, resolveVersion, toFileName
-
Field Details
-
defaultMavenRepository
-
-
Constructor Details
-
KieMavenRepository
-
-
Method Details
-
getKieMavenRepository
-
getKieMavenRepository
public static KieMavenRepository getKieMavenRepository(org.apache.maven.project.MavenProject mavenProject) -
deployArtifact
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 madekieModule- The kieModule containing the kjar to be deployedpomfile- 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 deployedreleaseId- The releaseId with which the deployment will be madekieModule- The kieModule containing the kjar to be deployedpomfile- The pom file to be deployed together with the kjar
-
installArtifact
Installs the kjar in the given kieModule into the local repository.- Parameters:
releaseId- The releaseId with which the kjar will be installedkieModule- The kieModule containing the kjar to be installedpomfile- The pom file to be installed together with the kjar
-