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

Cannot configure kie-maven-plugin to read the rules from a different folder

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • 7.31.0.Final, 7.32.0.Final, 7.33.0.Final, 7.34.0.Final, 7.35.0.Final, 7.36.0.Final, 7.37.0.Final, 7.38.0.Final, 7.39.0.Final, 7.40.0.Final
    • executable model
    • None
    • Hide

      Save the DRL files in a different location other than java/src/resources folder. 

      Show
      Save the DRL files in a different location other than java/src/resources folder. 
    • NEW
    • NEW

    Description

      kie-maven-plugin ignores sourceFolder configuration and there is no other option to set the rules directory. It always looks for rules in the project's folder.

      In our case the DRL files are being generated, so the plugin needs to look for them in the generated-resources folder in the target directory.

      We can workaround this using .gitignore and configure maven-clean to clean the folder inside the project structure, but it's quite messy.

       

       

      Attachments

        1. image.png
          image.png
          0.8 kB
        2. image.jpeg
          image.jpeg
          0.8 kB

        Activity

          People

            lmolteni@redhat.com Luca Molteni
            cchiru Ciprian Chiru (Inactive)
            Votes:
            9 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: