Skip to content

Build Failure: Compilation Failure with Maven Compiler Plugin 3.10.1 #120

@islamsharaf

Description

@islamsharaf

I'm encountering a build failure while trying to integrate the Kill Bill Stripe plugin into my project. The error occurs during the compilation phase with the maven-compiler-plugin:3.10.1. Below is the relevant part of the build output:

[WARNING] Unable to autodetect 'javac' path, using 'javac' from the environment. [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 3.043 s [INFO] Finished at: 2024-07-18T19:30:04+03:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.10.1:compile (default-compile) on project stripe-plugin: Compilation failure -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

Environment:

Java version: tried 11, 17, 22
Maven version: 3.9.6
Operating System: Windows 11

Steps to Reproduce:

  1. Clone the repository.
  2. Run mvn clean install in the root directory.

Expected Behavior:
The build should complete successfully without any compilation errors.

Actual Behavior:
The build fails with a compilation failure error.

Any guidance or suggestions to resolve this error would be greatly appreciated.
Thank you for your assistance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions