code: 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 );
      }
docs: 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.
  
  @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