O'Reilly logo

Apache Maven 2 Effective Implementation by Maria Odea Ching, Brett Porter

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Deploying from Maven

We have learned how to use an Archiva repository as a proxy cache, now we will learn how to use it as a deployment repository and how to deploy from Maven. For this exercise, we will be using the simple-webapp project again from Chapter 1, Maven Best Practices, and the default snapshots repository for our deployment repository.

Recalling what we have learned about separating our repositories, we know that snapshots and releases need to go into different repositories. We already have a deployment repository for snapshots configured in our Archiva instance but we don't have a deployment repository for releases yet. We will create one for that. Go to the Repositories page again and add a Managed Repository with the following ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required