Uploaded image for project: 'Quarkus'
  1. Quarkus
  2. QUARKUS-7169

Introduce a quarkus Maven packaging and an assorted lifecycle

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Major Major
    • 3.33.0.GA
    • None
    • None
    • None

      This PR is related to this discussion: https://groups.google.com/g/quarkus-dev/c/xrtHruqIgRw .

      It introduces a `quarkus` packaging for Maven and provides a more appropriate lifecycle than the one we get with the default `jar` packaging: typically, we won't build an additional jar, that is not useful and actually takes quite some time to build.

      This PR also maps the `quarkus-maven-plugin` goals with the lifecycle so we can get rid of the `<executions>` configuration we had in the generated projects.

      Created as draft because I'm waiting for https://github.com/quarkusio/quarkus/pull/51579 . And also because I need to collect the potential failures from the full test suite.

      I split the commits between the implementation and test changes as otherwise it's kinda hard to understand the implementation in the middle of all the test changes.
      I also wanted to document the `components.xml` approach so there's a commit for it but it's gone in the subsequent commit.

      Note that I also have to run a few benchmarks with my large monolith and see how it goes as it was the initial goal to optimize the build of this project.

      Thanks to @aloubyansky and @cstamas for helping with this!

              guillaume.smet Guillaume Smet
              msochure@redhat.com Miroslav Sochurek
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: