Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7903960

JMH: Add Maven Wrapper integration

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • None
    • 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

            vyazici Volkan Yazici
            vyazici Volkan Yazici
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: