Class PomMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
de.saumya.mojo.jruby.AbstractJRubyMojo
de.saumya.mojo.gem.PomMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="pom", requiresProject=false) public class PomMojo extends AbstractJRubyMojo
goal to converts a gemspec file into pom.xml.
  • Field Details

    • plugin

      @Parameter(defaultValue="${plugin}", readonly=true) org.apache.maven.plugin.descriptor.PluginDescriptor plugin
    • pom

      @Parameter(property="pom", defaultValue="pom.xml") protected File pom
      the pom file to generate
    • force

      @Parameter(property="pom.force", defaultValue="false") protected boolean force
      force overwrite of an existing pom
    • tmpPom

      @Parameter(defaultValue="${project.build.directory}/pom.xml") protected File tmpPom
      temporary store generated pom.
    • gemspec

      @Parameter(property="pom.gemspec", defaultValue="gemspec") protected File gemspec
      use a gemspec file to generate a pom
    • gemfile

      @Parameter(property="pom.gemfile", defaultValue="Gemfile") protected File gemfile
      use Gemfile to generate a pom
    • skipGeneration

      @Parameter private boolean skipGeneration
  • Constructor Details

    • PomMojo

      public PomMojo()
  • Method Details