<commit_before># do the following
# git clone https://code.google.com/p/mapsforge/
# cd mapsforge; and fix http://code.google.com/p/mapsforge/issues/detail?id=461
# mvn clean install
# cp mapsforge-map/target/mapsforge-map-0.3.1-SNAPSHOT-jar-with-dependencies.jar graphhopper/android/libs/mapsforge-0.3.1-SNAPSHOT.jar

# if we would do it via normal maven dependency management we run into strange things which I was not able to fix
# http://stackoverflow.com/a/8315600/194609

MAPSFORGE=`ls ./libs/mapsforge*.jar`
echo "installing file: $MAPSFORGE"
ARGS="-DgroupId=com.graphhopper \
 -DartifactId=mapsforge-gh \   
 -Dversion=0.2-0.3.1-SNAPSHOT \
 -Dpackaging=jar \
 -Dfile=$MAPSFORGE"
    
$MAVEN_HOME/bin/mvn install:install-file "$ARGS"

# $MAVEN_HOME/bin/mvn -DperformRelease=true -DskipTests=true -Dpgp.secretkey=keyring:id=54EA4B68 deploy:deploy-file "$ARGS"<commit_msg>minor fix<commit_after># do the following
# git clone https://code.google.com/p/mapsforge/
# cd mapsforge; and fix http://code.google.com/p/mapsforge/issues/detail?id=461
# mvn clean install
# cp mapsforge-map/target/mapsforge-map-0.3.1-SNAPSHOT-jar-with-dependencies.jar graphhopper/android/libs/mapsforge-0.3.1-SNAPSHOT.jar

# if we would do it via normal maven dependency management we run into strange things which I was not able to fix
# http://stackoverflow.com/a/8315600/194609

MAPSFORGE=`ls ./libs/mapsforge*.jar`
echo "installing file: $MAPSFORGE"
ARGS="-DgroupId=com.graphhopper -DartifactId=mapsforge-gh -Dversion=0.2-0.3.1-SNAPSHOT -Dpackaging=jar -Dfile=$MAPSFORGE"
    
$MAVEN_HOME/bin/mvn install:install-file $ARGS

# $MAVEN_HOME/bin/mvn -DperformRelease=true -DskipTests=true -Dpgp.secretkey=keyring:id=54EA4B68 deploy:deploy-file $ARGS
{'fraction_non_alphanumeric': 0.1340265742345465, 'fraction_numerical': 0.03697284806470248, 'mean_word_length': 4.754152823920266, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '6427511', 'n_tokens_mistral': 702, 'n_tokens_neox': 644, 'n_words': 122}