-
Notifications
You must be signed in to change notification settings - Fork 76
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
sbt-pack erroneously adds test dependencies to the delivery #142
Comments
I'm not sure why the projC is included, but as a workaround try |
I tried the suggestion, but it did not work out. According to the help comment for "packExclude", this only excludes the dependencies of "projC", not projC itself. |
No. packExclude removes both the dependencies of the specified project and the project itself. Check runtime:libraryDependencies of your project. |
Sorry, no, that is not what I see. projC is included, but the libraryDependencies of projC are not (!). |
ok.
|
I updated by dummy project to use sbt-pack 0.11. And yes, in my demo project projC has no dependency - adding further libraries and subprojects is not needed to demonstrate the problem I have. |
I have a multi-module project.
projA depends on projB.
projB now has a test-only dependency on projC (like 'projB % projC % "test->test" ').
When I pack projA, projC is also included. But the dependencies of projC are not included. This is wrong, as projC should not be included at all (and as projC's dependencies are missing, it would not work anyways).
Tested with version 0.10.0 and 0.11, both show the offending behavior.
The text was updated successfully, but these errors were encountered: