<commit_before>package org.springframework.cloud.release.internal.spring;

import java.io.File;
import java.lang.invoke.MethodHandles;
import java.util.List;
import java.util.function.Consumer;
import java.util.stream.Collectors;
import java.util.stream.Stream;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.cloud.release.internal.Releaser;
import org.springframework.cloud.release.internal.ReleaserProperties;
import org.springframework.cloud.release.internal.pom.ProjectVersion;
import org.springframework.cloud.release.internal.pom.Projects;

import static org.springframework.cloud.release.internal.spring.Task.task;

/**
 * Releaser that gets input from console
 *
 * @author <NAME>
 */
public class SpringReleaser {
	private static final Logger log = LoggerFactory.getLogger(MethodHandles.lookup().lookupClass());

	private final Releaser releaser;
	private final ReleaserProperties properties;

	public SpringReleaser(Releaser releaser, ReleaserProperties properties) {
		this.releaser = releaser;
		this.properties = properties;
	}

	private final List<Task> TASKS = Stream.of(
			task("UPDATING POMS",
					"Update poms with versions from Spring Cloud Release",
					args -> args.releaser.updateProjectFromScRelease(args.project, args.projects)),
			task("BUILD PROJECT",
					"Build the project",
					args -> args.releaser.buildProject()),
			task("COMMITTING (ALL) AND PUSHING TAGS (NON-SNAPSHOTS)",
					"Commit, tag and push the tag",
					args -> args.releaser.commitAndPushTags(args.project, args.versionFromScRelease)),
			task("ARTIFACT DEPLOYMENT",
					"Deploy the artifacts to Artifactory",
					args -> args.releaser.deploy()),
			task("PUBLISHING DOCS",<commit_msg>Changed the task description for artifact deployment<commit_after>package org.springframework.cloud.release.internal.spring;

import java.io.File;
import java.lang.invoke.MethodHandles;
import java.util.List;
import java.util.function.Consumer;
import java.util.stream.Collectors;
import java.util.stream.Stream;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.cloud.release.internal.Releaser;
import org.springframework.cloud.release.internal.ReleaserProperties;
import org.springframework.cloud.release.internal.pom.ProjectVersion;
import org.springframework.cloud.release.internal.pom.Projects;

import static org.springframework.cloud.release.internal.spring.Task.task;

/**
 * Releaser that gets input from console
 *
 * @author <NAME>
 */
public class SpringReleaser {
	private static final Logger log = LoggerFactory.getLogger(MethodHandles.lookup().lookupClass());

	private final Releaser releaser;
	private final ReleaserProperties properties;

	public SpringReleaser(Releaser releaser, ReleaserProperties properties) {
		this.releaser = releaser;
		this.properties = properties;
	}

	private final List<Task> TASKS = Stream.of(
			task("UPDATING POMS",
					"Update poms with versions from Spring Cloud Release",
					args -> args.releaser.updateProjectFromScRelease(args.project, args.projects)),
			task("BUILD PROJECT",
					"Build the project",
					args -> args.releaser.buildProject()),
			task("COMMITTING (ALL) AND PUSHING TAGS (NON-SNAPSHOTS)",
					"Commit, tag and push the tag",
					args -> args.releaser.commitAndPushTags(args.project, args.versionFromScRelease)),
			task("ARTIFACT DEPLOYMENT",
					"Deploy the artifacts",
					args -> args.releaser.deploy()),
			task("PUBLISHING DOCS",
{'fraction_non_alphanumeric': 0.10810810810810811, 'fraction_numerical': 0.0011500862564692352, 'mean_word_length': 5.071553228621291, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '686217', 'n_tokens_mistral': 1124, 'n_tokens_neox': 1002, 'n_words': 231}