Extension Points defined in Maven Integration Plugin

LocalRepositoryLocator

Strategy pattern that decides the location of the Maven local repository for a build.

Implementations:

MavenReporter

Listens to the build execution of MavenBuild , and normally records some information and exposes thoses in MavenBuild later.

Implementations:

PlexusModuleContributorFactory

Contributes additional code into Plexus container when we run Maven.

Implementations:

TcpSocketHostLocator

Identify the Host name to use from maven-agent to connect to to jenkins slave agent TCP socket.

In simple scenarios both slave agent and maven process do live on same host without specific network constraints, but for some virtualization usages maven process just can't bind a socket on wildcard host network. This extension give infrastructure plugins a chance to configure the adequate hostname. to handle such network constraints </p>

Implementations: