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 SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddPluginRepository(Repository repository) Method addPluginRepository.voidaddProperty(String key, String value) Method addProperty.voidaddRepository(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.voidremovePluginRepository(Repository repository) Method removePluginRepository.voidremoveRepository(Repository repository) Method removeRepository.voidsetActivation(Activation activation) Set the conditional logic which will automatically trigger the inclusion of this profile.voidSet the ID of this build profile, for activation purposes.voidsetPluginRepositories(List<Repository> pluginRepositories) Set the lists of the remote repositories for discovering plugins.voidsetProperties(Properties properties) Set extended configuration specific to this profile goes here.voidsetRepositories(List<Repository> repositories) Set the lists of the remote repositories.
- 
Constructor Details- 
Profilepublic Profile()
 
- 
- 
Method Details- 
addPluginRepositoryMethod addPluginRepository.- Parameters:
- repository- a repository object.
 
- 
addPropertyMethod addProperty.- Parameters:
- key- a key object.
- value- a value object.
 
- 
addRepositoryMethod addRepository.- Parameters:
- repository- a repository object.
 
- 
getActivationGet the conditional logic which will automatically trigger the inclusion of this profile.- Returns:
- Activation
 
- 
getIdGet the ID of this build profile, for activation purposes.- Returns:
- String
 
- 
getPluginRepositoriesMethod getPluginRepositories.- Returns:
- List
 
- 
getPropertiesMethod getProperties.- Returns:
- Properties
 
- 
getRepositoriesMethod getRepositories.- Returns:
- List
 
- 
removePluginRepositoryMethod removePluginRepository.- Parameters:
- repository- a repository object.
 
- 
removeRepositoryMethod removeRepository.- Parameters:
- repository- a repository object.
 
- 
setActivationSet the conditional logic which will automatically trigger the inclusion of this profile.- Parameters:
- activation- a activation object.
 
- 
setIdSet the ID of this build profile, for activation purposes.- Parameters:
- id- a id object.
 
- 
setPluginRepositoriesSet the lists of the remote repositories for discovering plugins.- Parameters:
- pluginRepositories- a pluginRepositories object.
 
- 
setPropertiesSet extended configuration specific to this profile goes here.- Parameters:
- properties- a properties object.
 
- 
setRepositoriesSet the lists of the remote repositories.- Parameters:
- repositories- a repositories object.
 
 
-