Skip to content

Maven Setting

A feature that contains elements used to define values which configure Maven execution in various ways, like the pom.xml, but should not be bundled to any specific project, or distributed to an audience. These include values such as the local repository location, alternate remote repository servers, and authentication information.

2.24.1. Proxies

We can configure a proxy for some or all of Maven's HTTP requests. The proxies element allows a list of child proxy elements, but only one proxy can be active at a time

2.24.2. Server

Defining repositories in the project pom.xml is a good practice. However, we shouldn't put security settings, such as credentials, into our source code repository with the pom.xml. Instead, we define this secure information in the server

2.24.3. Mirror

We can use mirrors in cases where we want to define an alternative mirror for a particular repository. This overrides what's in the pom.xml

If you are in Fsoft, please find Maven Configuration on Fsoft Confluence