Skip to content

Scaffolding Broken for quarkus-messaging-kafka #52578

@myfear

Description

@myfear

Describe the bug

When I scaffold the following project (with Java 25):

mvn io.quarkus:quarkus-maven-plugin:create \
  -DprojectGroupId=com.example \
  -DprojectArtifactId=review-workflow \
  -Dextensions="rest-jackson,messaging-kafka,quarkus-flow,quarkus-langchain4j-ollama"

The resulting artifacts show errors:
in src/main/java/com/example

  • MyMessagingApplication.java (The type Message is not generic; it cannot be parameterized with arguments )

in src/main/test/java/com/example

  • MyMessagingApplicationTest (The method toUpperCase(Message.of("bonjour")) is undefined for the type MyMessagingApplication)

Expected behavior

Code compiles.

Actual behavior

[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /Users/meisele/Projects/the-main-thread/review-workflow/src/main/java/com/example/MyMessagingApplication.java:[32,47] type com.example.Message does not take parameters
[ERROR] /Users/meisele/Projects/the-main-thread/review-workflow/src/main/java/com/example/MyMessagingApplication.java:[32,19] type com.example.Message does not take parameters
[INFO] 2 errors
[INFO] ----------

How to Reproduce?

See above. Scaffold project.

Output of uname -a or ver

Darwin Kernel Version 25.2.0: Tue Nov 18 21:09:56 PST 2025; root:xnu-12377.61.12~1/RELEASE_ARM64_T6041 arm64

Output of java -version

openjdk 25 2025-09-16 LTS OpenJDK Runtime Environment Temurin-25+36 (build 25+36-LTS)

Quarkus version or git rev

3.31.3

Build tool (ie. output of mvnw --version or gradlew --version)

Apache Maven 3.9.11 (3e54c93a704957b63ee3494413a2b544fd3d825b)

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions