gemelen opened a new pull request #30006:
URL: https://github.com/apache/spark/pull/30006


   ### What changes were proposed in this pull request?
   
   Rename manually added resolver for local Ivy repo.
   Create configuration to publish to local Ivy repo similar to Maven one.
   Use `publishLocal` to publish both to local Maven and Ivy repos instead
   of custom task `localPublish` (renamed from `publish-local` of sbt 0.13.x).
   
   ### Why are the changes needed?
   
   There are two resolvers (bootResolvers's "local" and manually added "local") 
that point to the same local Ivy repo, but have different configurations, which 
led to excessive warnings in logs and, potentially, resolution issues.
   Changeset fixes that case, observable in sbt output as 
   ```
   [warn] Multiple resolvers having different access mechanism configured with 
same name 'local'. To avoid conflict, Remove duplicate project resolvers 
(`resolvers`) or rename publishing resolve
   r (`publishTo`).
   ```
   
   ### Does this PR introduce _any_ user-facing change?
   
   No
   
   ### How was this patch tested?
   
   Executed `build/sbt`'s `publishLocal` task on individual module and on root 
project.
   


----------------------------------------------------------------
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.

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