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

73 questions
0
votes
1 answer

Use Active Choices Reactive Parameter Plugin with Maven Metadata Plugin

I used Active Choices Reactive Parameter for a selection menu which includes "Snapshots" and "Releases". And also used maven metadata plugin for list maven artifacts. There are two artifact types which are "Snapshots" and "Releases". Now, my…
Janith
  • 217
  • 1
  • 6
  • 15
0
votes
1 answer

Maven build success with several warnings while downloading dependency from remote repository BitBucket

I would like to can download a dependency present on BitBucket remote repository from an another project Maven. To reply the case I've created a remote repository like this: https://bitbucket.org/[user]/mvn-repo Then, I've created two projects…
0
votes
0 answers

How to make Maven evaluating version ranges starting with latest version?

Is there any option to tell Maven to start from latest version, when a version range needs to be evaluated? E.g. having [1.0.0,2.0.0) Maven starts with e.g. 1.0.0, 1.1.0, ..., 1.234.0. For each of these version, Maven goes into…
0
votes
1 answer

Gradle project sync failed on Android Studio 3.1.3 (2018)

Gradle project sync failed on Android Studio. I tried to import other Gradle distributions on Android Studio via File > Settings > Build, Execution, Deployement > Gradle > Use local gradle distribution But still the same error message : Gradle…
0
votes
0 answers

Maven doesn't upload maven-metadata.xml with mvn-golang-wrapper plugin

I use mvn-golang-wrapper plugin to build binary for Go project, and maven-assembly-plugin to pack that binary and some related files to a .tar.gz artifact. To make mvn-golang-wrapper work, I specify mvn-golang in my…
0
votes
1 answer

Maven dependency:copy artifact with base version

I'm trying to download some artifacts via command line with maven. I know only the base version of the artifacts, but they have a individual timestamp in the nexus repository. For example: The artifact…
Oni1
  • 1,445
  • 2
  • 19
  • 39
0
votes
0 answers

maven reference jar with dependencies?

In the maven build with Teamcity, maven-metadata.xml has this difintion, then I want to reference the jar-with-dependencies, it always gave me the version without dependencies. Not sure the problem is the maven or Teamcity.
user1615666
  • 3,151
  • 7
  • 26
  • 23
0
votes
1 answer

Is there a way for a maven plugin to request maven-metadata.xml from a remote repository?

Consider I'm a Maven plugin and I'd like to read Maven Repository Metadata (maven-metadata.xml) for certain group or artifact from a remote repository (Nexus in this case). Is there a built-in Maven functionality available to a plugin to retrieve…
thokuest
  • 5,800
  • 24
  • 36
0
votes
1 answer

How to change the default artifactId of maven-metadata.xml when uploading to bintray

In my project I've set a custom artifactId for maven POM: install { repositories.mavenInstaller { pom { project { artifactId = moduleProperties.getProperty("module.artifactId") ... } …
Kai
  • 15,284
  • 6
  • 51
  • 82
0
votes
1 answer

How to get timestamp of artifact from maven local repository

I need to get timestamp and build number of maven artifact (using GAV coordinates) which stored in maven local repository metadata file (maven-metadata.xml) programmatically by using java. I know that i can simply parse this file, but it is a bad…
hrrmsn
  • 1
  • 3
0
votes
1 answer

maven-metadata.xml file is not updating correctly in nexus

I have uploaded different versions of an artifact to nexus repository by programmatically using aether API . I But when I deleted an artifact from nexus remote repository, the maven-metadata.xml file is not updated correctly. The release version…
ѕтƒ
  • 3,547
  • 10
  • 47
  • 78
0
votes
1 answer

Retrieving maven-metadata.xml for one package and from one specific repostiory

Maven writes metadata about package versioning and so on to files called maven-metadata*.xml I have to determine the root cause of some version changes in such a metadata file, because it seems to break a build of mine. Is there a command line call…
Bertolt
  • 995
  • 1
  • 13
  • 37
0
votes
1 answer

nexus get maven-metadata.xml as a dependency

I wonder if it is possible to get maven-metadata.xml file as a maven depenedency. What I'm trying to achieve is get build number from the nexus' maven-metadata.xml. group
mr.nothing
  • 5,141
  • 10
  • 53
  • 77
1 2 3 4
5