From 123b998e331a15235c85f83a3703d8e8ce19cbce Mon Sep 17 00:00:00 2001 From: Vadzim Hushchanskou Date: Tue, 30 Jan 2024 18:17:28 +0300 Subject: [PATCH 1/2] Update Agent versions --- agent-allure-jbehave/CHANGELOG.md | 2 ++ agent-allure-jbehave/build.gradle | 6 +++++- .../reportportal/jbehave/AllureAwareStepStoryReporter.java | 4 ++++ 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/agent-allure-jbehave/CHANGELOG.md b/agent-allure-jbehave/CHANGELOG.md index 4a7261f..a79d09d 100644 --- a/agent-allure-jbehave/CHANGELOG.md +++ b/agent-allure-jbehave/CHANGELOG.md @@ -1,6 +1,8 @@ # Changelog ## [Unreleased] +### Changed +- Agent version updated on [5.3.0](https://github.com/reportportal/agent-java-jbehave/releases/tag/5.3.0), by @HardNorth ## [5.1.1] ### Changed diff --git a/agent-allure-jbehave/build.gradle b/agent-allure-jbehave/build.gradle index dea5e6f..1d8ec7c 100644 --- a/agent-allure-jbehave/build.gradle +++ b/agent-allure-jbehave/build.gradle @@ -18,5 +18,9 @@ sourceCompatibility = JavaVersion.VERSION_1_8 targetCompatibility = JavaVersion.VERSION_1_8 dependencies { - api 'com.epam.reportportal:agent-java-jbehave:5.2.2' + api 'com.epam.reportportal:agent-java-jbehave:5.3.0' + implementation ('org.jbehave:jbehave-core:5.2.0') { + exclude group: 'junit' + exclude group: 'org.junit.vintage' + } } diff --git a/agent-allure-jbehave/src/main/java/com/epam/reportportal/jbehave/AllureAwareStepStoryReporter.java b/agent-allure-jbehave/src/main/java/com/epam/reportportal/jbehave/AllureAwareStepStoryReporter.java index 1ae7a1d..1c9147e 100644 --- a/agent-allure-jbehave/src/main/java/com/epam/reportportal/jbehave/AllureAwareStepStoryReporter.java +++ b/agent-allure-jbehave/src/main/java/com/epam/reportportal/jbehave/AllureAwareStepStoryReporter.java @@ -37,6 +37,10 @@ import static com.epam.reportportal.jbehave.AllureAwareReporter.*; import static java.util.Optional.ofNullable; +/** + * @deprecated Use {@link AllureAwareScenarioStoryReporter}, since the semantic of this class is completely broken and will be removed, + */ +@Deprecated public class AllureAwareStepStoryReporter extends ReportPortalStepStoryReporter { private static final Map, String> DESCRIPTION_TRACKER = new ConcurrentHashMap<>(); From 0e81dc484d85d4e14f8b732302163a6ef515779c Mon Sep 17 00:00:00 2001 From: Vadzim Hushchanskou Date: Tue, 30 Jan 2024 18:20:36 +0300 Subject: [PATCH 2/2] Fix build --- agent-allure-jbehave/build.gradle | 2 ++ 1 file changed, 2 insertions(+) diff --git a/agent-allure-jbehave/build.gradle b/agent-allure-jbehave/build.gradle index 1d8ec7c..41386f5 100644 --- a/agent-allure-jbehave/build.gradle +++ b/agent-allure-jbehave/build.gradle @@ -23,4 +23,6 @@ dependencies { exclude group: 'junit' exclude group: 'org.junit.vintage' } + + testImplementation 'com.squareup.okhttp3:okhttp:4.12.0' }