Class MavenProfile
java.lang.Object
io.spring.initializr.generator.buildsystem.maven.MavenProfile
A profile in a 
MavenBuild.- Author:
- Daniel Andres Pelaez Lopez, Stephane Nicoll
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic final classMaven profile settings.static classBuilder forMavenProfile.Settings.
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedMavenProfile(String id, BuildItemResolver buildItemResolver) 
- 
Method SummaryModifier and TypeMethodDescriptionReturn a builder to configure how this profile should beactivated.boms()Return the bom container to use to configure Bill of Materials.Return the dependency container to use to configure dependencies.Return a builder to configure the distribution management of this profile.Return theMavenProfileActivationof this profile.Return the distribution management of this profile.getId()Return the identifier of the profile.Return the settings of this profile.Return the repository container to use to configure plugin repositories.plugins()Return the plugin container to use to configure plugins.Return the property container to use to configure properties.Return the repository container to use to configure repositories.Return the resource container to use to configure main resources.settings()Return a builder to configure the general settings of this profile.Return the resource container to use to configure test resources.
- 
Constructor Details- 
MavenProfile
 
- 
- 
Method Details- 
getIdReturn the identifier of the profile.- Returns:
- the profile id
 
- 
activationReturn a builder to configure how this profile should beactivated.- Returns:
- a builder for MavenProfileActivation.
 
- 
getActivationReturn theMavenProfileActivationof this profile.- Returns:
- the MavenProfileActivation
 
- 
settingsReturn a builder to configure the general settings of this profile.- Returns:
- a builder for MavenProfile.SettingsBuilder.
 
- 
getSettingsReturn the settings of this profile.- Returns:
- a MavenProfile.Settings
 
- 
propertiesReturn the property container to use to configure properties.- Returns:
- the PropertyContainer
 
- 
dependenciesReturn the dependency container to use to configure dependencies.- Returns:
- the DependencyContainer
 
- 
bomsReturn the bom container to use to configure Bill of Materials.- Returns:
- the BomContainer
 
- 
repositoriesReturn the repository container to use to configure repositories.- Returns:
- the MavenRepositoryContainerfor repositories
 
- 
pluginRepositoriesReturn the repository container to use to configure plugin repositories.- Returns:
- the MavenRepositoryContainerfor plugin repositories
 
- 
distributionManagementReturn a builder to configure the distribution management of this profile.- Returns:
- a builder for MavenDistributionManagement
 
- 
getDistributionManagementReturn the distribution management of this profile.- Returns:
- the MavenDistributionManagement
 
- 
resourcesReturn the resource container to use to configure main resources.- Returns:
- the MavenRepositoryContainerfor main resources
 
- 
testResourcesReturn the resource container to use to configure test resources.- Returns:
- the MavenRepositoryContainerfor test resources
 
- 
pluginsReturn the plugin container to use to configure plugins.- Returns:
- the MavenPluginContainer
 
 
-