Skip to content
Discussion options

You must be logged in to vote

When using bomMvnDeps with a locally published BOM, Mill needs the local repository explicitly configured. Add the Ivy local repo to your module's repositories:

object hail extends CrossSbtModule {
  override def repositories = super.repositories() ++ Seq(
    coursier.LocalRepositories.ivy2Local
  )
  
  override def bomMvnDeps = Seq(
    `pyspark-bom` :: crossSparkVersion
  )
}

Alternatively, publish using Maven format with LocalM2Publisher instead of publishLocal (Ivy format).

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@ehigham
Comment options

@ehigham
Comment options

Answer selected by ehigham
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants