code: public void deployArtifact( RemoteRepository repository,
                                  AFReleaseId releaseId,
                                  InternalKieModule kieModule,
                                  File pomfile ) {
          File jarFile = bytesToFile( releaseId, kieModule.getBytes(), ".jar" );
          deployArtifact( repository, releaseId, jarFile, pomfile );
      }
docs: Deploys the kjar in the given kieModule on a remote repository.
  
  @param repository The remote repository where the kjar will be deployed
  @param releaseId The releaseId with which the deployment will be made
  @param kieModule The kieModule containing the kjar to be deployed
  @param pomfile The pom file to be deployed together with the kjar