Package org.apache.maven.model.v3_0_0
Class Build
java.lang.Object
org.apache.maven.model.v3_0_0.PluginContainer
org.apache.maven.model.v3_0_0.PluginConfiguration
org.apache.maven.model.v3_0_0.BuildBase
org.apache.maven.model.v3_0_0.Build
- All Implemented Interfaces:
Serializable
The
<build>
element contains
informations required to build the project.- Version:
- $Revision$ $Date$
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate String
This element specifies a directory containing Aspect sources of the project.private String
This element is deprecated and should no longer be used.private String
An address to which notifications regarding the status of builds for this project can be sent.private String
This element specifies a directory containing the source of the project.private List<SourceModification>
Field sourceModifications.private UnitTest
This element specifies unit tests associated with the projectprivate String
This element specifies a directory containing the unit test source of the project. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addSourceModification
(SourceModification sourceModification) Method addSourceModification.Get this element specifies a directory containing Aspect sources of the project.Get this element is deprecated and should no longer be used.Get an address to which notifications regarding the status of builds for this project can be sent.Get this element specifies a directory containing the source of the project.Method getSourceModifications.Get this element specifies unit tests associated with the project.Get this element specifies a directory containing the unit test source of the project.void
removeSourceModification
(SourceModification sourceModification) Method removeSourceModification.void
setAspectSourceDirectory
(String aspectSourceDirectory) Set this element specifies a directory containing Aspect sources of the project.void
setIntegrationUnitTestSourceDirectory
(String integrationUnitTestSourceDirectory) Set this element is deprecated and should no longer be used.void
setNagEmailAddress
(String nagEmailAddress) Set an address to which notifications regarding the status of builds for this project can be sent.void
setSourceDirectory
(String sourceDirectory) Set this element specifies a directory containing the source of the project.void
setSourceModifications
(List<SourceModification> sourceModifications) Set this element describes all of the sourceModifications associated with a project.void
setUnitTest
(UnitTest unitTest) Set this element specifies unit tests associated with the project.void
setUnitTestSourceDirectory
(String unitTestSourceDirectory) Set this element specifies a directory containing the unit test source of the project.Methods inherited from class org.apache.maven.model.v3_0_0.BuildBase
addResource, getDefaultGoal, getResources, removeResource, setDefaultGoal, setResources
-
Field Details
-
nagEmailAddress
An address to which notifications regarding the status of builds for this project can be sent. This is intended for use by tools which do unattended builds, for example those providing for continuous integration. -
sourceDirectory
This element specifies a directory containing the source of the project. The generated build system will compile the source in this directory when the project is built. The path given is relative to the project descriptor. -
unitTestSourceDirectory
This element specifies a directory containing the unit test source of the project. The generated build system will compile these directories when the project is being tested. The path given is relative to the project descriptor. -
aspectSourceDirectory
This element specifies a directory containing Aspect sources of the project. The generated build system will compile the Aspects in this directory when the project is built if Aspects have been enabled. The path given is relative to the project descriptor. -
integrationUnitTestSourceDirectory
This element is deprecated and should no longer be used. Initially it was used by the first Cactus plugin. Now the location of the Cactus test sources is defined through a plugin property. See the Cactus plugin properties page. -
sourceModifications
Field sourceModifications. -
unitTest
This element specifies unit tests associated with the project
-
-
Constructor Details
-
Build
public Build()
-
-
Method Details
-
addSourceModification
Method addSourceModification.- Parameters:
sourceModification
- a sourceModification object.
-
getAspectSourceDirectory
Get this element specifies a directory containing Aspect sources of the project. The generated build system will compile the Aspects in this directory when the project is built if Aspects have been enabled. The path given is relative to the project descriptor.- Returns:
- String
-
getIntegrationUnitTestSourceDirectory
Get this element is deprecated and should no longer be used. Initially it was used by the first Cactus plugin. Now the location of the Cactus test sources is defined through a plugin property. See the Cactus plugin properties page.- Returns:
- String
-
getNagEmailAddress
Get an address to which notifications regarding the status of builds for this project can be sent. This is intended for use by tools which do unattended builds, for example those providing for continuous integration.- Returns:
- String
-
getSourceDirectory
Get this element specifies a directory containing the source of the project. The generated build system will compile the source in this directory when the project is built. The path given is relative to the project descriptor.- Returns:
- String
-
getSourceModifications
Method getSourceModifications.- Returns:
- List
-
getUnitTest
Get this element specifies unit tests associated with the project.- Returns:
- UnitTest
-
getUnitTestSourceDirectory
Get this element specifies a directory containing the unit test source of the project. The generated build system will compile these directories when the project is being tested. The path given is relative to the project descriptor.- Returns:
- String
-
removeSourceModification
Method removeSourceModification.- Parameters:
sourceModification
- a sourceModification object.
-
setAspectSourceDirectory
Set this element specifies a directory containing Aspect sources of the project. The generated build system will compile the Aspects in this directory when the project is built if Aspects have been enabled. The path given is relative to the project descriptor.- Parameters:
aspectSourceDirectory
- a aspectSourceDirectory object.
-
setIntegrationUnitTestSourceDirectory
Set this element is deprecated and should no longer be used. Initially it was used by the first Cactus plugin. Now the location of the Cactus test sources is defined through a plugin property. See the Cactus plugin properties page.- Parameters:
integrationUnitTestSourceDirectory
- a integrationUnitTestSourceDirectory object.
-
setNagEmailAddress
Set an address to which notifications regarding the status of builds for this project can be sent. This is intended for use by tools which do unattended builds, for example those providing for continuous integration.- Parameters:
nagEmailAddress
- a nagEmailAddress object.
-
setSourceDirectory
Set this element specifies a directory containing the source of the project. The generated build system will compile the source in this directory when the project is built. The path given is relative to the project descriptor.- Parameters:
sourceDirectory
- a sourceDirectory object.
-
setSourceModifications
Set this element describes all of the sourceModifications associated with a project. These modifications are used to exclude or include various source depending on the environment the build is running in.- Parameters:
sourceModifications
- a sourceModifications object.
-
setUnitTest
Set this element specifies unit tests associated with the project.- Parameters:
unitTest
- a unitTest object.
-
setUnitTestSourceDirectory
Set this element specifies a directory containing the unit test source of the project. The generated build system will compile these directories when the project is being tested. The path given is relative to the project descriptor.- Parameters:
unitTestSourceDirectory
- a unitTestSourceDirectory object.
-