Nexus Repair or update index does not respond to manually configuring Nexus Index

Source: Internet
Author: User

http://repo.maven.apache.org/maven2/.index/Download the latest version of the index file for the repository,

We need to download the following two files (usually at the end of the list)
Nexus-maven-repository-index.gz
Nexus-maven-repository-index.properties

The following is to extract the index file, although the suffix named GZ, but the decompression method is more special,

We need to download a jar package Indexer-cli-5.1.1.jar, we need to unzip the index file through this special jar
Place the above three files (. gz &. Properties &. Jar) in the same directory and run the following command
Java-jar indexer-cli-5.1.1.jar-u nexus-maven-repository-index.gz-d Indexer
After waiting for the program to run, you can discover that many files appear under the indexer folder and place them in the {Nexus-home}/sonatype-work/nexus/indexer/central-ctx directory

Restart Nexus
./nexus Restart

Nexus Repair or update index does not respond to manually configuring Nexus Index

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.