Skip to content

Cpriyanshi07/nexus-setup-script

 
 

Repository files navigation

Preconditions

  • CentOS 7
  • Installed JDK 1.8

Install and configure automatically

  • Install Nexus

./nexus_install.sh

  • Configure Nexus automatically

./nexus_configure.sh

  • Alternative: Create respositories in Nexus 3.+

./create_repositories.sh

Finalize configuration manually

  • Set the following access settings for the repositories 'ishreleases', 'gradle' and 'distributions': 'Allow File Browsing' and 'Include in Search' to TRUE.

  • Create the Intershop proxy repository

    name: Intershop

    id: ishrepo

    type: Proxy

    Remote Url: https://repo.intershop.de/content/repositories/contract-id

    Fill out the Authentication with your credentials.

    Switch to the tab Routing and make sure Discovery is unchecked.

  • Create the JCenter proxy repository

    name: JCenter

    id: jcenter

    type: Proxy

    Remote Url: https://jcenter.bintray.com/

  • Assign the Intershop proxy repository additionally to the 'Components' repository group (order: Intershop, Intershop Releases, Releases, Gradle)

  • Assign the Intershop and JCenter proxy repositories additionally to the 'Maven all' repository group (order: JCenter, Central, Intershop)

About

Setup a Nexus server for a CI environment.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%