Package org.apache.maven.profiles
Class Profile
java.lang.Object
org.apache.maven.profiles.Profile
- All Implemented Interfaces:
Serializable
Modifications to the build process which is keyed on
some
sort of environmental parameter.
- Version:
- $Revision$ $Date$
- See Also:
-
Constructor Summary
-
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.getId()
Get the ID of this build profile, for activation purposes.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
Set the ID of this build profile, for activation purposes.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.
-
Constructor Details
-
Profile
public Profile()
-
-
Method Details
-
addPluginRepository
Method addPluginRepository.- Parameters:
repository
- a repository object.
-
addProperty
Method addProperty.- Parameters:
key
- a key object.value
- a value object.
-
addRepository
Method addRepository.- Parameters:
repository
- a repository object.
-
getActivation
Get the conditional logic which will automatically trigger the inclusion of this profile.- Returns:
- Activation
-
getId
Get the ID of this build profile, for activation purposes.- Returns:
- String
-
getPluginRepositories
Method getPluginRepositories.- Returns:
- List
-
getProperties
Method getProperties.- Returns:
- Properties
-
getRepositories
Method getRepositories.- Returns:
- List
-
removePluginRepository
Method removePluginRepository.- Parameters:
repository
- a repository object.
-
removeRepository
Method removeRepository.- Parameters:
repository
- a repository object.
-
setActivation
Set the conditional logic which will automatically trigger the inclusion of this profile.- Parameters:
activation
- a activation object.
-
setId
Set the ID of this build profile, for activation purposes.- Parameters:
id
- a id object.
-
setPluginRepositories
Set the lists of the remote repositories for discovering plugins.- Parameters:
pluginRepositories
- a pluginRepositories object.
-
setProperties
Set extended configuration specific to this profile goes here.- Parameters:
properties
- a properties object.
-
setRepositories
Set the lists of the remote repositories.- Parameters:
repositories
- a repositories object.
-