Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
<?xml version="1.0" encoding="UTF-8"?>
<plugin>
  <name>Rails3 Maven Mojo</name>
  <description>shared dependencies and plugins for the mojos</description>
  <groupId>de.saumya.mojo</groupId>
  <artifactId>rails3-maven-plugin</artifactId>
  <version>0.21.0</version>
  <goalPrefix>rails3</goalPrefix>
  <isolatedRealm>false</isolatedRealm>
  <inheritedByDefault>true</inheritedByDefault>
  <mojos>
    <mojo>
      <goal>rails</goal>
      <description>goal to run rails command with the given arguments. either to generate a
fresh rails application or to run the rails script from within a rails
application.</description>
      <requiresDirectInvocation>false</requiresDirectInvocation>
      <requiresProject>false</requiresProject>
      <requiresReports>false</requiresReports>
      <aggregator>false</aggregator>
      <requiresOnline>false</requiresOnline>
      <inheritedByDefault>true</inheritedByDefault>
      <implementation>de.saumya.mojo.rails3.RailsMojo</implementation>
      <language>java</language>
      <instantiationStrategy>per-lookup</instantiationStrategy>
      <executionStrategy>once-per-session</executionStrategy>
      <parameters>
        <parameter>
          <name>appPath</name>
          <type>java.io.File</type>
          <required>false</required>
          <editable>true</editable>
          <description>the path to the application to be generated</description>
        </parameter>
        <parameter>
          <name>args</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>common arguments</description>
        </parameter>
        <parameter>
          <name>artifactVersion</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>the version of the new pom</description>
        </parameter>
        <parameter>
          <name>classRealm</name>
          <type>org.codehaus.classworlds.ClassRealm</type>
          <required>false</required>
          <editable>false</editable>
          <description>classrealm for internal use.</description>
        </parameter>
        <parameter>
          <name>env</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>either development or test or production or whatever else is possible
with your config</description>
        </parameter>
        <parameter>
          <name>forceVersion</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>allow to overwrite the version by explicitly declaring a dependency in
the pom. will not check any dependencies on gemspecs level.</description>
        </parameter>
        <parameter>
          <name>gemArgs</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>arguments for the gem command.</description>
        </parameter>
        <parameter>
          <name>gemHome</name>
          <type>java.io.File</type>
          <required>false</required>
          <editable>true</editable>
          <description>directory of gem home to use when forking JRuby.</description>
        </parameter>
        <parameter>
          <name>gemPath</name>
          <type>java.io.File</type>
          <required>false</required>
          <editable>true</editable>
          <description>directory of JRuby path to use when forking JRuby.</description>
        </parameter>
        <parameter>
          <name>groupId</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>the groupId of the new pom</description>
        </parameter>
        <parameter>
          <name>includeOpenSSL</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description></description>
        </parameter>
        <parameter>
          <name>installRDoc</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description></description>
        </parameter>
        <parameter>
          <name>installRI</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description></description>
        </parameter>
        <parameter>
          <name>jrubyArgs</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>arguments for the jruby command.</description>
        </parameter>
        <parameter>
          <name>jrubyFork</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>fork the JRuby execution.</description>
        </parameter>
        <parameter>
          <name>jrubyGemHome</name>
          <type>java.io.File</type>
          <required>false</required>
          <editable>true</editable>
          <description>directory of gem home to use when forking JRuby.</description>
        </parameter>
        <parameter>
          <name>jrubyGemPath</name>
          <type>java.io.File</type>
          <required>false</required>
          <editable>true</editable>
          <description>directory of JRuby path to use when forking JRuby.</description>
        </parameter>
        <parameter>
          <name>jrubyVerbose</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>verbose jruby related output</description>
        </parameter>
        <parameter>
          <name>jrubyVersion</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>if the pom.xml has no runtime dependency to a jruby-complete.jar then
this version is used to resolve the jruby-complete dependency from the
local/remote maven repository. defaults to &quot;1.5.2&quot;.</description>
        </parameter>
        <parameter>
          <name>launchDirectory</name>
          <type>java.io.File</type>
          <required>false</required>
          <editable>true</editable>
          <description>the launch directory for the JRuby execution.</description>
        </parameter>
        <parameter>
          <name>localRepository</name>
          <type>org.apache.maven.artifact.repository.ArtifactRepository</type>
          <required>true</required>
          <editable>false</editable>
          <description>local repository for internal use.</description>
        </parameter>
        <parameter>
          <name>project</name>
          <type>org.apache.maven.project.MavenProject</type>
          <required>true</required>
          <editable>true</editable>
          <description>reference to maven project for internal use.</description>
        </parameter>
        <parameter>
          <name>railsArgs</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>arguments for the rails command</description>
        </parameter>
        <parameter>
          <name>railsDir</name>
          <type>java.io.File</type>
          <required>false</required>
          <editable>true</editable>
          <description></description>
        </parameter>
        <parameter>
          <name>railsVersion</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>the rails version to use</description>
        </parameter>
        <parameter>
          <name>update</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>triggers an update of maven metadata for all gems.</description>
        </parameter>
      </parameters>
      <configuration>
        <appPath implementation="java.io.File" default-value="${app_path}"/>
        <args implementation="java.lang.String">${args}</args>
        <artifactVersion implementation="java.lang.String" default-value="1.0-SNAPSHOT">${version}</artifactVersion>
        <classRealm implementation="org.codehaus.classworlds.ClassRealm">${dummyExpression}</classRealm>
        <env implementation="java.lang.String">${rails.env}</env>
        <forceVersion implementation="boolean" default-value="false">${gem.forceVersion}</forceVersion>
        <gemArgs implementation="java.lang.String" default-value="${gem.args}"/>
        <gemHome implementation="java.io.File" default-value="${project.build.directory}/rubygems">${gem.home}</gemHome>
        <gemPath implementation="java.io.File" default-value="${project.build.directory}/rubygems">${gem.path}</gemPath>
        <groupId implementation="java.lang.String" default-value="rails">${groupId}</groupId>
        <includeOpenSSL implementation="boolean" default-value="true">${gem.includeOpenSSL}</includeOpenSSL>
        <installRDoc implementation="boolean" default-value="false">${gem.installRDoc}</installRDoc>
        <installRI implementation="boolean" default-value="false">${gem.installRI}</installRI>
        <jrubyArgs implementation="java.lang.String" default-value="${jruby.args}"/>
        <jrubyFork implementation="boolean" default-value="true">${jruby.fork}</jrubyFork>
        <jrubyGemHome implementation="java.io.File">${jruby.gem.home}</jrubyGemHome>
        <jrubyGemPath implementation="java.io.File">${jruby.gem.path}</jrubyGemPath>
        <jrubyVerbose implementation="boolean" default-value="false">${jruby.verbose}</jrubyVerbose>
        <jrubyVersion implementation="java.lang.String" default-value="${jruby.version}"/>
        <launchDirectory implementation="java.io.File" default-value="${launchDirectory}"/>
        <localRepository implementation="org.apache.maven.artifact.repository.ArtifactRepository" default-value="${localRepository}"/>
        <project implementation="org.apache.maven.project.MavenProject">${project}</project>
        <railsArgs implementation="java.lang.String" default-value="${rails.args}"/>
        <railsDir implementation="java.io.File" default-value="${project.basedir}/src/main/rails">${rails.dir}</railsDir>
        <railsVersion implementation="java.lang.String" default-value="3.0.0">${railsVersion}</railsVersion>
        <update implementation="boolean" default-value="false">${gem.update}</update>
      </configuration>
      <requirements>
        <requirement>
          <role>org.apache.maven.artifact.factory.ArtifactFactory</role>
          <field-name>artifactFactory</field-name>
        </requirement>
        <requirement>
          <role>org.apache.maven.project.MavenProjectBuilder</role>
          <field-name>builder</field-name>
        </requirement>
        <requirement>
          <role>de.saumya.mojo.ruby.GemifyManager</role>
          <field-name>manager</field-name>
        </requirement>
        <requirement>
          <role>org.apache.maven.artifact.metadata.ArtifactMetadataSource</role>
          <field-name>metadata</field-name>
        </requirement>
        <requirement>
          <role>org.apache.maven.artifact.resolver.ArtifactResolver</role>
          <field-name>resolver</field-name>
        </requirement>
        <requirement>
          <role>org.codehaus.plexus.velocity.VelocityComponent</role>
          <field-name>velocityComponent</field-name>
        </requirement>
      </requirements>
    </mojo>
    <mojo>
      <goal>server</goal>
      <description>goal to run the rails server.</description>
      <requiresDependencyResolution>compile</requiresDependencyResolution>
      <requiresDirectInvocation>false</requiresDirectInvocation>
      <requiresProject>false</requiresProject>
      <requiresReports>false</requiresReports>
      <aggregator>false</aggregator>
      <requiresOnline>false</requiresOnline>
      <inheritedByDefault>true</inheritedByDefault>
      <implementation>de.saumya.mojo.rails3.ServerMojo</implementation>
      <language>java</language>
      <instantiationStrategy>per-lookup</instantiationStrategy>
      <executionStrategy>once-per-session</executionStrategy>
      <parameters>
        <parameter>
          <name>args</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>common arguments</description>
        </parameter>
        <parameter>
          <name>classRealm</name>
          <type>org.codehaus.classworlds.ClassRealm</type>
          <required>false</required>
          <editable>false</editable>
          <description>classrealm for internal use.</description>
        </parameter>
        <parameter>
          <name>env</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>either development or test or production or whatever else is possible
with your config</description>
        </parameter>
        <parameter>
          <name>forceVersion</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>allow to overwrite the version by explicitly declaring a dependency in
the pom. will not check any dependencies on gemspecs level.</description>
        </parameter>
        <parameter>
          <name>gemArgs</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>arguments for the gem command.</description>
        </parameter>
        <parameter>
          <name>gemHome</name>
          <type>java.io.File</type>
          <required>false</required>
          <editable>true</editable>
          <description>directory of gem home to use when forking JRuby.</description>
        </parameter>
        <parameter>
          <name>gemPath</name>
          <type>java.io.File</type>
          <required>false</required>
          <editable>true</editable>
          <description>directory of JRuby path to use when forking JRuby.</description>
        </parameter>
        <parameter>
          <name>includeOpenSSL</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description></description>
        </parameter>
        <parameter>
          <name>installRDoc</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description></description>
        </parameter>
        <parameter>
          <name>installRI</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description></description>
        </parameter>
        <parameter>
          <name>jrubyArgs</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>arguments for the jruby command.</description>
        </parameter>
        <parameter>
          <name>jrubyFork</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>fork the JRuby execution.</description>
        </parameter>
        <parameter>
          <name>jrubyGemHome</name>
          <type>java.io.File</type>
          <required>false</required>
          <editable>true</editable>
          <description>directory of gem home to use when forking JRuby.</description>
        </parameter>
        <parameter>
          <name>jrubyGemPath</name>
          <type>java.io.File</type>
          <required>false</required>
          <editable>true</editable>
          <description>directory of JRuby path to use when forking JRuby.</description>
        </parameter>
        <parameter>
          <name>jrubyVerbose</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>verbose jruby related output</description>
        </parameter>
        <parameter>
          <name>jrubyVersion</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>if the pom.xml has no runtime dependency to a jruby-complete.jar then
this version is used to resolve the jruby-complete dependency from the
local/remote maven repository. defaults to &quot;1.5.2&quot;.</description>
        </parameter>
        <parameter>
          <name>launchDirectory</name>
          <type>java.io.File</type>
          <required>false</required>
          <editable>true</editable>
          <description>the launch directory for the JRuby execution.</description>
        </parameter>
        <parameter>
          <name>localRepository</name>
          <type>org.apache.maven.artifact.repository.ArtifactRepository</type>
          <required>true</required>
          <editable>false</editable>
          <description>local repository for internal use.</description>
        </parameter>
        <parameter>
          <name>project</name>
          <type>org.apache.maven.project.MavenProject</type>
          <required>true</required>
          <editable>true</editable>
          <description>reference to maven project for internal use.</description>
        </parameter>
        <parameter>
          <name>railsDir</name>
          <type>java.io.File</type>
          <required>false</required>
          <editable>true</editable>
          <description></description>
        </parameter>
        <parameter>
          <name>serverArgs</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>arguments for the generate command</description>
        </parameter>
        <parameter>
          <name>update</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>triggers an update of maven metadata for all gems.</description>
        </parameter>
      </parameters>
      <configuration>
        <args implementation="java.lang.String">${args}</args>
        <classRealm implementation="org.codehaus.classworlds.ClassRealm">${dummyExpression}</classRealm>
        <env implementation="java.lang.String">${rails.env}</env>
        <forceVersion implementation="boolean" default-value="false">${gem.forceVersion}</forceVersion>
        <gemArgs implementation="java.lang.String" default-value="${gem.args}"/>
        <gemHome implementation="java.io.File" default-value="${project.build.directory}/rubygems">${gem.home}</gemHome>
        <gemPath implementation="java.io.File" default-value="${project.build.directory}/rubygems">${gem.path}</gemPath>
        <includeOpenSSL implementation="boolean" default-value="true">${gem.includeOpenSSL}</includeOpenSSL>
        <installRDoc implementation="boolean" default-value="false">${gem.installRDoc}</installRDoc>
        <installRI implementation="boolean" default-value="false">${gem.installRI}</installRI>
        <jrubyArgs implementation="java.lang.String" default-value="${jruby.args}"/>
        <jrubyFork implementation="boolean" default-value="true">${jruby.fork}</jrubyFork>
        <jrubyGemHome implementation="java.io.File">${jruby.gem.home}</jrubyGemHome>
        <jrubyGemPath implementation="java.io.File">${jruby.gem.path}</jrubyGemPath>
        <jrubyVerbose implementation="boolean" default-value="false">${jruby.verbose}</jrubyVerbose>
        <jrubyVersion implementation="java.lang.String" default-value="${jruby.version}"/>
        <launchDirectory implementation="java.io.File" default-value="${launchDirectory}"/>
        <localRepository implementation="org.apache.maven.artifact.repository.ArtifactRepository" default-value="${localRepository}"/>
        <project implementation="org.apache.maven.project.MavenProject">${project}</project>
        <railsDir implementation="java.io.File" default-value="${project.basedir}/src/main/rails">${rails.dir}</railsDir>
        <serverArgs implementation="java.lang.String" default-value="${server.args}"/>
        <update implementation="boolean" default-value="false">${gem.update}</update>
      </configuration>
      <requirements>
        <requirement>
          <role>org.apache.maven.artifact.factory.ArtifactFactory</role>
          <field-name>artifactFactory</field-name>
        </requirement>
        <requirement>
          <role>org.apache.maven.project.MavenProjectBuilder</role>
          <field-name>builder</field-name>
        </requirement>
        <requirement>
          <role>de.saumya.mojo.ruby.GemifyManager</role>
          <field-name>manager</field-name>
        </requirement>
        <requirement>
          <role>org.apache.maven.artifact.metadata.ArtifactMetadataSource</role>
          <field-name>metadata</field-name>
        </requirement>
        <requirement>
          <role>org.apache.maven.artifact.resolver.ArtifactResolver</role>
          <field-name>resolver</field-name>
        </requirement>
      </requirements>
    </mojo>
    <mojo>
      <goal>generate</goal>
      <description>goal to run a generator</description>
      <requiresDependencyResolution>test</requiresDependencyResolution>
      <requiresDirectInvocation>false</requiresDirectInvocation>
      <requiresProject>false</requiresProject>
      <requiresReports>false</requiresReports>
      <aggregator>false</aggregator>
      <requiresOnline>false</requiresOnline>
      <inheritedByDefault>true</inheritedByDefault>
      <implementation>de.saumya.mojo.rails3.GenerateMojo</implementation>
      <language>java</language>
      <instantiationStrategy>per-lookup</instantiationStrategy>
      <executionStrategy>once-per-session</executionStrategy>
      <parameters>
        <parameter>
          <name>args</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>common arguments</description>
        </parameter>
        <parameter>
          <name>classRealm</name>
          <type>org.codehaus.classworlds.ClassRealm</type>
          <required>false</required>
          <editable>false</editable>
          <description>classrealm for internal use.</description>
        </parameter>
        <parameter>
          <name>env</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>either development or test or production or whatever else is possible
