Use Nexus to build maven repositories

Source: Internet
Author: User

1. PurposeBy setting up your own network, you can reduce the load on the central warehouse, save external broadband, accelerate MAVEN construction, deploy components yourself, and so on, so that efficient use of Maven,nexus is currently the popular MAVEN warehouse management software. 2. Download Nexus
    • 2.1 Website: http://www.sonatype.org/nexus/, I choose Zip package download

    • 2.2 Unzip to the E-drive, choose to enter the version of the machine to enter, I choose: E:\nexus-2.12.1-01-bundle\nexus-2.12.1-01\bin\jsw\windows-x86-64, Nexus can be installed as a Windows service that can be viewed and started in the service


      If the startup fails, the service default port 8081 may be occupied and can be modified in E:\nexus-2.12.1-01-bundle\nexus-2.12.1-01\conf\nexus.properties
    • 2.3 Open the first interface in the browser: Http://127.0.0.1:8082/nexus, Default user name and password: admin/admin123
    • 2.4 Creating the host warehouse, specifying the location of the local warehouse (common artifacts are included in E:\MavenRepository)


    • 2.5 Create an agent repository that can be exposed using the OSC:
      http://maven.oschina.net/content/groups/public/
    • 2.6 Create a warehouse group, a warehouse group can correspond to multiple warehouses, here test settings host1 and Proxy1
    • 2.7 Set up open library for extranet users, Access address: http://127.0.0.1:8082/nexus/content/groups/public/

    • Not to be continued

Use Nexus to build maven repositories

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.