Nexus Indexer is empty when Eclipse creates a new MAVEN project

Source: Internet
Author: User

after the installation is configured with Maven and Nexus (refer to http://blog.csdn.net/kingzone_2008/article/details/39454873), use the MVN command line to create the engineering skeleton , but using eclipse has the following problems. questions such as 0:
Figure 0. Nexus Indexer is empty
since the catalog selection Nexus Indexer does not have a skeleton list available, try the internal skeleton first, select Maven-archetype-webapp and click Finish. The error message 1 shows. from the error can be seen is the file name inconsistency problem, Eclipse to find Maven-matadata.xml (1), and the. M2 directory is the file name Maven-matadata-central.xml (2). So, the first guess is that they are incompatible. After the toss of the configuration file, still can not solve. Constantly try to have a big half day, finally find the reason, please see the following solution.
Figure 1: Error message
Figure 2: Files in the repository in the M2 directorySolution: Open the Maven repositories window in eclipse (window--show View--maven--maven repositories), 3, right click on the Nexus Project, select Rebuild Index Then, right-click Local Repository and click Rebuild Index. Depending on the network situation, there may be a difference in wait times. Once the update is complete, you can use the Nexus indexer, 4
Figure 3. Maven repositories View
Figure 4. Nexus Indexer List



Nexus Indexer is empty when Eclipse creates a new MAVEN project

Related Article

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.