<commit_before>jruby-maven-plugin
==================

A maven plugin for invoking JRuby

Configuration
----------------------------------------------------
In order to use this Maven plugin, you will need to configure your pom.xml (or proxy repository) to point to the repository at <http://timezra.github.com/maven/releases>

<code lang="xml">
&nbsp;&nbsp;&nbsp;&nbsp;&lt;pluginRepositories&gt;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;pluginRepository&gt;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;id&gt;tims-repo&lt;/id&gt;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;url&gt;http://timezra.github.com/maven/releases &lt;/url&gt;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;releases&gt;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;enabled&gt;true&lt;/enabled&gt;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/releases&gt;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;snapshots&gt;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;enabled&gt;false&lt;/enabled&gt;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/snapshots&gt;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/pluginRepository&gt;  
&nbsp;&nbsp;&nbsp;&nbsp;&lt;/pluginRepositories&gt;
</code>

Usage
----------------------------------------------------
Work in progress....

For now, please use 'mvn timezra.maven:jruby-maven-plugin:1.7.4:help' to find out usage information.

### Examples: ###

    $ mvn timezra.maven:jruby-maven-plugin:1.7.4:gem-install -Dgem_home=`pwd`/target/gems -Dgem=bundler -e
    $ mvn timezra.maven:jruby-maven-plugin:1.7.4:gem-list -Dgem_home=`pwd`/target/gems -e
    $ mvn timezra.maven:jruby-maven-plugin:1.7.4:bundle-init -Dgem_home=`pwd`/target/gems -e
    $ mvn timezra.maven:jruby-maven-plugin:1.7.4:bundle-install -Dgem_home=`pwd`/target/gems -Dgemfile=`pwd`/Gemfile -e
    $ mvn timezra.maven:jruby-maven-plugin:1.7.4:cli -Druby_version=2.0 -Dargs="-v"
    $ mvn timezra.maven:jruby-maven-plugin:1.7.4:cli -Dgem_home="`pwd`/target/gems" -Dargs="-S \"`pwd`/target/gems/bin/bundle\" show bundler"
    <commit_msg>Adding note about unsetting GEM_HOME, GEM_PATH and RUBY_VERSION because of rvm.<commit_after>jruby-maven-plugin
==================

A maven plugin for invoking JRuby

Configuration
----------------------------------------------------
In order to use this Maven plugin, you will need to configure your pom.xml (or proxy repository) to point to the repository at <http://timezra.github.com/maven/releases>

<code lang="xml">
&nbsp;&nbsp;&nbsp;&nbsp;&lt;pluginRepositories&gt;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;pluginRepository&gt;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;id&gt;tims-repo&lt;/id&gt;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;url&gt;http://timezra.github.com/maven/releases &lt;/url&gt;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;releases&gt;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;enabled&gt;true&lt;/enabled&gt;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/releases&gt;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;snapshots&gt;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;enabled&gt;false&lt;/enabled&gt;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/snapshots&gt;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/pluginRepository&gt;  
&nbsp;&nbsp;&nbsp;&nbsp;&lt;/pluginRepositories&gt;
</code>

Usage
----------------------------------------------------
Work in progress....

For now, please use 'mvn timezra.maven:jruby-maven-plugin:1.7.4:help' to find out usage information.

### Note ###
Because rvm sets the $GEM_HOME, $GEM_PATH and $RUBY_VERSION environment variables, if you do not wish to use these and wish to configure these values from the plugin, you will need to
    
    $ unset GEM_HOME; unset GEM_PATH; unset RUBY_VERSION

### Examples: ###

    $ mvn timezra.maven:jruby-maven-plugin:1.7.4:gem-install -Dgem_home=`pwd`/target/gems -Dgem=bundler -e
    $ mvn timezra.maven:jruby-maven-plugin:1.7.4:gem-list -Dgem_home=`pwd`/target/gems -e
    $ mvn timezra.maven:jruby-maven-plugin:1.7.4:bundle-init -Dgem_home=`pwd`/target/gems -e
    $ mvn timezra.maven:jruby-maven-plugin:1.7.4:bundle-install -Dgem_home=`pwd`/target/gems -Dgemfile=`pwd`/Gemfile -e
    $ mvn timezra.maven:jruby-maven-plugin:1.7.4:cli -Druby_version=2.0 -Dargs="-v"
    $ mvn timezra.maven:jruby-maven-plugin:1.7.4:cli -Dgem_home="`pwd`/target/gems" -Dargs="-S \"`pwd`/target/gems/bin/bundle\" show bundler"
    
{'fraction_non_alphanumeric': 0.2549840510366826, 'fraction_numerical': 0.009170653907496013, 'mean_word_length': 5.27909887359199, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, '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': '1106236', 'n_tokens_mistral': 1918, 'n_tokens_neox': 1809, 'n_words': 234}