He-Pin opened a new pull request, #1113:
URL: https://github.com/apache/pekko-http/pull/1113

   ### Motivation
   
   `sbt clean` fails with `IllegalArgumentException: Cannot add dependency 
'org.apache.pekko#pekko-http-scalafix-rules_2.13;...' to configuration 
'scalafix' of module org.apache.pekko#pekko-http-docs_2.13;... because this 
configuration doesn't exist!`.
   
   The `docs` module disables `ScalafixPlugin` via 
`.disablePlugins(ScalafixPlugin)`, which means the `scalafix` Ivy configuration 
is never created. However, `.dependsOn(...)` still references 
`httpScalafixRules % ScalafixConfig`, causing Ivy to fail when resolving the 
dependency graph — even during `sbt clean` (which triggers `cleanIvy`).
   
   ### Modification
   
   Remove the unused `httpScalafixRules % ScalafixConfig` dependency from the 
`docs` module's `.dependsOn(...)`. The docs module does not use scalafix rules, 
so this dependency was a leftover from copy-pasted configuration.
   
   ### Result
   
   `sbt clean` no longer crashes on the docs module due to a missing Ivy 
configuration. The build graph resolves correctly.
   
   ### Tests
   
   Not run - build configuration only
   
   ### References
   
   Fixes #925


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to