Hej Tommy, easy to check: nuke (or just mv repository repository-off temporarily) your local repository and rebuild with an empty local repository => it will fail.
This means that your build is incomplete regarding required repository definitions, it needs something that is not available from the repositories that are defined (in POM and/or in settings/profiles). HTH Tamas On Wed, Sep 11, 2024 at 5:56 PM Tommy Svensson <to...@natusoft.se> wrote: > > I out of the blue get this error when building: > > Artifact > se.natusoft.tools.codelicmgr:CodeLicenseManager-maven-plugin:pom:2.2.6 is > present in the local repository, but cached from a remote repository ID that > is unavailable in current build context, verifying that is downloadable from > [central (https://repo.maven.apache.org/maven2, default, releases)][INFO] > Artifact > se.natusoft.tools.codelicmgr:CodeLicenseManager-maven-plugin:pom:2.2.6 is > present in the local repository, but cached from a remote repository ID that > is unavailable in current build context, verifying that is downloadable from > [central (https://repo.maven.apache.org/maven2, default, releases)] > > What the message says is totally correct! The binary is not in maven central > and never will be!!! > > Why is that a problem ? Why should I now not be able to build locally due to > that ? > > It just makes no sense! > > I’ve been building this over and over without a problem and suddenly out of > the blue this happens, and makes it completely totally impossible for me to > do anything! > > The actual failed dependency is on my disk but still it has to go out and not > find it elsewere, which it never will … > > Maybe I’m standing in the wrong angle towards north when I’m building … > > > > Tommy Svensson > to...@natusoft.se > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org