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

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

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              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

              Dates

                Created:
                Updated:
                Resolved: