maven-indexer

How to index a Maven repo without Nexus/Artifactory/etc?

落爺英雄遲暮 提交于 2020-01-12 04:58:07
问题 I run my own little Maven repo for some open source. I have no dedicated server so I use a Google code repository, deploy to file system and then commit and push. Works perfect for me. But some Maven tools are looking for a nexus-maven-repository-index.properties and the index (in GZ). I would like to generate this index to get rid of the warning that it's not here Maven doesn't try the repo for artefacts that are not there. How can I do that? Is there a tool (Java main) that is able to

How to index a Maven repo without Nexus/Artifactory/etc?

牧云@^-^@ 提交于 2019-12-03 07:25:08
I run my own little Maven repo for some open source. I have no dedicated server so I use a Google code repository , deploy to file system and then commit and push. Works perfect for me. But some Maven tools are looking for a nexus-maven-repository-index.properties and the index (in GZ). I would like to generate this index to get rid of the warning that it's not here Maven doesn't try the repo for artefacts that are not there. How can I do that? Is there a tool (Java main) that is able to generate an index? Also tips how to use the proper Nexus Jars with a little commandline tool are welcome.

How to parse/unzip/unpack Maven repository indexes generated by Nexus

旧巷老猫 提交于 2019-11-28 07:43:38
I have downloaded the indexes generated for Maven Central from http://mirrors.ibiblio.org/pub/mirrors/maven2/dot-index/nexus-maven-repository-index.gz I would like to list the artifacts information from these index files (groupId, artifactId, version for example). I have read that there is a high level API for that. It seems that I have to use the following maven dependency. However, I don't know what is the entry point to use (which class?) and how to use it to access those files: <dependency> <groupId>org.sonatype.nexus</groupId> <artifactId>nexus-indexer</artifactId> <version>3.0.4</version

Nexus - proxy repositories with no indexes?

时光总嘲笑我的痴心妄想 提交于 2019-11-27 06:01:14
问题 I'm trying to add a proxy to a public repository (specifically camel-extra). However, I get the following error in my Nexus logs: Cannot fetch remote index for repository camel-extra and then further down: The remoteURL we requested does not exists on remote server (remoteUrl="http://camel-extra.googlecode.com/svn/maven2/releases/.index/nexus-maven-repository-index.properties") I've ensured that 'Download Remote Indexes' is 'True', repaired the index, updated the index, all to no avail.

How to parse/unzip/unpack Maven repository indexes generated by Nexus

拥有回忆 提交于 2019-11-27 01:56:53
问题 I have downloaded the indexes generated for Maven Central from http://mirrors.ibiblio.org/pub/mirrors/maven2/dot-index/nexus-maven-repository-index.gz I would like to list the artifacts information from these index files (groupId, artifactId, version for example). I have read that there is a high level API for that. It seems that I have to use the following maven dependency. However, I don't know what is the entry point to use (which class?) and how to use it to access those files: