From 67f20daea0f385b6554b0d61412d9dbbd59d5845 Mon Sep 17 00:00:00 2001 From: Thomas Degueule Date: Sat, 6 Jun 2026 22:41:49 +0200 Subject: [PATCH] release: prepare version 0.6.0 --- cli/pom.xml | 4 ++-- .../java/io/github/alien/roseau/cli/ArtifactCoordinates.java | 3 ++- .../test/java/io/github/alien/roseau/cli/RoseauCLITest.java | 2 +- combinatorial/pom.xml | 4 ++-- core/pom.xml | 2 +- .../io/github/alien/roseau/diff/changes/BreakingChange.java | 1 + .../resources/api-extractor-tests/without-modules/v1/pom.xml | 2 +- .../resources/api-extractor-tests/without-modules/v2/pom.xml | 2 +- maven-plugin/pom.xml | 4 ++-- .../test/resources-its/invalid-maven-baseline-test/pom.xml | 2 +- .../test/resources-its/maven-report-directory-test/pom.xml | 2 +- .../src/test/resources-its/module-with-maven-baseline/pom.xml | 2 +- maven-plugin/src/test/resources-its/module-with-yaml/pom.xml | 2 +- .../src/test/resources-its/multi-module-paths-test/pom.xml | 2 +- maven-plugin/src/test/resources-its/no-baseline-test/pom.xml | 2 +- .../src/test/resources-its/pom-packaging-test/pom.xml | 2 +- .../src/test/resources-its/simple-module-test/pom.xml | 2 +- pom.xml | 2 +- 18 files changed, 22 insertions(+), 20 deletions(-) diff --git a/cli/pom.xml b/cli/pom.xml index 764b7e1b..4648636d 100644 --- a/cli/pom.xml +++ b/cli/pom.xml @@ -7,7 +7,7 @@ io.github.alien-tools roseau-parent - 0.6.0-SNAPSHOT + 0.6.0 roseau-cli @@ -115,7 +115,7 @@ io.github.alien-tools roseau-core - 0.6.0-SNAPSHOT + 0.6.0 info.picocli diff --git a/cli/src/main/java/io/github/alien/roseau/cli/ArtifactCoordinates.java b/cli/src/main/java/io/github/alien/roseau/cli/ArtifactCoordinates.java index a5f50dbd..081453ac 100644 --- a/cli/src/main/java/io/github/alien/roseau/cli/ArtifactCoordinates.java +++ b/cli/src/main/java/io/github/alien/roseau/cli/ArtifactCoordinates.java @@ -22,7 +22,8 @@ static ArtifactCoordinates parse(String coordinates) { case 4 -> new ArtifactCoordinates(parts[0], parts[1], parts[3], parts[2], null); case 5 -> new ArtifactCoordinates(parts[0], parts[1], parts[4], parts[2], parts[3]); default -> throw new IllegalArgumentException( - "Invalid Maven coordinates '%s': expected groupId:artifactId:version".formatted(coordinates)); + "Invalid Maven coordinates '%s': expected groupId:artifactId:version[:extension[:classifier]]" + .formatted(coordinates)); }; } } diff --git a/cli/src/test/java/io/github/alien/roseau/cli/RoseauCLITest.java b/cli/src/test/java/io/github/alien/roseau/cli/RoseauCLITest.java index fd132da9..83629b3d 100644 --- a/cli/src/test/java/io/github/alien/roseau/cli/RoseauCLITest.java +++ b/cli/src/test/java/io/github/alien/roseau/cli/RoseauCLITest.java @@ -44,7 +44,7 @@ void no_mode() { void version_uses_build_version() { var exitCode = cmd.execute("--version"); - assertThat(out.toString()).contains("Roseau 0.6.0-SNAPSHOT"); + assertThat(out.toString()).contains("Roseau " + RoseauCLI.VersionProvider.resolveVersion()); assertThat(exitCode).isEqualTo(ExitCode.SUCCESS.code()); } diff --git a/combinatorial/pom.xml b/combinatorial/pom.xml index 346e447d..5b07e9ff 100644 --- a/combinatorial/pom.xml +++ b/combinatorial/pom.xml @@ -7,7 +7,7 @@ io.github.alien-tools roseau-parent - 0.6.0-SNAPSHOT + 0.6.0 roseau-combinatorial @@ -74,7 +74,7 @@ io.github.alien-tools roseau-core - 0.6.0-SNAPSHOT + 0.6.0 org.javatuples diff --git a/core/pom.xml b/core/pom.xml index a660d661..3eb71d23 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -7,7 +7,7 @@ io.github.alien-tools roseau-parent - 0.6.0-SNAPSHOT + 0.6.0 roseau-core diff --git a/core/src/main/java/io/github/alien/roseau/diff/changes/BreakingChange.java b/core/src/main/java/io/github/alien/roseau/diff/changes/BreakingChange.java index f77e85bf..031a2f6b 100644 --- a/core/src/main/java/io/github/alien/roseau/diff/changes/BreakingChange.java +++ b/core/src/main/java/io/github/alien/roseau/diff/changes/BreakingChange.java @@ -15,6 +15,7 @@ * @param impactedSymbol The API symbol impacted by the breaking change * @param newSymbol If applicable, the corresponding symbol in the new version * @param details Additional details about the breaking change + * @param location The source location to report for the breaking change * @see BreakingChangeKind */ public record BreakingChange( diff --git a/core/src/test/resources/api-extractor-tests/without-modules/v1/pom.xml b/core/src/test/resources/api-extractor-tests/without-modules/v1/pom.xml index a4aa9ffe..9c5088e9 100644 --- a/core/src/test/resources/api-extractor-tests/without-modules/v1/pom.xml +++ b/core/src/test/resources/api-extractor-tests/without-modules/v1/pom.xml @@ -6,7 +6,7 @@ io.github.alien api-extractor-tests - 0.6.0-SNAPSHOT + 0.6.0 without-modules diff --git a/core/src/test/resources/api-extractor-tests/without-modules/v2/pom.xml b/core/src/test/resources/api-extractor-tests/without-modules/v2/pom.xml index a4aa9ffe..9c5088e9 100644 --- a/core/src/test/resources/api-extractor-tests/without-modules/v2/pom.xml +++ b/core/src/test/resources/api-extractor-tests/without-modules/v2/pom.xml @@ -6,7 +6,7 @@ io.github.alien api-extractor-tests - 0.6.0-SNAPSHOT + 0.6.0 without-modules diff --git a/maven-plugin/pom.xml b/maven-plugin/pom.xml index f36d9d01..6d022db8 100644 --- a/maven-plugin/pom.xml +++ b/maven-plugin/pom.xml @@ -7,7 +7,7 @@ io.github.alien-tools roseau-parent - 0.6.0-SNAPSHOT + 0.6.0 roseau-maven-plugin @@ -97,7 +97,7 @@ io.github.alien-tools roseau-core - 0.6.0-SNAPSHOT + 0.6.0 org.apache.maven diff --git a/maven-plugin/src/test/resources-its/invalid-maven-baseline-test/pom.xml b/maven-plugin/src/test/resources-its/invalid-maven-baseline-test/pom.xml index 7d3f66b2..4c408955 100644 --- a/maven-plugin/src/test/resources-its/invalid-maven-baseline-test/pom.xml +++ b/maven-plugin/src/test/resources-its/invalid-maven-baseline-test/pom.xml @@ -19,7 +19,7 @@ io.github.alien-tools roseau-maven-plugin - 0.6.0-SNAPSHOT + 0.6.0 diff --git a/maven-plugin/src/test/resources-its/maven-report-directory-test/pom.xml b/maven-plugin/src/test/resources-its/maven-report-directory-test/pom.xml index ee2c4ddb..e3825098 100644 --- a/maven-plugin/src/test/resources-its/maven-report-directory-test/pom.xml +++ b/maven-plugin/src/test/resources-its/maven-report-directory-test/pom.xml @@ -19,7 +19,7 @@ io.github.alien-tools roseau-maven-plugin - 0.6.0-SNAPSHOT + 0.6.0 diff --git a/maven-plugin/src/test/resources-its/module-with-maven-baseline/pom.xml b/maven-plugin/src/test/resources-its/module-with-maven-baseline/pom.xml index 5ab5ae7d..19b66a58 100644 --- a/maven-plugin/src/test/resources-its/module-with-maven-baseline/pom.xml +++ b/maven-plugin/src/test/resources-its/module-with-maven-baseline/pom.xml @@ -19,7 +19,7 @@ io.github.alien-tools roseau-maven-plugin - 0.6.0-SNAPSHOT + 0.6.0 diff --git a/maven-plugin/src/test/resources-its/module-with-yaml/pom.xml b/maven-plugin/src/test/resources-its/module-with-yaml/pom.xml index d6211f55..c42f68cd 100644 --- a/maven-plugin/src/test/resources-its/module-with-yaml/pom.xml +++ b/maven-plugin/src/test/resources-its/module-with-yaml/pom.xml @@ -19,7 +19,7 @@ io.github.alien-tools roseau-maven-plugin - 0.6.0-SNAPSHOT + 0.6.0 diff --git a/maven-plugin/src/test/resources-its/multi-module-paths-test/pom.xml b/maven-plugin/src/test/resources-its/multi-module-paths-test/pom.xml index d00edf48..60b3b8de 100644 --- a/maven-plugin/src/test/resources-its/multi-module-paths-test/pom.xml +++ b/maven-plugin/src/test/resources-its/multi-module-paths-test/pom.xml @@ -19,7 +19,7 @@ io.github.alien-tools roseau-maven-plugin - 0.6.0-SNAPSHOT + 0.6.0 diff --git a/maven-plugin/src/test/resources-its/no-baseline-test/pom.xml b/maven-plugin/src/test/resources-its/no-baseline-test/pom.xml index 64ca67fb..242bd50e 100644 --- a/maven-plugin/src/test/resources-its/no-baseline-test/pom.xml +++ b/maven-plugin/src/test/resources-its/no-baseline-test/pom.xml @@ -19,7 +19,7 @@ io.github.alien-tools roseau-maven-plugin - 0.6.0-SNAPSHOT + 0.6.0 diff --git a/maven-plugin/src/test/resources-its/pom-packaging-test/pom.xml b/maven-plugin/src/test/resources-its/pom-packaging-test/pom.xml index 26384851..62279568 100644 --- a/maven-plugin/src/test/resources-its/pom-packaging-test/pom.xml +++ b/maven-plugin/src/test/resources-its/pom-packaging-test/pom.xml @@ -14,7 +14,7 @@ io.github.alien-tools roseau-maven-plugin - 0.6.0-SNAPSHOT + 0.6.0 diff --git a/maven-plugin/src/test/resources-its/simple-module-test/pom.xml b/maven-plugin/src/test/resources-its/simple-module-test/pom.xml index 199d2904..1dde509b 100644 --- a/maven-plugin/src/test/resources-its/simple-module-test/pom.xml +++ b/maven-plugin/src/test/resources-its/simple-module-test/pom.xml @@ -19,7 +19,7 @@ io.github.alien-tools roseau-maven-plugin - 0.6.0-SNAPSHOT + 0.6.0 diff --git a/pom.xml b/pom.xml index 5107331c..5ac78f0c 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ io.github.alien-tools roseau-parent - 0.6.0-SNAPSHOT + 0.6.0 pom Roseau parent module Fast and accurate API breaking change analysis of Java libraries