with your config</description>
        </parameter>
        <parameter>
          <name>forceVersion</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>allow to overwrite the version by explicitly declaring a dependency in
the pom. will not check any dependencies on gemspecs level.</description>
        </parameter>
        <parameter>
          <name>gemArgs</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>arguments for the gem command.</description>
        </parameter>
        <parameter>
          <name>gemHome</name>
          <type>java.io.File</type>
          <required>false</required>
          <editable>true</editable>
          <description>directory of gem home to use when forking JRuby.</description>
        </parameter>
        <parameter>
          <name>gemPath</name>
          <type>java.io.File</type>
          <required>false</required>
          <editable>true</editable>
          <description>directory of JRuby path to use when forking JRuby.</description>
        </parameter>
        <parameter>
          <name>generateArgs</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>arguments for the generate command</description>
        </parameter>
        <parameter>
          <name>generator</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>the name of the generator</description>
        </parameter>
        <parameter>
          <name>includeOpenSSL</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description></description>
        </parameter>
        <parameter>
          <name>installRDoc</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description></description>
        </parameter>
        <parameter>
          <name>installRI</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description></description>
        </parameter>
        <parameter>
          <name>jrubyArgs</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>arguments for the jruby command.</description>
        </parameter>
        <parameter>
          <name>jrubyFork</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>fork the JRuby execution.</description>
        </parameter>
        <parameter>
          <name>jrubyGemHome</name>
          <type>java.io.File</type>
          <required>false</required>
          <editable>true</editable>
          <description>directory of gem home to use when forking JRuby.</description>
        </parameter>
        <parameter>
          <name>jrubyGemPath</name>
          <type>java.io.File</type>
          <required>false</required>
          <editable>true</editable>
          <description>directory of JRuby path to use when forking JRuby.</description>
        </parameter>
        <parameter>
          <name>jrubyVerbose</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>verbose jruby related output</description>
        </parameter>
        <parameter>
          <name>jrubyVersion</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>if the pom.xml has no runtime dependency to a jruby-complete.jar then
this version is used to resolve the jruby-complete dependency from the
local/remote maven repository. defaults to &quot;1.5.2&quot;.</description>
        </parameter>
        <parameter>
          <name>launchDirectory</name>
          <type>java.io.File</type>
          <required>false</required>
          <editable>true</editable>
          <description>the launch directory for the JRuby execution.</description>
        </parameter>
        <parameter>
          <name>localRepository</name>
          <type>org.apache.maven.artifact.repository.ArtifactRepository</type>
          <required>true</required>
          <editable>false</editable>
          <description>local repository for internal use.</description>
        </parameter>
        <parameter>
          <name>project</name>
          <type>org.apache.maven.project.MavenProject</type>
          <required>true</required>
          <editable>true</editable>
          <description>reference to maven project for internal use.</description>
        </parameter>
        <parameter>
          <name>railsDir</name>
          <type>java.io.File</type>
          <required>false</required>
          <editable>true</editable>
          <description></description>
        </parameter>
        <parameter>
          <name>update</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>triggers an update of maven metadata for all gems.</description>
        </parameter>
      </parameters>
      <configuration>
        <args implementation="java.lang.String">${args}</args>
        <classRealm implementation="org.codehaus.classworlds.ClassRealm">${dummyExpression}</classRealm>
        <env implementation="java.lang.String">${rails.env}</env>
        <forceVersion implementation="boolean" default-value="false">${gem.forceVersion}</forceVersion>
        <gemArgs implementation="java.lang.String" default-value="${gem.args}"/>
        <gemHome implementation="java.io.File" default-value="${project.build.directory}/rubygems">${gem.home}</gemHome>
        <gemPath implementation="java.io.File" default-value="${project.build.directory}/rubygems">${gem.path}</gemPath>
        <generateArgs implementation="java.lang.String" default-value="${generate.args}"/>
        <generator implementation="java.lang.String" default-value="${generator}"/>
        <includeOpenSSL implementation="boolean" default-value="true">${gem.includeOpenSSL}</includeOpenSSL>
        <installRDoc implementation="boolean" default-value="false">${gem.installRDoc}</installRDoc>
        <installRI implementation="boolean" default-value="false">${gem.installRI}</installRI>
        <jrubyArgs implementation="java.lang.String" default-value="${jruby.args}"/>
        <jrubyFork implementation="boolean" default-value="true">${jruby.fork}</jrubyFork>
        <jrubyGemHome implementation="java.io.File">${jruby.gem.home}</jrubyGemHome>
        <jrubyGemPath implementation="java.io.File">${jruby.gem.path}</jrubyGemPath>
        <jrubyVerbose implementation="boolean" default-value="false">${jruby.verbose}</jrubyVerbose>
        <jrubyVersion implementation="java.lang.String" default-value="${jruby.version}"/>
        <launchDirectory implementation="java.io.File" default-value="${launchDirectory}"/>
        <localRepository implementation="org.apache.maven.artifact.repository.ArtifactRepository" default-value="${localRepository}"/>
        <project implementation="org.apache.maven.project.MavenProject">${project}</project>
        <railsDir implementation="java.io.File" default-value="${project.basedir}/src/main/rails">${rails.dir}</railsDir>
        <update implementation="boolean" default-value="false">${gem.update}</update>
      </configuration>
      <requirements>
        <requirement>
          <role>org.apache.maven.artifact.factory.ArtifactFactory</role>
          <field-name>artifactFactory</field-name>
        </requirement>
        <requirement>
          <role>org.apache.maven.project.MavenProjectBuilder</role>
          <field-name>builder</field-name>
        </requirement>
        <requirement>
          <role>de.saumya.mojo.ruby.GemifyManager</role>
          <field-name>manager</field-name>
        </requirement>
        <requirement>
          <role>org.apache.maven.artifact.metadata.ArtifactMetadataSource</role>
          <field-name>metadata</field-name>
        </requirement>
        <requirement>
          <role>org.apache.maven.artifact.resolver.ArtifactResolver</role>
          <field-name>resolver</field-name>
        </requirement>
      </requirements>
    </mojo>
    <mojo>
      <goal>rake</goal>
      <description>goal to run rails rake with the given arguments.</description>
      <requiresDependencyResolution>test</requiresDependencyResolution>
      <requiresDirectInvocation>false</requiresDirectInvocation>
      <requiresProject>false</requiresProject>
      <requiresReports>false</requiresReports>
      <aggregator>false</aggregator>
      <requiresOnline>false</requiresOnline>
      <inheritedByDefault>true</inheritedByDefault>
      <implementation>de.saumya.mojo.rails3.RakeMojo</implementation>
      <language>java</language>
      <instantiationStrategy>per-lookup</instantiationStrategy>
      <executionStrategy>once-per-session</executionStrategy>
      <parameters>
        <parameter>
          <name>args</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>common arguments</description>
        </parameter>
        <parameter>
          <name>classRealm</name>
          <type>org.codehaus.classworlds.ClassRealm</type>
          <required>false</required>
          <editable>false</editable>
          <description>classrealm for internal use.</description>
        </parameter>
        <parameter>
          <name>env</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>either development or test or production or whatever else is possible
