this will create a war artifact and can be installed or deployed as with any other maven project.
- all gems must come from rubygems.org, i.e. no gems with path or git declaration inside the Gemfile are possible
this approach has one major disadvantage: you need to keep the list of gems from Gemfile in sync with pom.xml !! but if you use tesla or ruby-maven then the ruby DSL just imports the gem list from the Gemfile into the pom.
remarks on tesla and ruby-maven
altogether the DSL might have a few limitation though is fairly complete.