org.qianalyze.maven
Class DroolsRulesMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.qianalyze.maven.DroolsRulesMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="compile",
      defaultPhase=COMPILE)
public class DroolsRulesMojo
extends org.apache.maven.plugin.AbstractMojo

Goal which Compiles drools rules into a package.


Field Summary
protected  List<String> compileClasspathElements
           
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
DroolsRulesMojo()
           
 
Method Summary
 void compileRules()
           
 void execute()
          Setup the options to pass to the code generator.
 
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

compileClasspathElements

protected List<String> compileClasspathElements
Constructor Detail

DroolsRulesMojo

public DroolsRulesMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException,
                    org.apache.maven.plugin.MojoFailureException
Setup the options to pass to the code generator.

Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException

compileRules

public void compileRules()
                  throws org.drools.compiler.DroolsParserException,
                         IOException
Throws:
org.drools.compiler.DroolsParserException
IOException


Copyright © 2013. All Rights Reserved.