[jboss-jira] [JBoss JIRA] Issue Comment Edited: (JBRULES-1273) Create a maven2 plugin to allow rulebase compilation and serialization during a build (similar to the drools-ant task)
Ansgar Konermann (JIRA)
jira-events at lists.jboss.org
Sat Jan 8 22:43:50 EST 2011
[ https://issues.jboss.org/browse/JBRULES-1273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12574253#comment-12574253 ]
Ansgar Konermann edited comment on JBRULES-1273 at 1/8/11 10:43 PM:
--------------------------------------------------------------------
Source code of the actual MOJO from the sakai project (second link) is here:
https://github.com/sakaiproject/nakamura/blob/master/sandbox/drools/drools-maven-plugin/src/main/java/org/sakaiproject/nakamura/maven/DroolsCompilerMojo.java
Lean, straightforward implementation. Supports drl, xml and rf files. Single source file for MOJO. Could not find any maven plugin descriptors in the source code.
First link from above belongs to this project: http://www.javaforge.com/project/DroolsHelp which is owned by Mathieu Boretti.
Scope of this project is broader, adds custom drools<->java integration layer (annotations, spring), bytecode instrumentation.
Source code of plugin is available via download of source code JAR: http://www.javaforge.com/displayDocument/drools5-integration-helper-maven-plugin-1.3.0-sources.jar?doc_id=76221
This one is with an extensive plugin descriptor, implementation is slightly more complex, but still easily comprehensible. Includes HelpMojo capable of writing terse usage instructions to the maven log/console. Includes DroolsReport mojo (reporter plugin), integrating the output of plugin run into site.
Third variant (attached to this ticket) is comparable to DroolsHelp project in complexity. It's the only one with support for JSR-94 AFAICS.
was (Author: akonermann):
Source code of the actual MOJO from the sakai project (second link) is here:
https://github.com/sakaiproject/nakamura/blob/master/sandbox/drools/drools-maven-plugin/src/main/java/org/sakaiproject/nakamura/maven/DroolsCompilerMojo.java
Lean, straightforward implementation. Supports drl, xml and rf files. Single source file for MOJO. Could not find any maven plugin descriptors in the source code.
First link from above belongs to this project: http://www.javaforge.com/project/DroolsHelp which is owned by Mathieu Boretti.
Scope of this project is broader, adds custom drools<->java integration layer (annotations, spring), bytecode instrumentation.
Source code of plugin is available via download of source code JAR: http://www.javaforge.com/displayDocument/drools5-integration-helper-maven-plugin-1.3.0-sources.jar?doc_id=76221
This one is with an extensive plugin descriptor, implementation is slightly more complex, but still easily comprehensible. Includes HelpMojo capable of writing terse usage instructions to the maven log/console. Includes DroolsReport mojo (reporter plugin), integrating the output of plugin run into site.
Third variant (attached to this ticket) is comparable to DroolsHelp project in complexity. It's the only one with support for JSR-94 AFAICS.
> Create a maven2 plugin to allow rulebase compilation and serialization during a build (similar to the drools-ant task)
> ----------------------------------------------------------------------------------------------------------------------
>
> Key: JBRULES-1273
> URL: https://issues.jboss.org/browse/JBRULES-1273
> Project: Drools
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Reporter: Rainer Langbehn
> Assignee: Geoffrey De Smet
> Attachments: maven-drools-plugins.zip
>
>
> I already created the requested maven2 plugin and i would like to contribute it.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list