This unfortunately did not help!
From my POM:
<distributionManagement>
<repository>
<id>repsy</id>
<name>repsy</name>
<url>https://repo.repsy.io/mvn/tombensve/natusoft-os</url>
</repository>
</distributionManagement>
<repositories>
<repository>
<id>repsy</id>
<name>My Private Maven Repository on Repsy</name>
<url>https://repo.repsy.io/mvn/tombensve/natusoft-os</url>
</repository>
</repositories>
[ERROR] Could not find artifact se.natusoft.tools.doc.markdowndoc:markdowndoc-
maven-plugin:jar:3.0.1 in central (https://repo.maven.apache.org/maven2)
Line from Repsy repo:
se.natusoft.tools.doc.markdowndoc:markdowndoc-maven-plugin:3.0.1
For some reason it is not looking in my repo which is specified in my pom as
seen above!
…
Aha! I solved it, now built every thing! The solution was to NOT BUILD IN
IDEA!!!
./mvnw clean install
In a terminal did the trick!
The Brains aren’t so Jet:y these days. Maybe they are doing too much.
Tommy Svensson
[email protected]
Från: Tommy Svensson <[email protected]>
Svara: Tommy Svensson <[email protected]>
Datum: 11 september 2024 at 18:16:40
Till: Maven Users List <[email protected]>, Tamás Cservenák
<[email protected]>
Ämne: Re: Incomprehensable error!!
Hello Tamas,
Thanks for the reply! It is this: https://repo.maven.apache.org/maven2 it
complains about not finding my binary in. And as I said, it never will.
But cleaning my local repo and rebuild sounds like a very good idea. I wish I
thought of that myself …
Tommy Svensson
[email protected]
Från: Tamás Cservenák <[email protected]>
Svara: Maven Users List <[email protected]>
Datum: 11 september 2024 at 18:03:08
Till: Maven Users List <[email protected]>
Ämne: Re: Incomprehensable error!!
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 <[email protected]> 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
> [email protected]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]