question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Update JUnit dependencies in azure-identity

See original GitHub issue

Currently azure-identity has a dependency on junit 4.13-beta-3. This should move in line with the other client libraries that are configured with the following xml:

<dependency>
  <groupId>org.junit.jupiter</groupId>
  <artifactId>junit-jupiter-api</artifactId>
  <version>5.4.2</version> <!-- {x-version-update;org.junit.jupiter:junit-jupiter-api;external_dependency} -->
  <scope>test</scope>
</dependency>
<dependency>
  <groupId>org.junit.jupiter</groupId>
  <artifactId>junit-jupiter-engine</artifactId>
  <version>5.4.2</version> <!-- {x-version-update;org.junit.jupiter:junit-jupiter-engine;external_dependency} -->
  <scope>test</scope>
</dependency>

This should be copy/pasted in place of the existing JUnit 4 dependency. Additionally, it would be great if PowerMock could be removed, and mockito-junit-jupiter introduced instead. A good guide is available here.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
mclaycommented, Dec 16, 2019

Thanks @JonathanGiles please assign it to me and let me know the estimated due date.

0reactions
jianghaolucommented, Jul 7, 2020

We will be able to move to mockito once we remove powermock after #7641.

Read more comments on GitHub >

github_iconTop Results From Across the Web

azure-identity : 1.5.0 - Maven Central Repository Search
Microsoft Azure client library for Identity - This module contains client library for Microsoft Azure Identity.
Read more >
Version '2.9.4' of package 'jackson-databind' is not supported
I have tried excluding the jackson dependencies and tried adding ... {x-version-update;com.microsoft.azure:msal4j;external_dependency} -- ...
Read more >
Download azure-identity JAR file with all dependencies
Artifact azure-identity. Group com.azure. Version 1.7.1. Last update 18. November 2022. Organization not specified
Read more >
Azure SDK for Java (September 2021)
Dependency Upgrades. Upgrade to spring-boot-dependencies:2.5.3. ... Upgrade to Azure Identity 1.3.5. Upgrade to Azure Key ... Update to JUnit 5 from JUnit 4 ......
Read more >
JUnit Setup Maven - JUnit 4 and JUnit 5 - DigitalOcean
JUnit Maven Dependencies. If you want to use JUnit 4, then you need a single dependency as below. <dependency> <groupId>junit</ ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found