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
to...@natusoft.se



Från: Tommy Svensson <to...@natusoft.se>
Svara: Tommy Svensson <to...@natusoft.se>
Datum: 11 september 2024 at 18:16:40
Till: Maven Users List <users@maven.apache.org>, Tamás Cservenák 
<ta...@cservenak.net>
Ä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
to...@natusoft.se



Från: Tamás Cservenák <ta...@cservenak.net>
Svara: Maven Users List <users@maven.apache.org>
Datum: 11 september 2024 at 18:03:08
Till: Maven Users List <users@maven.apache.org>
Ä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 <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  

Reply via email to