with your config</description>
        </parameter>
        <parameter>
          <name>forceVersion</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>allow to overwrite the version by explicitly declaring a dependency in
the pom. will not check any dependencies on gemspecs level.</description>
        </parameter>
        <parameter>
          <name>gemArgs</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>arguments for the gem command.</description>
        </parameter>
        <parameter>
          <name>gemHome</name>
          <type>java.io.File</type>
          <required>false</required>
          <editable>true</editable>
          <description>directory of gem home to use when forking JRuby.</description>
        </parameter>
        <parameter>
          <name>gemPath</name>
          <type>java.io.File</type>
          <required>false</required>
          <editable>true</editable>
          <description>directory of JRuby path to use when forking JRuby.</description>
        </parameter>
        <parameter>
          <name>includeOpenSSL</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description></description>
        </parameter>
        <parameter>
          <name>installRDoc</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description></description>
        </parameter>
        <parameter>
          <name>installRI</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description></description>
        </parameter>
        <parameter>
          <name>jrubyArgs</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>arguments for the jruby command.</description>
        </parameter>
        <parameter>
          <name>jrubyFork</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>fork the JRuby execution.</description>
        </parameter>
        <parameter>
          <name>jrubyGemHome</name>
          <type>java.io.File</type>
          <required>false</required>
          <editable>true</editable>
          <description>directory of gem home to use when forking JRuby.</description>
        </parameter>
        <parameter>
          <name>jrubyGemPath</name>
          <type>java.io.File</type>
          <required>false</required>
          <editable>true</editable>
          <description>directory of JRuby path to use when forking JRuby.</description>
        </parameter>
        <parameter>
          <name>jrubyVerbose</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>verbose jruby related output</description>
        </parameter>
        <parameter>
          <name>jrubyVersion</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>if the pom.xml has no runtime dependency to a jruby-complete.jar then
this version is used to resolve the jruby-complete dependency from the
local/remote maven repository. defaults to &quot;1.5.2&quot;.</description>
        </parameter>
        <parameter>
          <name>launchDirectory</name>
          <type>java.io.File</type>
          <required>false</required>
          <editable>true</editable>
          <description>the launch directory for the JRuby execution.</description>
        </parameter>
        <parameter>
          <name>localRepository</name>
          <type>org.apache.maven.artifact.repository.ArtifactRepository</type>
          <required>true</required>
          <editable>false</editable>
          <description>local repository for internal use.</description>
        </parameter>
        <parameter>
          <name>project</name>
          <type>org.apache.maven.project.MavenProject</type>
          <required>true</required>
          <editable>true</editable>
          <description>reference to maven project for internal use.</description>
        </parameter>
        <parameter>
          <name>railsDir</name>
          <type>java.io.File</type>
          <required>false</required>
          <editable>true</editable>
          <description></description>
        </parameter>
        <parameter>
          <name>rakeArgs</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>arguments for the generate command</description>
        </parameter>
        <parameter>
          <name>task</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>the path to the application to be generated</description>
        </parameter>
        <parameter>
          <name>update</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>triggers an update of maven metadata for all gems.</description>
        </parameter>
      </parameters>
      <configuration>
        <args implementation="java.lang.String">${args}</args>
        <classRealm implementation="org.codehaus.classworlds.ClassRealm">${dummyExpression}</classRealm>
        <env implementation="java.lang.String">${rails.env}</env>
        <forceVersion implementation="boolean" default-value="false">${gem.forceVersion}</forceVersion>
        <gemArgs implementation="java.lang.String" default-value="${gem.args}"/>
        <gemHome implementation="java.io.File" default-value="${project.build.directory}/rubygems">${gem.home}</gemHome>
        <gemPath implementation="java.io.File" default-value="${project.build.directory}/rubygems">${gem.path}</gemPath>
        <includeOpenSSL implementation="boolean" default-value="true">${gem.includeOpenSSL}</includeOpenSSL>
        <installRDoc implementation="boolean" default-value="false">${gem.installRDoc}</installRDoc>
        <installRI implementation="boolean" default-value="false">${gem.installRI}</installRI>
        <jrubyArgs implementation="java.lang.String" default-value="${jruby.args}"/>
        <jrubyFork implementation="boolean" default-value="true">${jruby.fork}</jrubyFork>
        <jrubyGemHome implementation="java.io.File">${jruby.gem.home}</jrubyGemHome>
        <jrubyGemPath implementation="java.io.File">${jruby.gem.path}</jrubyGemPath>
        <jrubyVerbose implementation="boolean" default-value="false">${jruby.verbose}</jrubyVerbose>
        <jrubyVersion implementation="java.lang.String" default-value="${jruby.version}"/>
        <launchDirectory implementation="java.io.File" default-value="${launchDirectory}"/>
        <localRepository implementation="org.apache.maven.artifact.repository.ArtifactRepository" default-value="${localRepository}"/>
        <project implementation="org.apache.maven.project.MavenProject">${project}</project>
        <railsDir implementation="java.io.File" default-value="${project.basedir}/src/main/rails">${rails.dir}</railsDir>
        <rakeArgs implementation="java.lang.String" default-value="${rake.args}"/>
        <task implementation="java.lang.String" default-value="${task}"/>
        <update implementation="boolean" default-value="false">${gem.update}</update>
      </configuration>
      <requirements>
        <requirement>
          <role>org.apache.maven.artifact.factory.ArtifactFactory</role>
          <field-name>artifactFactory</field-name>
        </requirement>
        <requirement>
          <role>org.apache.maven.project.MavenProjectBuilder</role>
          <field-name>builder</field-name>
        </requirement>
        <requirement>
          <role>de.saumya.mojo.ruby.GemifyManager</role>
          <field-name>manager</field-name>
        </requirement>
        <requirement>
          <role>org.apache.maven.artifact.metadata.ArtifactMetadataSource</role>
          <field-name>metadata</field-name>
        </requirement>
        <requirement>
          <role>org.apache.maven.artifact.resolver.ArtifactResolver</role>
          <field-name>resolver</field-name>
        </requirement>
      </requirements>
    </mojo>
    <mojo>
      <goal>initialize</goal>
      <description></description>
      <requiresDependencyResolution>test</requiresDependencyResolution>
      <requiresDirectInvocation>false</requiresDirectInvocation>
      <requiresProject>false</requiresProject>
      <requiresReports>false</requiresReports>
      <aggregator>false</aggregator>
      <requiresOnline>false</requiresOnline>
      <inheritedByDefault>true</inheritedByDefault>
      <phase>initialize</phase>
      <implementation>de.saumya.mojo.rails3.InitializeMojo</implementation>
      <language>java</language>
      <instantiationStrategy>per-lookup</instantiationStrategy>
      <executionStrategy>once-per-session</executionStrategy>
      <parameters>
        <parameter>
          <name>args</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>common arguments</description>
        </parameter>
        <parameter>
          <name>classRealm</name>
          <type>org.codehaus.classworlds.ClassRealm</type>
          <required>false</required>
          <editable>false</editable>
          <description>classrealm for internal use.</description>
        </parameter>
        <parameter>
          <name>env</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>either development or test or production or whatever else is possible
with your config</description>
        </parameter>
        <parameter>
          <name>forceVersion</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>allow to overwrite the version by explicitly declaring a dependency in
the pom. will not check any dependencies on gemspecs level.</description>
        </parameter>
        <parameter>
          <name>gemArgs</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>arguments for the gem command.</description>
        </parameter>
        <parameter>
          <name>gemHome</name>
          <type>java.io.File</type>
          <required>false</required>
          <editable>true</editable>
          <description>directory of gem home to use when forking JRuby.</description>
        </parameter>
        <parameter>
          <name>gemPath</name>
          <type>java.io.File</type>
          <required>false</required>
          <editable>true</editable>
          <description>directory of JRuby path to use when forking JRuby.</description>
        </parameter>
        <parameter>
          <name>includeOpenSSL</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description></description>
        </parameter>
        <parameter>
          <name>installRDoc</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description></description>
        </parameter>
        <parameter>
          <name>installRI</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description></description>
        </parameter>
        <parameter>
          <name>jrubyArgs</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>arguments for the jruby command.</description>
        </parameter>
        <parameter>
          <name>jrubyFork</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>fork the JRuby execution.</description>
        </parameter>
        <parameter>
          <name>jrubyGemHome</name>
          <type>java.io.File</type>
          <required>false</required>
          <editable>true</editable>
          <description>directory of gem home to use when forking JRuby.</description>
        </parameter>
        <parameter>
          <name>jrubyGemPath</name>
          <type>java.io.File</type>
          <required>false</required>
          <editable>true</editable>
          <description>directory of JRuby path to use when forking JRuby.</description>
        </parameter>
        <parameter>
          <name>jrubyVerbose</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>verbose jruby related output</description>
        </parameter>
        <parameter>
          <name>jrubyVersion</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>if the pom.xml has no runtime dependency to a jruby-complete.jar then
this version is used to resolve the jruby-complete dependency from the
local/remote maven repository. defaults to &quot;1.5.2&quot;.</description>
        </parameter>
        <parameter>
          <name>launchDirectory</name>
          <type>java.io.File</type>
          <required>false</required>
          <editable>true</editable>
          <description>the launch directory for the JRuby execution.</description>
        </parameter>
        <parameter>
          <name>localRepository</name>
          <type>org.apache.maven.artifact.repository.ArtifactRepository</type>
          <required>true</required>
          <editable>false</editable>
          <description>local repository for internal use.</description>
        </parameter>
        <parameter>
          <name>project</name>
          <type>org.apache.maven.project.MavenProject</type>
          <required>true</required>
          <editable>true</editable>
          <description>reference to maven project for internal use.</description>
        </parameter>
        <parameter>
          <name>railsDir</name>
          <type>java.io.File</type>
          <required>false</required>
          <editable>true</editable>
          <description></description>
        </parameter>
        <parameter>
          <name>update</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>triggers an update of maven metadata for all gems.</description>
        </parameter>
      </parameters>
      <configuration>
        <args implementation="java.lang.String">${args}</args>
        <classRealm implementation="org.codehaus.classworlds.ClassRealm">${dummyExpression}</classRealm>
        <env implementation="java.lang.String">${rails.env}</env>
        <forceVersion implementation="boolean" default-value="false">${gem.forceVersion}</forceVersion>
        <gemArgs implementation="java.lang.String" default-value="${gem.args}"/>
        <gemHome implementation="java.io.File" default-value="${project.build.directory}/rubygems">${gem.home}</gemHome>
        <gemPath implementation="java.io.File" default-value="${project.build.directory}/rubygems">${gem.path}</gemPath>
        <includeOpenSSL implementation="boolean" default-value="true">${gem.includeOpenSSL}</includeOpenSSL>
        <installRDoc implementation="boolean" default-value="false">${gem.installRDoc}</installRDoc>
        <installRI implementation="boolean" default-value="false">${gem.installRI}</installRI>
        <jrubyArgs implementation="java.lang.String" default-value="${jruby.args}"/>
        <jrubyFork implementation="boolean" default-value="true">${jruby.fork}</jrubyFork>
        <jrubyGemHome implementation="java.io.File">${jruby.gem.home}</jrubyGemHome>
        <jrubyGemPath implementation="java.io.File">${jruby.gem.path}</jrubyGemPath>
        <jrubyVerbose implementation="boolean" default-value="false">${jruby.verbose}</jrubyVerbose>
        <jrubyVersion implementation="java.lang.String" default-value="${jruby.version}"/>
        <launchDirectory implementation="java.io.File" default-value="${launchDirectory}"/>
        <localRepository implementation="org.apache.maven.artifact.repository.ArtifactRepository" default-value="${localRepository}"/>
        <project implementation="org.apache.maven.project.MavenProject">${project}</project>
        <railsDir implementation="java.io.File" default-value="${project.basedir}/src/main/rails">${rails.dir}</railsDir>
        <update implementation="boolean" default-value="false">${gem.update}</update>
      </configuration>
      <requirements>
        <requirement>
          <role>org.apache.maven.artifact.factory.ArtifactFactory</role>
          <field-name>artifactFactory</field-name>
        </requirement>
        <requirement>
          <role>org.apache.maven.project.MavenProjectBuilder</role>
          <field-name>builder</field-name>
        </requirement>
        <requirement>
          <role>de.saumya.mojo.ruby.GemifyManager</role>
          <field-name>manager</field-name>
        </requirement>
        <requirement>
          <role>org.apache.maven.artifact.metadata.ArtifactMetadataSource</role>
          <field-name>metadata</field-name>
        </requirement>
        <requirement>
          <role>org.apache.maven.artifact.resolver.ArtifactResolver</role>
          <field-name>resolver</field-name>
        </requirement>
      </requirements>
    </mojo>
    <mojo>
      <goal>dbconsole</goal>
      <description>goal to run the rails database console</description>
      <requiresDependencyResolution>compile</requiresDependencyResolution>
      <requiresDirectInvocation>false</requiresDirectInvocation>
      <requiresProject>false</requiresProject>
      <requiresReports>false</requiresReports>
      <aggregator>false</aggregator>
      <requiresOnline>false</requiresOnline>
      <inheritedByDefault>true</inheritedByDefault>
      <implementation>de.saumya.mojo.rails3.DbConsoleMojo</implementation>
      <language>java</language>
      <instantiationStrategy>per-lookup</instantiationStrategy>
      <executionStrategy>once-per-session</executionStrategy>
      <parameters>
        <parameter>
          <name>args</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>common arguments</description>
        </parameter>
        <parameter>
          <name>classRealm</name>
          <type>org.codehaus.classworlds.ClassRealm</type>
          <required>false</required>
          <editable>false</editable>
          <description>classrealm for internal use.</description>
        </parameter>
        <parameter>
          <name>dbconsoleArgs</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>arguments for the database console command</description>
        </parameter>
        <parameter>
          <name>env</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>either development or test or production or whatever else is possible
with your config</description>
        </parameter>
        <parameter>
          <name>forceVersion</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>allow to overwrite the version by explicitly declaring a dependency in
the pom. will not check any dependencies on gemspecs level.</description>
        </parameter>
        <parameter>
          <name>gemArgs</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>arguments for the gem command.</description>
        </parameter>
        <parameter>
          <name>gemHome</name>
          <type>java.io.File</type>
          <required>false</required>
          <editable>true</editable>
          <description>directory of gem home to use when forking JRuby.</description>
        </parameter>
        <parameter>
          <name>gemPath</name>
          <type>java.io.File</type>
          <required>false</required>
          <editable>true</editable>
          <description>directory of JRuby path to use when forking JRuby.</description>
        </parameter>
        <parameter>
          <name>includeOpenSSL</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description></description>
        </parameter>
        <parameter>
          <name>installRDoc</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description></description>
        </parameter>
        <parameter>
          <name>installRI</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description></description>
        </parameter>
        <parameter>
          <name>jrubyArgs</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>arguments for the jruby command.</description>
        </parameter>
        <parameter>
          <name>jrubyFork</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>fork the JRuby execution.</description>
        </parameter>
        <parameter>
          <name>jrubyGemHome</name>
          <type>java.io.File</type>
          <required>false</required>
          <editable>true</editable>
          <description>directory of gem home to use when forking JRuby.</description>
        </parameter>
        <parameter>
          <name>jrubyGemPath</name>
          <type>java.io.File</type>
          <required>false</required>
          <editable>true</editable>
          <description>directory of JRuby path to use when forking JRuby.</description>
        </parameter>
        <parameter>
          <name>jrubyVerbose</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>verbose jruby related output</description>
        </parameter>
        <parameter>
          <name>jrubyVersion</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>if the pom.xml has no runtime dependency to a jruby-complete.jar then
this version is used to resolve the jruby-complete dependency from the
local/remote maven repository. defaults to &quot;1.5.2&quot;.</description>
        </parameter>
        <parameter>
          <name>launchDirectory</name>
          <type>java.io.File</type>
          <required>false</required>
          <editable>true</editable>
          <description>the launch directory for the JRuby execution.</description>
        </parameter>
        <parameter>
          <name>localRepository</name>
          <type>org.apache.maven.artifact.repository.ArtifactRepository</type>
          <required>true</required>
          <editable>false</editable>
          <description>local repository for internal use.</description>
        </parameter>
        <parameter>
          <name>project</name>
          <type>org.apache.maven.project.MavenProject</type>
          <required>true</required>
          <editable>true</editable>
          <description>reference to maven project for internal use.</description>
        </parameter>
        <parameter>
          <name>railsDir</name>
          <type>java.io.File</type>
          <required>false</required>
          <editable>true</editable>
          <description></description>
        </parameter>
        <parameter>
          <name>update</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>triggers an update of maven metadata for all gems.</description>
        </parameter>
      </parameters>
      <configuration>
        <args implementation="java.lang.String">${args}</args>
        <classRealm implementation="org.codehaus.classworlds.ClassRealm">${dummyExpression}</classRealm>
        <dbconsoleArgs implementation="java.lang.String" default-value="${dbconsole.args}"/>
        <env implementation="java.lang.String">${rails.env}</env>
        <forceVersion implementation="boolean" default-value="false">${gem.forceVersion}</forceVersion>
        <gemArgs implementation="java.lang.String" default-value="${gem.args}"/>
        <gemHome implementation="java.io.File" default-value="${project.build.directory}/rubygems">${gem.home}</gemHome>
        <gemPath implementation="java.io.File" default-value="${project.build.directory}/rubygems">${gem.path}</gemPath>
        <includeOpenSSL implementation="boolean" default-value="true">${gem.includeOpenSSL}</includeOpenSSL>
        <installRDoc implementation="boolean" default-value="false">${gem.installRDoc}</installRDoc>
        <installRI implementation="boolean" default-value="false">${gem.installRI}</installRI>
        <jrubyArgs implementation="java.lang.String" default-value="${jruby.args}"/>
        <jrubyFork implementation="boolean" default-value="true">${jruby.fork}</jrubyFork>
        <jrubyGemHome implementation="java.io.File">${jruby.gem.home}</jrubyGemHome>
        <jrubyGemPath implementation="java.io.File">${jruby.gem.path}</jrubyGemPath>
        <jrubyVerbose implementation="boolean" default-value="false">${jruby.verbose}</jrubyVerbose>
        <jrubyVersion implementation="java.lang.String" default-value="${jruby.version}"/>
        <launchDirectory implementation="java.io.File" default-value="${launchDirectory}"/>
        <localRepository implementation="org.apache.maven.artifact.repository.ArtifactRepository" default-value="${localRepository}"/>
        <project implementation="org.apache.maven.project.MavenProject">${project}</project>
        <railsDir implementation="java.io.File" default-value="${project.basedir}/src/main/rails">${rails.dir}</railsDir>
        <update implementation="boolean" default-value="false">${gem.update}</update>
      </configuration>
      <requirements>
        <requirement>
          <role>org.apache.maven.artifact.factory.ArtifactFactory</role>
          <field-name>artifactFactory</field-name>
        </requirement>
        <requirement>
          <role>org.apache.maven.project.MavenProjectBuilder</role>
          <field-name>builder</field-name>
        </requirement>
        <requirement>
          <role>de.saumya.mojo.ruby.GemifyManager</role>
          <field-name>manager</field-name>
        </requirement>
        <requirement>
          <role>org.apache.maven.artifact.metadata.ArtifactMetadataSource</role>
          <field-name>metadata</field-name>
        </requirement>
        <requirement>
          <role>org.apache.maven.artifact.resolver.ArtifactResolver</role>
          <field-name>resolver</field-name>
        </requirement>
      </requirements>
    </mojo>
    <mojo>
      <goal>help</goal>
      <description>Display help information on rails3-maven-plugin.&lt;br/&gt; Call &lt;pre&gt;  mvn rails3:help -Ddetail=true -Dgoal=&amp;lt;goal-name&amp;gt;&lt;/pre&gt; to display parameter details.</description>
      <requiresDirectInvocation>false</requiresDirectInvocation>
      <requiresProject>false</requiresProject>
      <requiresReports>false</requiresReports>
      <aggregator>false</aggregator>
      <requiresOnline>false</requiresOnline>
      <inheritedByDefault>true</inheritedByDefault>
      <implementation>de.saumya.mojo.rails3.HelpMojo</implementation>
      <language>java</language>
      <instantiationStrategy>per-lookup</instantiationStrategy>
      <executionStrategy>once-per-session</executionStrategy>
      <parameters>
        <parameter>
          <name>detail</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>If &lt;code&gt;true&lt;/code&gt;, display all settable properties for each goal.</description>
        </parameter>
        <parameter>
          <name>goal</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>The name of the goal for which to show help. If unspecified, all goals will be displayed.</description>
        </parameter>
        <parameter>
          <name>indentSize</name>
          <type>int</type>
          <required>false</required>
          <editable>true</editable>
          <description>The number of spaces per indentation level, should be positive.</description>
        </parameter>
        <parameter>
          <name>lineLength</name>
          <type>int</type>
          <required>false</required>
          <editable>true</editable>
          <description>The maximum length of a display line, should be positive.</description>
        </parameter>
      </parameters>
      <configuration>
        <detail implementation="boolean" default-value="false">${detail}</detail>
        <goal implementation="java.lang.String">${goal}</goal>
        <indentSize implementation="int" default-value="2">${indentSize}</indentSize>
        <lineLength implementation="int" default-value="80">${lineLength}</lineLength>
      </configuration>
    </mojo>
    <mojo>
      <goal>console</goal>
      <description>goal to run the rails console. it will ignore the fork parameter since
forking does not work with a console.</description>
      <requiresDependencyResolution>compile</requiresDependencyResolution>
      <requiresDirectInvocation>false</requiresDirectInvocation>
      <requiresProject>false</requiresProject>
      <requiresReports>false</requiresReports>
      <aggregator>false</aggregator>
      <requiresOnline>false</requiresOnline>
      <inheritedByDefault>true</inheritedByDefault>
      <implementation>de.saumya.mojo.rails3.ConsoleMojo</implementation>
      <language>java</language>
      <instantiationStrategy>per-lookup</instantiationStrategy>
      <executionStrategy>once-per-session</executionStrategy>
      <parameters>
        <parameter>
          <name>args</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>common arguments</description>
        </parameter>
        <parameter>
          <name>classRealm</name>
          <type>org.codehaus.classworlds.ClassRealm</type>
          <required>false</required>
          <editable>false</editable>
          <description>classrealm for internal use.</description>
        </parameter>
        <parameter>
          <name>consoleArgs</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>arguments for the console command</description>
        </parameter>
        <parameter>
          <name>env</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>either development or test or production or whatever else is possible
with your config</description>
        </parameter>
        <parameter>
          <name>forceVersion</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>allow to overwrite the version by explicitly declaring a dependency in
the pom. will not check any dependencies on gemspecs level.</description>
        </parameter>
        <parameter>
          <name>gemArgs</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>arguments for the gem command.</description>
        </parameter>
        <parameter>
          <name>gemHome</name>
          <type>java.io.File</type>
          <required>false</required>
          <editable>true</editable>
          <description>directory of gem home to use when forking JRuby.</description>
        </parameter>
        <parameter>
          <name>gemPath</name>
          <type>java.io.File</type>
          <required>false</required>
          <editable>true</editable>
          <description>directory of JRuby path to use when forking JRuby.</description>
        </parameter>
        <parameter>
          <name>includeOpenSSL</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description></description>
        </parameter>
        <parameter>
          <name>installRDoc</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description></description>
        </parameter>
        <parameter>
          <name>installRI</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description></description>
        </parameter>
        <parameter>
          <name>jrubyArgs</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>arguments for the jruby command.</description>
        </parameter>
        <parameter>
          <name>jrubyFork</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>fork the JRuby execution.</description>
        </parameter>
        <parameter>
          <name>jrubyGemHome</name>
          <type>java.io.File</type>
          <required>false</required>
          <editable>true</editable>
          <description>directory of gem home to use when forking JRuby.</description>
        </parameter>
        <parameter>
          <name>jrubyGemPath</name>
          <type>java.io.File</type>
          <required>false</required>
          <editable>true</editable>
          <description>directory of JRuby path to use when forking JRuby.</description>
        </parameter>
        <parameter>
          <name>jrubyVerbose</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>verbose jruby related output</description>
        </parameter>
        <parameter>
          <name>jrubyVersion</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>if the pom.xml has no runtime dependency to a jruby-complete.jar then
