public void deployArtifact ( AFReleaseId releaseId , InternalKieModule kieModule , File pomfile ) { RemoteRepository repository = getRemoteRepositoryFromDistributionManagement ( pomfile ) ; if ( repository == null ) { log . warn ( "No Distribution Management configured: unknown repository" ) ; return ; } deployArtifact ( repository , releaseId , kieModule , 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 .