Skip to content

define explicit compile scope for slf4j in it-tests #1280

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jul 10, 2025

Conversation

bisswanger
Copy link
Contributor

The slf4j dependency is required as a compile-level artifact for it.tests.
it.tests are bundled into a jar-with-dependencies and then passed to the testing service during a pipeline execution

We have seen that customers are updating slf4j versions and then the config from the main pom.xml may take effect and the slf4j classes excluded - this then leads to pipeline failures

<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<version>1.7.25</version>
<scope>test</scope>
</dependency>

Description

Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • I have signed the Adobe Open Source CLA.
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@bisswanger bisswanger changed the title mark explicit compile scope for slf4j in it-tests define explicit compile scope for slf4j in it-tests May 26, 2025
@bisswanger bisswanger requested a review from buuhuu May 27, 2025 14:46
@buuhuu buuhuu merged commit 582722e into develop Jul 10, 2025
21 of 26 checks passed
@buuhuu buuhuu deleted the it-test-dependencies branch July 10, 2025 09:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants