Skip to content

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

Merged
buuhuu merged 3 commits intodevelopfrom
it-test-dependencies
Jul 10, 2025
Merged

define explicit compile scope for slf4j in it-tests#1280
buuhuu merged 3 commits intodevelopfrom
it-test-dependencies

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
@prateek1497 prateek1497 modified the milestones: 55, 56 Oct 8, 2025
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.

3 participants