Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-6813

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.18.0.Final
    • 1.17.0.Final
    • Core Engine
    • None
    • 1
    • False
    • False
    • 2022 Week 08-10 (from Feb 21)

      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:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: