Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,10 @@ pre-commit run --all-files

### Publishing JMH Fork

The JMH fork uses versioning scheme `1.37.0-codspeed.N`. When updating versions:
The JMH fork is published under group ID `io.codspeed.jmh`. When updating versions:

```bash
cd jmh-fork && mvn versions:set -DnewVersion=1.37.0-codspeed.2
cd jmh-fork && mvn versions:set -DnewVersion=x.y.z
```

Then update the version reference in root `build.gradle.kts`.
Expand Down Expand Up @@ -111,7 +111,7 @@ The repository combines Maven and Gradle via Gradle's composite build feature:
## Modifying JMH Fork

1. Make changes in `jmh-fork/`
2. Bump version: `cd jmh-fork && mvn versions:set -DnewVersion=X.Y.Z-codspeed.N`
2. Bump version: `cd jmh-fork && mvn versions:set -DnewVersion=X.Y.Z`
3. Publish locally: `cd jmh-fork && mvn clean install -DskipTests -q`
4. Update version reference in root `build.gradle.kts` if needed
5. Test both Gradle and Maven examples to verify compatibility
Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

## Bumping the JMH fork version

The JMH fork uses a versioning scheme like `1.37.0-codspeed.N`. To bump the version across all modules:
The JMH fork is published under group ID `io.codspeed.jmh`. To bump the version across all modules:

```bash
cd jmh-fork && mvn versions:set -DnewVersion=1.37.0-codspeed.2
cd jmh-fork && mvn versions:set -DnewVersion=x.y.z
```

This updates all `pom.xml` files in the multi-module project. After bumping, also update the version reference in `build.gradle.kts`.
2 changes: 1 addition & 1 deletion examples/example-gradle/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ group = "io.codspeed"
version = "1.0-SNAPSHOT"

jmh {
jmhVersion.set("1.37.0-codspeed.1")
jmhVersion.set("0.1.0")
}

sourceSets {
Expand Down
6 changes: 3 additions & 3 deletions examples/example-maven/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,17 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>21</maven.compiler.source>
<maven.compiler.target>21</maven.compiler.target>
<jmh.version>1.37.0-codspeed.1</jmh.version>
<jmh.version>0.1.0</jmh.version>
</properties>

<dependencies>
<dependency>
<groupId>org.openjdk.jmh</groupId>
<groupId>io.codspeed.jmh</groupId>
<artifactId>jmh-core</artifactId>
<version>${jmh.version}</version>
</dependency>
<dependency>
<groupId>org.openjdk.jmh</groupId>
<groupId>io.codspeed.jmh</groupId>
<artifactId>jmh-generator-annprocess</artifactId>
<version>${jmh.version}</version>
<scope>provided</scope>
Expand Down
4 changes: 2 additions & 2 deletions jmh-fork/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ subprojects {
apply(plugin = "java-library")
apply(plugin = "maven-publish")

group = "org.openjdk.jmh"
version = "1.37.0-codspeed.1"
group = "io.codspeed.jmh"
version = "0.1.0"

repositories {
mavenCentral()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>org.openjdk.jmh</groupId>
<groupId>io.codspeed.jmh</groupId>
<artifactId>jmh-archetypes</artifactId>
<version>1.37.0-codspeed.1</version>
<version>0.1.0</version>
</parent>

<artifactId>jmh-groovy-benchmark-archetype</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ THE POSSIBILITY OF SUCH DAMAGE.

<dependencies>
<dependency>
<groupId>org.openjdk.jmh</groupId>
<groupId>io.codspeed.jmh</groupId>
<artifactId>jmh-core</artifactId>
<version>\${jmh.version}</version>
</dependency>
Expand Down Expand Up @@ -168,7 +168,7 @@ THE POSSIBILITY OF SUCH DAMAGE.
</executions>
<dependencies>
<dependency>
<groupId>org.openjdk.jmh</groupId>
<groupId>io.codspeed.jmh</groupId>
<artifactId>jmh-generator-bytecode</artifactId>
<version>\${jmh.version}</version>
</dependency>
Expand Down
4 changes: 2 additions & 2 deletions jmh-fork/jmh-archetypes/jmh-java-benchmark-archetype/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ questions.
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>org.openjdk.jmh</groupId>
<groupId>io.codspeed.jmh</groupId>
<artifactId>jmh-archetypes</artifactId>
<version>1.37.0-codspeed.1</version>
<version>0.1.0</version>
</parent>

<artifactId>jmh-java-benchmark-archetype</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@ THE POSSIBILITY OF SUCH DAMAGE.

<dependencies>
<dependency>
<groupId>org.openjdk.jmh</groupId>
<groupId>io.codspeed.jmh</groupId>
<artifactId>jmh-core</artifactId>
<version>\${jmh.version}</version>
</dependency>
<dependency>
<groupId>org.openjdk.jmh</groupId>
<groupId>io.codspeed.jmh</groupId>
<artifactId>jmh-generator-annprocess</artifactId>
<version>\${jmh.version}</version>
<scope>provided</scope>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>org.openjdk.jmh</groupId>
<groupId>io.codspeed.jmh</groupId>
<artifactId>jmh-archetypes</artifactId>
<version>1.37.0-codspeed.1</version>
<version>0.1.0</version>
</parent>

<artifactId>jmh-kotlin-benchmark-archetype</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ THE POSSIBILITY OF SUCH DAMAGE.

<dependencies>
<dependency>
<groupId>org.openjdk.jmh</groupId>
<groupId>io.codspeed.jmh</groupId>
<artifactId>jmh-core</artifactId>
<version>\${jmh.version}</version>
</dependency>
Expand Down Expand Up @@ -157,7 +157,7 @@ THE POSSIBILITY OF SUCH DAMAGE.
</executions>
<dependencies>
<dependency>
<groupId>org.openjdk.jmh</groupId>
<groupId>io.codspeed.jmh</groupId>
<artifactId>jmh-generator-bytecode</artifactId>
<version>\${jmh.version}</version>
</dependency>
Expand Down
4 changes: 2 additions & 2 deletions jmh-fork/jmh-archetypes/jmh-scala-benchmark-archetype/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>org.openjdk.jmh</groupId>
<groupId>io.codspeed.jmh</groupId>
<artifactId>jmh-archetypes</artifactId>
<version>1.37.0-codspeed.1</version>
<version>0.1.0</version>
</parent>

<artifactId>jmh-scala-benchmark-archetype</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ THE POSSIBILITY OF SUCH DAMAGE.

<dependencies>
<dependency>
<groupId>org.openjdk.jmh</groupId>
<groupId>io.codspeed.jmh</groupId>
<artifactId>jmh-core</artifactId>
<version>\${jmh.version}</version>
</dependency>
Expand Down Expand Up @@ -174,7 +174,7 @@ THE POSSIBILITY OF SUCH DAMAGE.
</executions>
<dependencies>
<dependency>
<groupId>org.openjdk.jmh</groupId>
<groupId>io.codspeed.jmh</groupId>
<artifactId>jmh-generator-bytecode</artifactId>
<version>\${jmh.version}</version>
</dependency>
Expand Down
4 changes: 2 additions & 2 deletions jmh-fork/jmh-archetypes/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ questions.
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>org.openjdk.jmh</groupId>
<groupId>io.codspeed.jmh</groupId>
<artifactId>jmh-parent</artifactId>
<version>1.37.0-codspeed.1</version>
<version>0.1.0</version>
</parent>

<name>JMH Archetypes</name>
Expand Down
8 changes: 4 additions & 4 deletions jmh-fork/jmh-core-benchmarks/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ questions.
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>org.openjdk.jmh</groupId>
<groupId>io.codspeed.jmh</groupId>
<artifactId>jmh-parent</artifactId>
<version>1.37.0-codspeed.1</version>
<version>0.1.0</version>
</parent>

<name>JMH Core Benchmarks</name>
Expand All @@ -45,12 +45,12 @@ questions.

<dependencies>
<dependency>
<groupId>org.openjdk.jmh</groupId>
<groupId>io.codspeed.jmh</groupId>
<artifactId>jmh-core</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.openjdk.jmh</groupId>
<groupId>io.codspeed.jmh</groupId>
<artifactId>jmh-generator-annprocess</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
Expand Down
12 changes: 6 additions & 6 deletions jmh-fork/jmh-core-ct/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ questions.
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>org.openjdk.jmh</groupId>
<groupId>io.codspeed.jmh</groupId>
<artifactId>jmh-parent</artifactId>
<version>1.37.0-codspeed.1</version>
<version>0.1.0</version>
</parent>

<name>JMH Core Compilation Tests</name>
Expand All @@ -45,22 +45,22 @@ questions.

<dependencies>
<dependency>
<groupId>org.openjdk.jmh</groupId>
<groupId>io.codspeed.jmh</groupId>
<artifactId>jmh-core</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.openjdk.jmh</groupId>
<groupId>io.codspeed.jmh</groupId>
<artifactId>jmh-generator-annprocess</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.openjdk.jmh</groupId>
<groupId>io.codspeed.jmh</groupId>
<artifactId>jmh-generator-reflection</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.openjdk.jmh</groupId>
<groupId>io.codspeed.jmh</groupId>
<artifactId>jmh-generator-asm</artifactId>
<version>${project.version}</version>
</dependency>
Expand Down
18 changes: 9 additions & 9 deletions jmh-fork/jmh-core-it/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ questions.
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>org.openjdk.jmh</groupId>
<groupId>io.codspeed.jmh</groupId>
<artifactId>jmh-parent</artifactId>
<version>1.37.0-codspeed.1</version>
<version>0.1.0</version>
</parent>

<name>JMH Core Integration Tests</name>
Expand All @@ -45,7 +45,7 @@ questions.

<dependencies>
<dependency>
<groupId>org.openjdk.jmh</groupId>
<groupId>io.codspeed.jmh</groupId>
<artifactId>jmh-core</artifactId>
<version>${project.version}</version>
</dependency>
Expand Down Expand Up @@ -107,7 +107,7 @@ questions.
</properties>
<dependencies>
<dependency>
<groupId>org.openjdk.jmh</groupId>
<groupId>io.codspeed.jmh</groupId>
<artifactId>jmh-generator-annprocess</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
Expand All @@ -133,7 +133,7 @@ questions.
</properties>
<dependencies>
<dependency>
<groupId>org.openjdk.jmh</groupId>
<groupId>io.codspeed.jmh</groupId>
<artifactId>jmh-generator-annprocess</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
Expand Down Expand Up @@ -163,7 +163,7 @@ questions.
</properties>
<dependencies>
<dependency>
<groupId>org.openjdk.jmh</groupId>
<groupId>io.codspeed.jmh</groupId>
<artifactId>jmh-generator-annprocess</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
Expand Down Expand Up @@ -193,7 +193,7 @@ questions.
</properties>
<dependencies>
<dependency>
<groupId>org.openjdk.jmh</groupId>
<groupId>io.codspeed.jmh</groupId>
<artifactId>jmh-generator-annprocess</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
Expand Down Expand Up @@ -223,7 +223,7 @@ questions.
</properties>
<dependencies>
<dependency>
<groupId>org.openjdk.jmh</groupId>
<groupId>io.codspeed.jmh</groupId>
<artifactId>jmh-generator-bytecode</artifactId>
<version>${project.version}</version>
</dependency>
Expand Down Expand Up @@ -307,7 +307,7 @@ questions.
</properties>
<dependencies>
<dependency>
<groupId>org.openjdk.jmh</groupId>
<groupId>io.codspeed.jmh</groupId>
<artifactId>jmh-generator-bytecode</artifactId>
<version>${project.version}</version>
</dependency>
Expand Down
4 changes: 2 additions & 2 deletions jmh-fork/jmh-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ questions.
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>org.openjdk.jmh</groupId>
<groupId>io.codspeed.jmh</groupId>
<artifactId>jmh-parent</artifactId>
<version>1.37.0-codspeed.1</version>
<version>0.1.0</version>
</parent>

<name>JMH Core</name>
Expand Down
6 changes: 3 additions & 3 deletions jmh-fork/jmh-generator-annprocess/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ questions.
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>org.openjdk.jmh</groupId>
<groupId>io.codspeed.jmh</groupId>
<artifactId>jmh-parent</artifactId>
<version>1.37.0-codspeed.1</version>
<version>0.1.0</version>
</parent>

<name>JMH Generators: Annotation Processors</name>
Expand All @@ -44,7 +44,7 @@ questions.

<dependencies>
<dependency>
<groupId>org.openjdk.jmh</groupId>
<groupId>io.codspeed.jmh</groupId>
<artifactId>jmh-core</artifactId>
<version>${project.version}</version>
</dependency>
Expand Down
Loading
Loading