this version is used to resolve the jruby-complete dependency from the
local/remote maven repository. defaults to &quot;1.5.2&quot;.</description>
        </parameter>
        <parameter>
          <name>launchDirectory</name>
          <type>java.io.File</type>
          <required>false</required>
          <editable>true</editable>
          <description>the launch directory for the JRuby execution.</description>
        </parameter>
        <parameter>
          <name>localRepository</name>
          <type>org.apache.maven.artifact.repository.ArtifactRepository</type>
          <required>true</required>
          <editable>false</editable>
          <description>local repository for internal use.</description>
        </parameter>
        <parameter>
          <name>project</name>
          <type>org.apache.maven.project.MavenProject</type>
          <required>true</required>
          <editable>true</editable>
          <description>reference to maven project for internal use.</description>
        </parameter>
        <parameter>
          <name>railsDir</name>
          <type>java.io.File</type>
          <required>false</required>
          <editable>true</editable>
          <description></description>
        </parameter>
        <parameter>
          <name>update</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>triggers an update of maven metadata for all gems.</description>
        </parameter>
      </parameters>
      <configuration>
        <args implementation="java.lang.String">${args}</args>
        <classRealm implementation="org.codehaus.classworlds.ClassRealm">${dummyExpression}</classRealm>
        <consoleArgs implementation="java.lang.String" default-value="${console.args}"/>
        <env implementation="java.lang.String">${rails.env}</env>
        <forceVersion implementation="boolean" default-value="false">${gem.forceVersion}</forceVersion>
        <gemArgs implementation="java.lang.String" default-value="${gem.args}"/>
        <gemHome implementation="java.io.File" default-value="${project.build.directory}/rubygems">${gem.home}</gemHome>
        <gemPath implementation="java.io.File" default-value="${project.build.directory}/rubygems">${gem.path}</gemPath>
        <includeOpenSSL implementation="boolean" default-value="true">${gem.includeOpenSSL}</includeOpenSSL>
        <installRDoc implementation="boolean" default-value="false">${gem.installRDoc}</installRDoc>
        <installRI implementation="boolean" default-value="false">${gem.installRI}</installRI>
        <jrubyArgs implementation="java.lang.String" default-value="${jruby.args}"/>
        <jrubyFork implementation="boolean" default-value="true">${jruby.fork}</jrubyFork>
        <jrubyGemHome implementation="java.io.File">${jruby.gem.home}</jrubyGemHome>
        <jrubyGemPath implementation="java.io.File">${jruby.gem.path}</jrubyGemPath>
        <jrubyVerbose implementation="boolean" default-value="false">${jruby.verbose}</jrubyVerbose>
        <jrubyVersion implementation="java.lang.String" default-value="${jruby.version}"/>
        <launchDirectory implementation="java.io.File" default-value="${launchDirectory}"/>
        <localRepository implementation="org.apache.maven.artifact.repository.ArtifactRepository" default-value="${localRepository}"/>
        <project implementation="org.apache.maven.project.MavenProject">${project}</project>
        <railsDir implementation="java.io.File" default-value="${project.basedir}/src/main/rails">${rails.dir}</railsDir>
        <update implementation="boolean" default-value="false">${gem.update}</update>
      </configuration>
      <requirements>
        <requirement>
          <role>org.apache.maven.artifact.factory.ArtifactFactory</role>
          <field-name>artifactFactory</field-name>
        </requirement>
        <requirement>
          <role>org.apache.maven.project.MavenProjectBuilder</role>
          <field-name>builder</field-name>
        </requirement>
        <requirement>
          <role>de.saumya.mojo.ruby.GemifyManager</role>
          <field-name>manager</field-name>
        </requirement>
        <requirement>
          <role>org.apache.maven.artifact.metadata.ArtifactMetadataSource</role>
          <field-name>metadata</field-name>
        </requirement>
        <requirement>
          <role>org.apache.maven.artifact.resolver.ArtifactResolver</role>
          <field-name>resolver</field-name>
        </requirement>
      </requirements>
    </mojo>
  </mojos>
  <dependencies>
    <dependency>
      <groupId>de.saumya.mojo</groupId>
      <artifactId>gem-maven-plugin</artifactId>
      <type>jar</type>
      <version>0.21.0</version>
    </dependency>
    <dependency>
      <groupId>de.saumya.mojo</groupId>
      <artifactId>jruby-maven-plugin</artifactId>
      <type>jar</type>
      <version>0.21.0</version>
    </dependency>
    <dependency>
      <groupId>ant</groupId>
      <artifactId>ant</artifactId>
      <type>jar</type>
      <version>1.6.2</version>
    </dependency>
    <dependency>
      <groupId>de.saumya.mojo</groupId>
      <artifactId>ruby-tools</artifactId>
      <type>jar</type>
      <version>0.2</version>
    </dependency>
    <dependency>
      <groupId>org.jruby</groupId>
      <artifactId>jruby-complete</artifactId>
      <type>jar</type>
      <version>1.5.1</version>
    </dependency>
    <dependency>
      <groupId>org.codehaus.plexus</groupId>
      <artifactId>plexus-velocity</artifactId>
      <type>jar</type>
      <version>1.1.8</version>
    </dependency>
    <dependency>
      <groupId>org.codehaus.plexus</groupId>
      <artifactId>plexus-container-default</artifactId>
      <type>jar</type>
      <version>1.0-alpha-9-stable-1</version>
    </dependency>
    <dependency>
      <groupId>org.codehaus.plexus</groupId>
      <artifactId>plexus-utils</artifactId>
      <type>jar</type>
      <version>2.0.4</version>
    </dependency>
    <dependency>
      <groupId>classworlds</groupId>
      <artifactId>classworlds</artifactId>
      <type>jar</type>
      <version>1.1-alpha-2</version>
    </dependency>
    <dependency>
      <groupId>commons-collections</groupId>
      <artifactId>commons-collections</artifactId>
      <type>jar</type>
      <version>3.1</version>
    </dependency>
    <dependency>
      <groupId>velocity</groupId>
      <artifactId>velocity</artifactId>
      <type>jar</type>
      <version>1.5</version>
    </dependency>
    <dependency>
      <groupId>commons-lang</groupId>
      <artifactId>commons-lang</artifactId>
      <type>jar</type>
      <version>2.1</version>
    </dependency>
    <dependency>
      <groupId>oro</groupId>
      <artifactId>oro</artifactId>
      <type>jar</type>
      <version>2.0.8</version>
    </dependency>
    <dependency>
      <groupId>org.codehaus.plexus</groupId>
      <artifactId>plexus-component-annotations</artifactId>
      <type>jar</type>
      <version>1.5.4</version>
    </dependency>
    <dependency>
      <groupId>org.codehaus.plexus</groupId>
      <artifactId>plexus-classworlds</artifactId>
      <type>jar</type>
      <version>2.2.3</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-model</artifactId>
      <type>jar</type>
      <version>3.0-beta-2</version>
    </dependency>
    <dependency>
      <groupId>org.codehaus.plexus</groupId>
      <artifactId>plexus-archiver</artifactId>
      <type>jar</type>
      <version>1.0</version>
    </dependency>
    <dependency>
      <groupId>org.codehaus.plexus</groupId>
      <artifactId>plexus-io</artifactId>
      <type>jar</type>
      <version>1.0</version>
    </dependency>
    <dependency>
      <groupId>org.yaml</groupId>
      <artifactId>snakeyaml</artifactId>
      <type>jar</type>
      <version>1.6</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-plugin-api</artifactId>
      <type>jar</type>
      <version>3.0-beta-2</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-artifact</artifactId>
      <type>jar</type>
      <version>3.0-beta-2</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-core</artifactId>
      <type>jar</type>
      <version>3.0-beta-2</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-settings</artifactId>
      <type>jar</type>
      <version>3.0-beta-2</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-settings-builder</artifactId>
      <type>jar</type>
      <version>3.0-beta-2</version>
    </dependency>
    <dependency>
      <groupId>org.codehaus.plexus</groupId>
      <artifactId>plexus-interpolation</artifactId>
      <type>jar</type>
      <version>1.11</version>
    </dependency>
    <dependency>
      <groupId>org.sonatype.plexus</groupId>
      <artifactId>plexus-sec-dispatcher</artifactId>
      <type>jar</type>
      <version>1.3</version>
    </dependency>
    <dependency>
      <groupId>org.sonatype.plexus</groupId>
      <artifactId>plexus-cipher</artifactId>
      <type>jar</type>
      <version>1.4</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-repository-metadata</artifactId>
      <type>jar</type>
      <version>3.0-beta-2</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-model-builder</artifactId>
      <type>jar</type>
      <version>3.0-beta-2</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-compat</artifactId>
      <type>jar</type>
      <version>3.0-beta-2</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven.wagon</groupId>
      <artifactId>wagon-provider-api</artifactId>
      <type>jar</type>
      <version>1.0-beta-6</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven.shared</groupId>
      <artifactId>file-management</artifactId>
      <type>jar</type>
      <version>1.2.1</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven.shared</groupId>
      <artifactId>maven-shared-io</artifactId>
      <type>jar</type>
      <version>1.1</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-artifact-manager</artifactId>
      <type>jar</type>
      <version>2.0.2</version>
    </dependency>
    <dependency>
      <groupId>de.saumya.mojo</groupId>
      <artifactId>rails-maven-archetype</artifactId>
      <type>jar</type>
      <version>0.21.0</version>
    </dependency>
  </dependencies>
</plugin>
New to GrepCode? Check out our FAQ X