Book Image

Mastering Apache Maven 3

Book Image

Mastering Apache Maven 3

Overview of this book

Table of Contents (16 chapters)
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

Creating a proxy repository


By default, Nexus comes with following three proxy repositories:

Let's look at how to create a set of proxy repositories in Nexus. Then we will create a group repository by combining them all. In your Maven project, you only need to add a reference to the group repository. The following steps are to be followed while creating the proxy repositories:

  1. Go to http://localhost:8081/nexus and log in as admin.

  2. Navigate to Views/Repositories | Repositories | Add | Proxy Repository. Fill in the details appropriately, as shown in the following screenshot. The remote repository URL has to be set in the Remote Storage Location field. Here, we are creating a proxy repository for the...