private void createAndRunArtifactTasks(ArtifactBuildTaskProvider.ArtifactBuildPhase phase) throws ProjectBuildException {
      runArtifactTasks(createArtifactTasks(phase), phase);
    }
private void createAndRunArtifactTasks(ArtifactBuildTaskProvider.ArtifactBuildPhase phase)