-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
[Extension] setForcedDependencies not present inside ApplicationArchivesBuildItem #42188
Comments
When I add the dependency inside an application with <dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-config-yaml</artifactId>
</dependency> the application starts meanwhile I expect it to fail at startup. |
/cc @Sanne (core), @aloubyansky (core), @gsmet (core), @radcortez (core), @stuartwdouglas (core) |
|
That's actually the first part of it. The other thing to keep in mind is that |
Thanks, I was looking for it. |
Describe the bug
I would like to check the presence of a dependency using the ApplicationArchivesBuildItem.
However, the dependency is not found.
Expected behavior
The dependency should be found and validation should fail.
Actual behavior
The test fail in an unexpected manner and I expect it to catch a validation error..
Failing this way
How to Reproduce?
The processor definition
The test definition
Output of
uname -a
orver
Linux 2a02-8428-dff8-c601-234b-8c10-a3c4-2308.rev.sfr.net 6.9.6-200.fc40.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Jun 21 15:48:21 UTC 2024 x86_64 GNU/Linux
Output of
java -version
openjdk version "21.0.3" 2024-04-16
Quarkus version or git rev
3.12.3
Build tool (ie. output of
mvnw --version
orgradlew --version
)No response
Additional information
Maybe I am using the wrong build item ?
The text was updated successfully, but these errors were encountered: