Package org.apache.maven.settings
Class Profile
java.lang.Object
org.apache.maven.settings.TrackableBase
org.apache.maven.settings.IdentifiableBase
org.apache.maven.settings.Profile
- All Implemented Interfaces:
Serializable
Modifications to the build process which is keyed on
some
sort of environmental parameter.
- Version:
- $Revision$ $Date$
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Activation
The conditional logic which will automatically trigger the inclusion of this profile.private List<Repository>
This may be removed or relocated in the near future.private Properties
Field properties.private List<Repository>
Field repositories.Fields inherited from class org.apache.maven.settings.TrackableBase
GLOBAL_LEVEL, USER_LEVEL
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addPluginRepository
(Repository repository) Method addPluginRepository.void
addProperty
(String key, String value) Method addProperty.void
addRepository
(Repository repository) Method addRepository.Get the conditional logic which will automatically trigger the inclusion of this profile.Method getPluginRepositories.Method getProperties.Method getRepositories.void
removePluginRepository
(Repository repository) Method removePluginRepository.void
removeRepository
(Repository repository) Method removeRepository.void
setActivation
(Activation activation) Set the conditional logic which will automatically trigger the inclusion of this profile.void
setPluginRepositories
(List<Repository> pluginRepositories) Set the lists of the remote repositories for discovering plugins.void
setProperties
(Properties properties) Set extended configuration specific to this profile goes here.void
setRepositories
(List<Repository> repositories) Set the lists of the remote repositories.Methods inherited from class org.apache.maven.settings.IdentifiableBase
getId, setId
Methods inherited from class org.apache.maven.settings.TrackableBase
getSourceLevel, setSourceLevel
-
Field Details
-
activation
The conditional logic which will automatically trigger the inclusion of this profile. -
properties
Field properties. -
repositories
Field repositories. -
pluginRepositories
This may be removed or relocated in the near future. It is undecided whether plugins really need a remote repository set of their own.
-
-
Constructor Details
-
Profile
public Profile()
-
-
Method Details
-
addPluginRepository
Method addPluginRepository.- Parameters:
repository
-
-
addProperty
Method addProperty.- Parameters:
key
-value
-
-
addRepository
Method addRepository.- Parameters:
repository
-
-
getActivation
Get the conditional logic which will automatically trigger the inclusion of this profile.- Returns:
- Activation
-
getPluginRepositories
Method getPluginRepositories.- Returns:
- List
-
getProperties
Method getProperties.- Returns:
- Properties
-
getRepositories
Method getRepositories.- Returns:
- List
-
removePluginRepository
Method removePluginRepository.- Parameters:
repository
-
-
removeRepository
Method removeRepository.- Parameters:
repository
-
-
setActivation
Set the conditional logic which will automatically trigger the inclusion of this profile.- Parameters:
activation
-
-
setPluginRepositories
Set the lists of the remote repositories for discovering plugins.- Parameters:
pluginRepositories
-
-
setProperties
Set extended configuration specific to this profile goes here. Contents take the form of <property.name>property.value</property.name>- Parameters:
properties
-
-
setRepositories
Set the lists of the remote repositories.- Parameters:
repositories
-
-