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

Kogito Quarkus Archetype pom properties expanded too early

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 1.4.0.Final
    • 1.3.0.Final
    • Core Engine
    • None
    • False
    • False
    • Low
    • kogito-quarkus-archetype was fixed so that it does not expand properties earlier than during the build of the generated project.
    • Hide

      mvn archetype:generate

      Show
      mvn archetype:generate
    • ---
    • ---
    • 2021 Week 07-09 (from Feb 15)

    Description

      The pom.xml archetype-resource within kogito-quarkus-archetype is suffering from early expansion of maven properties referenced in the archetyp-resource.

      Problematic are system properties passed to surefire and failsafe plugins:

      <maven.home>${maven.home}</maven.home>
      <native.image.path>${project.build.directory}/${project.build.finalName}-runner</native.image.path>
      

      The dollar signs need to be escaped for maven.home and project.build.directory cause it's build env specific and resulting in non-valid generated project.

      Attachments

        Activity

          People

            jstastny@redhat.com Jan Stastny
            jstastny@redhat.com Jan Stastny
            Marian Macik Marian Macik
            Marian Macik Marian Macik
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: