Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-4206

Kogito Spring Boot Archetype doesn't include any examples with grouping starter

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.13.0.GA
    • 7.12.0.GA
    • Kogito Core
    • None

      SB archetype doesn't include any example when no starter is specified. The issue is the following condition in the archetype-post-generate.groovy:

      def removeUnneededResources(String starters, String appPackage) {
          if (starters == "" || starters == null) {
              // in this case we will have all starters in the project, let's include everything in the final project
              return
          }
      // rest of the method
      

      By default, the starters property is set to "UNDEFINED" value which then causes that all examples are removed.

              mmacik@redhat.com Marian Macik
              mmacik@redhat.com Marian Macik
              Marian Macik Marian Macik
              Marian Macik Marian Macik
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: