public class MavenProfile extends Object
MavenBuild.| Modifier and Type | Class and Description |
|---|---|
static class |
MavenProfile.Settings
Maven profile settings.
|
static class |
MavenProfile.SettingsBuilder
Builder for
MavenProfile.Settings. |
| Modifier | Constructor and Description |
|---|---|
protected |
MavenProfile(String id,
BuildItemResolver buildItemResolver) |
| Modifier and Type | Method and Description |
|---|---|
MavenProfileActivation.Builder |
activation()
Return a builder to configure how this profile should be
activated. |
BomContainer |
boms()
Return the bom container to use to configure Bill of
Materials.
|
DependencyContainer |
dependencies()
Return the dependency container to use to
configure dependencies.
|
MavenDistributionManagement.Builder |
distributionManagement()
Return a builder to configure the distribution management of this profile.
|
MavenProfileActivation |
getActivation()
Return the
MavenProfileActivation of this profile. |
MavenDistributionManagement |
getDistributionManagement()
Return the distribution management of this
profile.
|
String |
getId()
Return the identifier of the profile.
|
MavenProfile.Settings |
getSettings()
Return the settings of this profile.
|
MavenRepositoryContainer |
pluginRepositories()
Return the repository container to use to
configure plugin repositories.
|
MavenPluginContainer |
plugins()
Return the plugin container to use to configure
plugins.
|
PropertyContainer |
properties()
Return the property container to use to configure
properties.
|
MavenRepositoryContainer |
repositories()
Return the repository container to use to
configure repositories.
|
MavenResourceContainer |
resources()
Return the resource container to use to configure main
resources.
|
MavenProfile.SettingsBuilder |
settings()
Return a builder to configure the general settings of this profile.
|
MavenResourceContainer |
testResources()
Return the resource container to use to configure test
resources.
|
protected MavenProfile(String id, BuildItemResolver buildItemResolver)
public String getId()
public MavenProfileActivation.Builder activation()
activated.MavenProfileActivation.public MavenProfileActivation getActivation()
MavenProfileActivation of this profile.MavenProfileActivationpublic MavenProfile.SettingsBuilder settings()
MavenProfile.SettingsBuilder.public MavenProfile.Settings getSettings()
MavenProfile.Settingspublic PropertyContainer properties()
PropertyContainerpublic DependencyContainer dependencies()
DependencyContainerpublic BomContainer boms()
BomContainerpublic MavenRepositoryContainer repositories()
MavenRepositoryContainer for repositoriespublic MavenRepositoryContainer pluginRepositories()
MavenRepositoryContainer for plugin repositoriespublic MavenDistributionManagement.Builder distributionManagement()
MavenDistributionManagementpublic MavenDistributionManagement getDistributionManagement()
MavenDistributionManagementpublic MavenResourceContainer resources()
MavenRepositoryContainer for main resourcespublic MavenResourceContainer testResources()
MavenRepositoryContainer for test resourcespublic MavenPluginContainer plugins()
MavenPluginContainerCopyright © 2022 Pivotal Software, Inc.. All rights reserved.