Skip to content

timezra/jruby-maven-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

    <pluginRepositories>         <pluginRepository>             <id>tims-repo</id>             <url>http://timezra.github.com/maven/releases </url>             <releases>                 <enabled>true</enabled>             </releases>             <snapshots>                 <enabled>false</enabled>             </snapshots>         </pluginRepository>     </pluginRepositories>

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_PATH GEM_HOME 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"

About

A maven plugin for invoking JRuby

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages