java - Maven stuck on old version of system dependency -


My Maven project has a reliance on non-Maven libraries, which is coded as a system dependency:

Dependency & Gt;> pre & lt; & Lt; Group & gt; Com.example & lt; / Group & gt; & Lt; ArtifactId & gt; Foo & lt; / ArtifactId> & Lt; Version & gt; $ {Foo.version} & lt; / Edition & gt; & Lt; Scope & gt; System & lt; / Scope & gt; & Lt; SystemPath & gt; $ {Foo.jar} & lt; / SystemPath & gt; & Lt; / Dependencies & gt;

Where the location of the library can be controlled through local properties:

   

Recently, the library closed version 2.1.1 on version 2.2.0, so I changed the property to foo.version , but stuck on Maven Older version:

  ... [Error] Build error [INFO] ------------------------- - ---------------------------------------------- [INFO] Artwork Failed to solve missing: ---------- 1) com.example: foo: jar: 2.1.1 ...  

I have the mvn dependency Run: Pure-local-repository (many times, in fact). The string 2.1.1 is not visible anywhere in my POM, profiles.xml , or settings.xml . However, every time I try to build my project, Maven fails with the above error.

What's going on here? Where is the Maven Dependency Depository Edition and how can I update it?

I think $ {Foo.version} As you can solve, you can definitely check the files of properties under src / main / filters .

Obviously this is really a problem, but try it now and update it now.

Other reasons which I could think of - could be a gross dependence on com.example: foo: jar: 2.1.1 . This is some other dependency which requires version 2.1.1 of this artwork. By using MVN dependency: tree

you are bringing this artistist in a transit way

Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

jquery - SimpleModal Confirm fails to submit form -

php - Multiple Select with Explode: only returns the word "Array" -