JMH: Add Maven Wrapper integration

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Withdrawn
    • Priority: P4
    • None
    • Affects Version/s: None
    • Component/s: tools
    • None
    • jmh

      Currently the JMH build requires the host system to have Maven installed. Using a script-only[1] Maven Wrapper[2], this requirement can be removed and JMH can provide Maven version of its preference out-of-the-box. This effectively means one less requirement for users who want to build the sources.

      This enhancement was first pitched in the `jmh-dev` mailing list[3][4].

      [1] A script-only Maven Wrapper is composed of two script files (`/mvnw` for Linux and macOS, `mvnw.bat` for Windows) and a configuration file (`.mvn/wrapper/maven-wrapper.properties`). All files are licensed with Apache License, Version 2.0.
      [2] https://maven.apache.org/wrapper/
      [3] https://mail.openjdk.org/pipermail/jmh-dev/2025-February/004096.html
      [4] https://mail.openjdk.org/pipermail/jmh-dev/2025-March/004097.html

            Assignee:
            Volkan Yazici
            Reporter:
            Volkan Yazici
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: