17.08.2016 Views

Apache Maven 3 Cookbook

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 3<br />

5. The default administrative login for Nexus is:<br />

Username: admin<br />

Password: admin123<br />

6. Once you're logged in, you can create a repository for your project:<br />

7. You will find a repository URL available after creation. Make a note of this URL as it<br />

needs to be used in your <strong>Apache</strong> <strong>Maven</strong> configuration or POM file.<br />

8. The <strong>Maven</strong> settings.xml file now needs to be modified and a new mirror is<br />

to be added:<br />

<br />

<br />

TestRepository<br />

My test repository<br />

http://localhost:8080/nexus-webapp-<br />

1.8.0/content/repositories/TestRepository/<br />

*<br />

<br />

<br />

53

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!