<commit_before>#!/bin/bash -ex

pushd `dirname $0`/.. > /dev/null
root=$(pwd -P)
popd > /dev/null

# gather some data about the repo
source $root/scripts/vars.sh

[ -f $root/app.$EXT ] && exit

mvn dependency:get \
  -DremoteRepositories=$NEXUSURL \
  -DrepositoryId=nexus \
  -DartifactId=$APP \
  -DgroupId=io.piazzageo \
  -Dpackaging=$EXT \
  -Dtransitive=false \
  -Dversion=$SHORT

mvn dependency:copy \
    -DgroupId=core \
    -DartifactId=$APP \
    -Dversion=$SHORT \
    -Dtype=$EXT \
    -DoverWrite=true \
    -DoutputDirectory=$root \
    -DdestFileName=app.$EXT<commit_msg>try the long version of remoteRepositories<commit_after>#!/bin/bash -ex

pushd `dirname $0`/.. > /dev/null
root=$(pwd -P)
popd > /dev/null

# gather some data about the repo
source $root/scripts/vars.sh

[ -f $root/app.$EXT ] && exit

mvn dependency:get \
  -DremoteRepositories=nexus::default::$NEXUSURL \
  -DrepositoryId=nexus \
  -DartifactId=$APP \
  -DgroupId=io.piazzageo \
  -Dpackaging=$EXT \
  -Dtransitive=false \
  -Dversion=$SHORT

mvn dependency:copy \
  -DgroupId=core \
  -DartifactId=$APP \
  -Dversion=$SHORT \
  -Dtype=$EXT \
  -DoverWrite=true \
  -DoutputDirectory=$root \
  -DdestFileName=app.$EXT
{'fraction_non_alphanumeric': 0.15907207953603977, 'fraction_numerical': 0.0016570008285004142, 'mean_word_length': 3.081081081081081, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '2059426', 'n_tokens_mistral': 488, 'n_tokens_neox': 468, 'n_words': 82}