Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-143

drools-maven-plugin-example is not built as part of the parent build. It's broken.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 6.0.0.Beta4
    • 6.0.0.Beta2
    • None
    • Hide

      Obtain the latest source code (master).
      cd drools-maven-plugin-example
      mvn install
      Observe the maven build error.

      Show
      Obtain the latest source code (master). cd drools-maven-plugin-example mvn install Observe the maven build error.

    Description

      Updating the src/main/resources/META-INF/kmodule.xml file to have a namespace declaration fixes the immediate error:

      <!-- Add xmlns attribute -->
      <kmodule xmlns="http://jboss.org/kie/6.0.0/kmodule">
      </kmodule>
      

      When that's done, a simple .jar file is produced. The .drl files are not compiled.

      There's no significant documentation for the drools-maven-plugin except for its precursor: http://passion.forco.de/content/maven-drools-plugin. It's not clear what the objectives of the plugin are.

      Attachments

        Activity

          People

            mfusco@redhat.com Mario Fusco
            daveboden David Boden (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: