-
Notifications
You must be signed in to change notification settings - Fork 14
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
Clarify (fix?) aggregation #65
Comments
Maybe you need to add |
Doesn't have effect, same with In fact, if you look at the projects created:
Which makes sense, because just calling aggregate doesn't create any rows, so the project is not registered at all (because it iterates over At the same time, you can't really synthesise project rows for root project from aggregatees, right? I think this needs to have 4 scenarios during projects generation:
WDYT? |
I am not 100% sure, but I have a feeling that adding this inconsistency would end up making the design weaker. |
At the moment the aggregation works differently for project matrices.
The most common situation I've seen this become a problem is running
sbt publish
and aggregated project failing withRepository for publishing is not specified
.workaround
To circumvent it, one must go a different route:
Which behaves as you expect:
With the downside of not being more verbose, of course
solution
TBD, I haven't looked at the code in detail yet to understand why this happens.
Suspect that this:
sbt-projectmatrix/src/main/scala/sbt/internal/ProjectMatrix.scala
Lines 249 to 250 in e46c2e3
is to blame.
Not sure what's the best way to solve this?
The text was updated successfully, but these errors were encountered: