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:
java.io.Serializable
public class Build extends BuildBase implements java.io.Serializable
The<build>element contains informations required to build the project.- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.StringaspectSourceDirectoryThis element specifies a directory containing Aspect sources of the project.private java.lang.StringintegrationUnitTestSourceDirectoryThis element is deprecated and should no longer be used.private java.lang.StringnagEmailAddressAn address to which notifications regarding the status of builds for this project can be sent.private java.lang.StringsourceDirectoryThis element specifies a directory containing the source of the project.private java.util.List<SourceModification>sourceModificationsField sourceModifications.private UnitTestunitTestThis element specifies unit tests associated with the projectprivate java.lang.StringunitTestSourceDirectoryThis element specifies a directory containing the unit test source of the project.
-
Constructor Summary
Constructors Constructor Description Build()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddSourceModification(SourceModification sourceModification)Method addSourceModification.java.lang.StringgetAspectSourceDirectory()Get this element specifies a directory containing Aspect sources of the project.java.lang.StringgetIntegrationUnitTestSourceDirectory()Get this element is deprecated and should no longer be used.java.lang.StringgetNagEmailAddress()Get an address to which notifications regarding the status of builds for this project can be sent.java.lang.StringgetSourceDirectory()Get this element specifies a directory containing the source of the project.java.util.List<SourceModification>getSourceModifications()Method getSourceModifications.UnitTestgetUnitTest()Get this element specifies unit tests associated with the project.java.lang.StringgetUnitTestSourceDirectory()Get this element specifies a directory containing the unit test source of the project.voidremoveSourceModification(SourceModification sourceModification)Method removeSourceModification.voidsetAspectSourceDirectory(java.lang.String aspectSourceDirectory)Set this element specifies a directory containing Aspect sources of the project.voidsetIntegrationUnitTestSourceDirectory(java.lang.String integrationUnitTestSourceDirectory)Set this element is deprecated and should no longer be used.voidsetNagEmailAddress(java.lang.String nagEmailAddress)Set an address to which notifications regarding the status of builds for this project can be sent.voidsetSourceDirectory(java.lang.String sourceDirectory)Set this element specifies a directory containing the source of the project.voidsetSourceModifications(java.util.List<SourceModification> sourceModifications)Set this element describes all of the sourceModifications associated with a project.voidsetUnitTest(UnitTest unitTest)Set this element specifies unit tests associated with the project.voidsetUnitTestSourceDirectory(java.lang.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 Detail
-
nagEmailAddress
private java.lang.String 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
private java.lang.String 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
private java.lang.String 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
private java.lang.String 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
private java.lang.String 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
private java.util.List<SourceModification> sourceModifications
Field sourceModifications.
-
unitTest
private UnitTest unitTest
This element specifies unit tests associated with the project
-
-
Method Detail
-
addSourceModification
public void addSourceModification(SourceModification sourceModification)
Method addSourceModification.- Parameters:
sourceModification-
-
getAspectSourceDirectory
public java.lang.String 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
public java.lang.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
public java.lang.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
public java.lang.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
public java.util.List<SourceModification> getSourceModifications()
Method getSourceModifications.- Returns:
- List
-
getUnitTest
public UnitTest getUnitTest()
Get this element specifies unit tests associated with the project.- Returns:
- UnitTest
-
getUnitTestSourceDirectory
public java.lang.String 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
public void removeSourceModification(SourceModification sourceModification)
Method removeSourceModification.- Parameters:
sourceModification-
-
setAspectSourceDirectory
public void setAspectSourceDirectory(java.lang.String aspectSourceDirectory)
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-
-
setIntegrationUnitTestSourceDirectory
public void setIntegrationUnitTestSourceDirectory(java.lang.String integrationUnitTestSourceDirectory)
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-
-
setNagEmailAddress
public void setNagEmailAddress(java.lang.String nagEmailAddress)
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-
-
setSourceDirectory
public void setSourceDirectory(java.lang.String sourceDirectory)
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-
-
setSourceModifications
public void setSourceModifications(java.util.List<SourceModification> sourceModifications)
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-
-
setUnitTest
public void setUnitTest(UnitTest unitTest)
Set this element specifies unit tests associated with the project.- Parameters:
unitTest-
-
setUnitTestSourceDirectory
public void setUnitTestSourceDirectory(java.lang.String unitTestSourceDirectory)
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-
-
-