Skip to content

Error: "Not found: millbuild" #6829

@sergey-morenets

Description

@sergey-morenets

Hi

We tried to migrate our multi-module Maven project to Mill and the migration was basically successful. However when we tried to build a project:

mill assembly

we got an error:

compile compiling 33 Scala sources to out/mill-build/compile.dest/classes ...
build.mill.yaml-68] [error] admin/package.mill.yaml:14:24
build.mill.yaml-68] trait package_ extends millbuild.ProjectBaseModule, mill.javalib.errorprone.ErrorProneModule, AutoOverride[_root_.mill.T[?]] {
build.mill.yaml-68]                        ^^^^^^^^^
build.mill.yaml-68] Not found: millbuild

I guess the error comes the first line of package.mill.yaml for this module:

extends: [millbuild.ProjectBaseModule, mill.javalib.errorprone.ErrorProneModule]

Because only there millbuild namespace is used.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions