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
12 changes: 11 additions & 1 deletion .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ concurrency:
permissions: {}

env:
MIMIR_VERSION: 0.11.2
# Keep in sync with mimir testing version in pom.xml
MIMIR_VERSION: 0.11.4
MIMIR_BASEDIR: ~/.mimir
MIMIR_LOCAL: ~/.mimir/local
MAVEN_OPTS: -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=./target/java_heapdump.hprof
Expand All @@ -53,6 +54,15 @@ jobs:
with:
persist-credentials: false

- name: Verify Mimir version alignment
shell: bash
run: |
POM_VERSION=$(grep -A2 'eu.maveniverse.maven.mimir' pom.xml | grep '<version>' | sed 's/.*<version>\(.*\)<\/version>.*/\1/')
if [ "$POM_VERSION" != "${{ env.MIMIR_VERSION }}" ]; then
echo "::error::MIMIR_VERSION (${{ env.MIMIR_VERSION }}) does not match pom.xml ($POM_VERSION) — update MIMIR_VERSION in this workflow"
exit 1
fi

- name: Prepare Mimir for Maven 3.x
shell: bash
run: |
Expand Down
3 changes: 2 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -690,10 +690,11 @@ under the License.
<artifactId>jmh-generator-annprocess</artifactId>
<version>${jmhVersion}</version>
</dependency>
<!-- Keep version in sync with MIMIR_VERSION in .github/workflows/maven.yml -->
<dependency>
<groupId>eu.maveniverse.maven.mimir</groupId>
<artifactId>testing</artifactId>
<version>0.11.2</version>
<version>0.11.4</version>
</dependency>
</dependencies>
<!--bootstrap-start-comment-->
Expand Down
Loading