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

jbake-maven-plugin: No exclusions of direct dependencies supported in Maven #770

Open
kwin opened this issue Sep 24, 2022 · 0 comments
Open

Comments

@kwin
Copy link
Contributor

kwin commented Sep 24, 2022

According to https://github.com/jbake-org/jbake/tree/master/jbake-maven-plugin#dependencies

However, if you want your build to only download the bare minimum it needs, you can use to exclude the dependencies you don’t need.

Exclusions in Maven plugins can only be applied on transitive dependencies, not on direct ones (compare with https://issues.apache.org/jira/browse/MNG-6222), so it isn't possible to exclude any of the direct ones from https://github.com/jbake-org/jbake/blob/master/jbake-maven-plugin/build.gradle#L41-L51.

@kwin kwin changed the title jbake-maven-plugin: No exclusions of direct dependencies support in Maven jbake-maven-plugin: No exclusions of direct dependencies supported in Maven Sep 24, 2022
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

No branches or pull requests

1 participant