Skip to content

extraneous semicolon in LGTM starter #51345

@hairmare

Description

@hairmare

Describe the bug

The LGTM starter seems to introduce a compile error

Expected behavior

It creates and builds a project.

Actual behavior

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.14.1:testCompile (default-testCompile) on project example: Compilation failure
[ERROR] ./src/test/java/org/example/SimpleTest.java:[3,62] extraneous semicolon
[ERROR] 
[ERROR] -> [Help 1]
[ERROR] 

How to Reproduce?

---
type: specs.openrewrite.org/v1beta/recipe
name: ch.rabe.labs.AddQuarkusLGTM
displayName: Add Quarkus LGTM dependency
recipeList:
  - org.openrewrite.maven.AddDependency:
      groupId: io.quarkus
      artifactId: quarkus-observability-devservices-lgtm
      scope: provided
      version: 3.30.1

Output of uname -a or ver

No response

Output of java -version

openjdk version "21.0.8" 2025-07-15 LTS OpenJDK Runtime Environment Temurin-21.0.8+9 (build 21.0.8+9-LTS) OpenJDK 64-Bit Server VM Temurin-21.0.8+9 (build 21.0.8+9-LTS, mixed mode, sharing)

Quarkus version or git rev

3.30.1

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

No response

Additional information

I'm going to bed now, I'll provide a fix tomorrow unless someone beats me to removing ;; in the codepaths from this search

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions