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

Spring Boot Archetype is failing to add dependencies

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • 1.11.0.Final
    • 1.11.0.Final
    • Core Engine
    • None
    • False
    • False
    • Undefined
    • 2021 Week 31-33 (from Aug 2)

    Description

      The Maven Archetype Plugin is using a Groovy version that we don't have XML support, thus failing in raw environments with:

      ERROR:root:I0805 12:46:43.227505    5169 sti.go:711] [INFO] Executing META-INF/archetype-post-generate.groovy post-generation script
      ERROR:root:I0805 12:46:43.710320    5169 sti.go:711] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:3.2.0:generate (default-cli) on project standalone-pom: startup failed:
      ERROR:root:I0805 12:46:43.710371    5169 sti.go:711] [ERROR] Script1.groovy: 45: Ambiguous expression could be either a parameterless closure expression or an isolated open code block;
      ERROR:root:I0805 12:46:43.710429    5169 sti.go:711] [ERROR]    solution: Add an explicit closure parameter list, e.g. {it -> ...}, or force it to be treated as an open block by giving it a label, e.g. L:{...} @ line 45, column 9.
      ERROR:root:I0805 12:46:43.711725    5169 sti.go:711] [ERROR]            {
      ERROR:root:I0805 12:46:43.711756    5169 sti.go:711] [ERROR]            ^
      ERROR:root:I0805 12:46:43.711764    5169 sti.go:711] [ERROR]
      ERROR:root:I0805 12:46:43.711769    5169 sti.go:711] [ERROR] 1 error
      ERROR:root:I0805 12:46:43.711776    5169 sti.go:711] [ERROR] -> [Help 1] 

       

      See: 

      https://github.com/apache/maven-archetype/pull/58

      https://github.com/kiegroup/kogito-images/pull/631

       

      Attachments

        Issue Links

          Activity

            People

              rhn-support-zanini Ricardo Zanini Fernandes
              rhn-support-zanini Ricardo Zanini Fernandes
              Marian Macik Marian Macik
              Marian Macik Marian Macik
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: