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

exclusion when dependency on other projects #66

Open
DavidPerezIngeniero opened this issue Mar 26, 2015 · 0 comments
Open

exclusion when dependency on other projects #66

DavidPerezIngeniero opened this issue Mar 26, 2015 · 0 comments
Assignees

Comments

@DavidPerezIngeniero
Copy link

I have this schema:

lazy val C = project
    .dependsOn(A, B).settings(
                (projectID in A).value
                    exclude("commons-logging", "commons-logging"),
                (projectID in B).value
                    exclude("commons-logging", "commons-logging")
                    exclude("commons-codec", "commons-codec"),
                        ....
        )

But sbt-pack processes commons-logging, even though there is no other source of it. I know because I'm using the dependencyTree task from this plugin:

addSbtPlugin("com.gilt" % "sbt-dependency-graph-sugar" % "0.7.4")

I expect commons-logging not to be copied with the C/pack task.

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

2 participants