Skip to content
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

Native Image Maven Plugin should include provided dependencies for testing #601

Open
graemerocher opened this issue Jun 11, 2024 · 1 comment · May be fixed by #714
Open

Native Image Maven Plugin should include provided dependencies for testing #601

graemerocher opened this issue Jun 11, 2024 · 1 comment · May be fixed by #714
Assignees
Labels
bug Something isn't working maven-plugin Related to Maven plugin

Comments

@graemerocher
Copy link

Currently provided scope dependencies are not included in the native image build for JUnit 5 tests. This is inconsistent with the way mvn test works.

To Reproduce

Add a provided scope dependencies then build native image

Expected behavior

All provided scope dependencies should be on the native image classpath for tests (but NOT the native image classpath for runtime)

@sbrannen
Copy link
Collaborator

sbrannen commented Mar 3, 2025

This appears to be a:

@dnestoro dnestoro linked a pull request Apr 4, 2025 that will close this issue
@dnestoro dnestoro self-assigned this Apr 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working maven-plugin Related to Maven plugin
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants