Skip to content

Commit

Permalink
Merge pull request #109 from AxonFramework/dependency-upgrade/jobrunr-7
Browse files Browse the repository at this point in the history
Upgrade to JobRunr 7.2.2
  • Loading branch information
smcvb authored Sep 4, 2024
2 parents 1781fdc + 2145826 commit 6540147
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 7 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,15 @@ jobs:
if: ${{ !matrix.sonar-enabled }}
run: |
./mvnw -B -U -Dstyle.color=always clean verify
env:
JOBRUNR_PRO_LICENSE: ${{ secrets.JOB_RUNR_PRO_LICENSE }}

- name: Build with Coverage reports
if: matrix.sonar-enabled
run: |
./mvnw -B -U -Dstyle.color=always -Dcoverage clean verify
env:
JOBRUNR_PRO_LICENSE: ${{ secrets.JOB_RUNR_PRO_LICENSE }}

- name: Sonar Analysis
if: matrix.sonar-enabled
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/pullrequest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD

- name: Set JobRunrPro credentials
- name: Set Maven server credentials
uses: s4u/[email protected]
with:
servers: |
Expand All @@ -46,11 +46,15 @@ jobs:
if: ${{ !matrix.sonar-enabled }}
run: |
./mvnw -B -U -Dstyle.color=always clean verify
env:
JOBRUNR_PRO_LICENSE: ${{ secrets.JOB_RUNR_PRO_LICENSE }}

- name: Build with Coverage reports
if: matrix.sonar-enabled
run: |
./mvnw -B -U -Dstyle.color=always -Possrh -Dcoverage clean verify
env:
JOBRUNR_PRO_LICENSE: ${{ secrets.JOB_RUNR_PRO_LICENSE }}

- name: Sonar Analysis
if: ${{ success() && matrix.sonar-enabled && github.event.pull_request.head.repo.full_name == github.repository }}
Expand Down
2 changes: 1 addition & 1 deletion jobrunrpro-spring-boot-3-integrationtests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<packaging>jar</packaging>

<properties>
<jobrunr.version>6.0.0</jobrunr.version>
<jobrunr.version>7.2.2</jobrunr.version>
<axon.version>4.10.0</axon.version>
<jococo.version>0.8.11</jococo.version>
<testcontainers.version>1.20.1</testcontainers.version>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2010-2023. Axon Framework
* Copyright (c) 2010-2024. Axon Framework
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -25,7 +25,7 @@
import java.util.List;

import static org.jobrunr.storage.JobSearchRequestBuilder.aJobSearchRequest;
import static org.jobrunr.storage.PageRequest.ascOnUpdatedAt;
import static org.jobrunr.storage.Paging.OffsetBasedPage.ascOnUpdatedAt;

/**
* Utility methods specifically for JobRunr Pro
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2010-2023. Axon Framework
* Copyright (c) 2010-2024. Axon Framework
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -24,8 +24,8 @@
import org.jobrunr.scheduling.JobScheduler;
import org.jobrunr.storage.JobSearchRequest;
import org.jobrunr.storage.Page;
import org.jobrunr.storage.PageRequest;
import org.jobrunr.storage.StorageProvider;
import org.jobrunr.storage.navigation.PageRequest;
import org.junit.jupiter.api.*;

import static org.junit.jupiter.api.Assertions.*;
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
</sonar.coverage.jacoco.xmlReportPaths>

<axon.version>4.10.0</axon.version>
<jobrunr.version>6.3.5</jobrunr.version>
<jobrunr.version>7.2.2</jobrunr.version>

<spring.version>5.3.39</spring.version>
<spring.boot.version>2.7.18</spring.boot.version><!-- Don't upgrade due to JDK8 -->
Expand Down

0 comments on commit 6540147

Please sign in to comment.