package saker.maven.support.api
A builder class for creating a MavenOperationConfiguration.
public MavenOperationConfiguration | build() Builds the MavenOperationConfiguration. |
public Builder | setLocalRepositoryPath( Sets the local repository path. |
public Builder | setRepositories( Sets the repositories. |
Builds the MavenOperationConfiguration.
The builder can be reused after this call.
The created Maven operation configuration.
public Builder setLocalRepositoryPath(SakerPath localRepositoryPath) throws IllegalArgumentException, NullPointerException
Sets the local repository path.
Note: The interpretation of the null
argument changed in saker.maven.support 0.8.7 from
using the defaults to throwing NullPointerException.
localRepositoryPathThe local repository path.
this
IllegalArgumentExceptionIf the argument is not absolute.
NullPointerExceptionIf the argument is
null
.Sets the repositories.
Note: The interpretation of the null
argument changed in saker.maven.support 0.8.7 from
using the defaults to setting no repositories.
repositoriesThe repositories.
null
will cause the repositories to be cleared.this