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.

api-guardian "soft dependency"

See original GitHub issue

When using the library without depending on org.apiguardian:apiguardian-api, on compilation several warnings will occur:

unknown enum constant Status.STABLE
unknown enum constant Status.MAINTAINED

Description

The api-guardian (introduced in #58) isn’t listed as mandatory dependency for the library. Actually, it isn’t even mentioned in the README. So, when using the lib as documented one will encounter said warnings on compilation.

Expected Behavior

Either make the dependency mandatory, or at least mention it in the README.

Actual Behavior

Warnings will occur on compilation.

Your Environment

  • Version used: 0.26.0

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
whiskeysierracommented, Dec 15, 2021

@floriankoch0360 Care to create a PR to remove the specific scope for that dependency (implicitly making it compile)?

0reactions
TheFlow0360commented, Mar 2, 2022

since https://github.com/zalando/problem/pull/342 was merged, this can be closed now 👍🏻

Read more comments on GitHub >

github_iconTop Results From Across the Web

apiguardian-api : 1.1.0 - Maven Central Repository Search
org.apiguardian:apiguardian-api - @API Guardian.
Read more >
Download dependencies for java class string utils
Here you can download the dependencies for the java class string utils. ... URL http://www.sta-soft.com ... Dependencies apiguardian-api,
Read more >
Spring boot application fails to start with javax.validation ...
I have no idea what is causing this error. I even tried putting exclusions for javax.validations on multiple dependencies but nothing helped.
Read more >
com.github.zhycn » muyie-dependencies » 1.0.4 - Maven Repository
Repositories, Central. Ranking, #500588 in MvnRepository (See Top Artifacts). Vulnerabilities, Vulnerabilities from dependencies: CVE-2022-42004
Read more >
Chapter 9. Deprecated functionality Red Hat Enterprise Linux 8
In RHEL 8, the Soft-RoCE feature is available as an unsupported Technology ... gdb.i686 , were shipped due to a dependency problem in...
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