public class FluentProfileBuilder
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
FluentProfileBuilder |
activeByDefault()
Set this profile to be active
|
org.apache.maven.settings.Profile |
build() |
static FluentProfileBuilder |
newProfile()
Modifications to the build process which is keyed on
some sort of environmental parameter.
|
FluentProfileBuilder |
withActivation(org.apache.maven.settings.Activation activation)
Set the conditional logic which will automatically
trigger the inclusion of this profile.
|
FluentProfileBuilder |
withActivation(FluentActivationBuilder activation)
Set the conditional logic which will automatically
trigger the inclusion of this profile.
|
FluentProfileBuilder |
withId(java.lang.String id)
Set the id field.
|
FluentProfileBuilder |
withPluginRepository(FluentRepositoryBuilder repository)
add a remote repository for discovering plugins.
|
FluentProfileBuilder |
withPluginRepository(org.apache.maven.settings.Repository repository)
add a remote repository for discovering plugins.
|
FluentProfileBuilder |
withProperty(java.lang.String key,
java.lang.String value)
Add extended configuration specific to this profile goes
here.
|
FluentProfileBuilder |
withRepository(FluentRepositoryBuilder repository)
Add a remote repository.
|
FluentProfileBuilder |
withRepository(org.apache.maven.settings.Repository repository)
Add a remote repository.
|
public static FluentProfileBuilder newProfile()
public org.apache.maven.settings.Profile build()
public FluentProfileBuilder withId(java.lang.String id)
id - public FluentProfileBuilder activeByDefault()
public FluentProfileBuilder withActivation(FluentActivationBuilder activation)
activation - public FluentProfileBuilder withActivation(org.apache.maven.settings.Activation activation)
activation - public FluentProfileBuilder withProperty(java.lang.String key, java.lang.String value)
<key>value</key>key - value - public FluentProfileBuilder withRepository(FluentRepositoryBuilder repository)
repository - public FluentProfileBuilder withRepository(org.apache.maven.settings.Repository repository)
repository - public FluentProfileBuilder withPluginRepository(FluentRepositoryBuilder repository)
repository - public FluentProfileBuilder withPluginRepository(org.apache.maven.settings.Repository repository)
repository - Copyright © 2014 Yandex. All Rights Reserved.