<commit_before>#!/usr/bin/env perl

use Cwd qw(abs_path);
use File::Basename qw(dirname);

# include script functions
use vars qw(
	$PREFIX
);
$PREFIX = abs_path(dirname($0));
require($PREFIX . "/functions.pl");

if (not defined $GIT) {
	exit 1;
}

clean_m2_repository() unless (exists $ENV{'SKIP_CLEAN'});
clean_git() unless (exists $ENV{'SKIP_CLEAN'});

my @command = ($MVN, @ARGS);
info("running:", @command);
handle_errors_and_exit_on_failure(system(@command));

exit 0;<commit_msg>make sure maven does not try to cache update attempts too much<commit_after>#!/usr/bin/env perl

use Cwd qw(abs_path);
use File::Basename qw(dirname);

# include script functions
use vars qw(
	$PREFIX
);
$PREFIX = abs_path(dirname($0));
require($PREFIX . "/functions.pl");

if (not defined $GIT) {
	exit 1;
}

clean_m2_repository() unless (exists $ENV{'SKIP_CLEAN'});
clean_git() unless (exists $ENV{'SKIP_CLEAN'});

my @command = ($MVN, '-U', @ARGS);
info("running:", @command);
handle_errors_and_exit_on_failure(system(@command));

exit 0;
{'fraction_non_alphanumeric': 0.1733203505355404, 'fraction_numerical': 0.007789678675754625, 'mean_word_length': 6.449275362318841, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4065141', 'n_tokens_mistral': 386, 'n_tokens_neox': 376, 'n_words': 95}