<commit_before>#!/bin/sh

URL=github.com:maven-nar/maven-nar.github.com &&
git fetch "$URL" master &&
mvn site &&
export GIT_INDEX_FILE=.git/tmp-index &&
    rm -f $GIT_INDEX_FILE &&
git add -f target/site &&
    TREE=$(git write-tree) &&
unset GIT_INDEX_FILE &&<commit_msg>upload-site: use Java 7 when possible<commit_after>#!/bin/sh

URL=github.com:maven-nar/maven-nar.github.com &&
git fetch "$URL" master &&
for d in /usr/lib/jvm/java-7-openjdk-amd64/
do
	if test -d "$d"
	then
		echo "Using Java 7 for prettier javadocs" &&
		export JAVA_HOME="$d" &&
		export PATH="$JAVA_HOME/bin:$PATH" &&
		break
	fi
done &&
mvn clean site &&
export GIT_INDEX_FILE=.git/tmp-index &&
    rm -f $GIT_INDEX_FILE &&
git add -f target/site &&
    TREE=$(git write-tree) &&
unset GIT_INDEX_FILE &&
{'fraction_non_alphanumeric': 0.1649616368286445, 'fraction_numerical': 0.00639386189258312, 'mean_word_length': 3.8633540372670807, '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': '4843106', 'n_tokens_mistral': 327, 'n_tokens_neox': 305, 'n_words': 72}