Questions tagged [maven-metadata]

Maven metadata is used to store versioning information about Maven artifacts. This metadata is produced by tools such a Maven, Gradle, SBT, Ivy et al and it is updated during the deployment of an artifact.

Maven metadata is used to store versioining information about Maven artifacts. This metadata is produced by tools such a Maven, Gradle, SBT, Ivy et al and it is updated during the deployment of an artifact.

Maven metadata can be used by tools to figure out:

  • What versions of an artifact exist

  • What timestamped versions of a snapshot artifact exist

  • What plugins exist under a groupId

Maven metadata is also used by the maven-indexer for producing searchable Lucene indexes.

Official Resources on Maven Metadata

See Also

74 questions
1
vote
2 answers

Maven SNAPSHOT version not loaded from Nexus

We have a Sonatype Nexus running in our environment which has another Nexus as proxy repository configured. When we consume our dependencies we ask our Nexus for them. This worked fine until yesterday when I added a new dependency to our project.…
Danielku15
  • 1,310
  • 1
  • 11
  • 27
1
vote
1 answer

maven-metadata.xml build error

I am getting the error below in log whenever I try to build my Spring project. Could anyone please help me? [WARNING] Could not transfer metadata org.springframework:spring-core:3.2.1.SPR-10124-SNAPSHOT/maven-metadata.xml from/to…
1
vote
1 answer

Artifactory maven-metadata.xml and bundles with Java API

I'm attempting to upload & deploy a jar that we receive from a vendor into Artifactory using the Java API (artifactory-java-client-services v1.1.0). My uploads don't generate maven-metadata.xml and I can't find an option to auto-generate a pom.xml.…
msalvatore
  • 15
  • 5
1
vote
1 answer

Using nexus deployment role - Error installing artifact's metadata - Authorization failed

When executing mvn deploy with a user with the Nexus Deployment Role granted I am getting the following error message. Error installing artifact's metadata: Error while deploying metadata: Authorization failed: Access denied to:…
Daniel
  • 13
  • 3
1
vote
1 answer

Prefetch maven-metadata.xml with nexus

With the maven3 configuration file settings.xml nexus *
Karl Richter
  • 6,271
  • 17
  • 57
  • 120
1
vote
1 answer

versions-maven-plugin is not able to read maven-metadata.xml

Suddenly from today, versions-maven-plugin is not working. I haven't changed any settings and the plugin was working previously. [INFO] --- versions-maven-plugin:2.1:display-dependency-updates (default-cli) @ parent --- [INFO] [INFO] artifact…
Tamal Kanti Nath
  • 744
  • 2
  • 8
  • 15
1
vote
1 answer

Artifactory is not caching the maven-metadata.xml file

Is there a way to make the artifactory to cache the maven-metadata.xml file? Every time that I release a version of my artifact it takes a lot of time search new versions of artifacts. Is it possible to chose on the Artifactory a "time cache" for…
endrigoantonini
  • 1,061
  • 2
  • 14
  • 27
1
vote
0 answers

How to make release version of maven-metadata.xml to be HIGHEST version number?

I have a project A which needs AAA:BBB as a dependency. < dependency> < groupId>AAA< /groupId> < artifactId>BBB< /artifactId> < version>RELEASE< /version> < /dependency> After deploying a branch version(say, 0.2.1-4) of AAA:BBB, release…
1
vote
1 answer

buildr upload doesn't create maven-metadata.xml

I'm trying out buildr on two projects - one has a dependency on the other. buildr upload seems to work ok on project1 but when project2 tries to build it looks for project1/0.0.1-SNAPSHOT/maven-metadata.xml in my repo, which doesn't exist. Should I…
edoloughlin
  • 5,405
  • 4
  • 30
  • 58
1
vote
1 answer

Why can't Maven find my SNAPSHOT artifact when I can download it manually just fine?

I have the world's simplest Maven/Jenkins/Nexus setup. Maven runs via Jenkins dozens of times a day and deploys SNAPSHOTs to our Nexus repository just fine. Every once in a blue moon, with seemingly no cause, running another Maven job that requires…
Laird Nelson
  • 12,770
  • 15
  • 64
  • 105
1
vote
2 answers

maven deploy-file failed with 503: cannot find maven-metadata.xml

I am using Maven to integrate our project with others, maybe in a unpopular way and encountered issue. We have a project that used to compile with Ant. Ant script is big and awesome, so when we are using Maven for integration, it is decided to keep…
X.M.
  • 811
  • 3
  • 12
  • 21
1
vote
1 answer

How to get the HIGHEST version of an artifact via Maven Nexus REST api?

I though I could use /nexus/service/local/artifact/maven/resolve?r=releases&g=com.mycompany&a=myArtifact&v=LATEST Then I read about the difference between LATEST and RELEASE. In Maven 3, LATEST is no longer filled - ok But RELEASE gives me only the…
Myron
  • 23
  • 4
1
vote
2 answers

Maven 3 is looking for maven-metadata.xml in the wrong folder (Artifactory 2.5.1.1)

[08:45:24]Downloading: http://maven-proxy.xxx.local:8081/artifactory/xxx-snapshots/xxx/xxx/xxx/some-lib/1.2.5-SNAPSHOT/maven-metadata.xml [08:45:24][DEBUG] Could not find metadata xxx.xxx.xxx:some-lib:1.2.5-SNAPSHOT/maven-metadata.xml in…
Kimble
  • 6,543
  • 3
  • 49
  • 71
0
votes
0 answers

Sonatype Nexus 3 get last updated/uploaded artifact

I have such maven-metadata.xml file…
0
votes
1 answer

Unable to load Maven meta-data error while executing Jenkins project

While running my existing Jenkins Project I am running into the below issue as soon as I start it - Click to view the error I tried hitting the URL for Maven Meta Data (as in the screen shot) manually to check 401 issue but I am able to download…