Class GroupVersionAlignment
- java.lang.Object
-
- org.apache.maven.plugins.assembly.model.GroupVersionAlignment
-
- All Implemented Interfaces:
Serializable
public class GroupVersionAlignment extends Object implements Serializable
Allows a group of artifacts to be aligned to a specified version.- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GroupVersionAlignment()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addExclude(String string)
Method addExclude.List<String>
getExcludes()
Method getExcludes.String
getId()
Get the groupId of the artifacts for which you want to align the versions.String
getVersion()
Get the version you want to align this group to.void
removeExclude(String string)
Method removeExclude.void
setExcludes(List<String> excludes)
Set when <exclude> subelements are present, they define the artifactIds of the artifacts to exclude.void
setId(String id)
Set the groupId of the artifacts for which you want to align the versions.void
setVersion(String version)
Set the version you want to align this group to.
-
-
-
Method Detail
-
addExclude
public void addExclude(String string)
Method addExclude.- Parameters:
string
- a string object.
-
getId
public String getId()
Get the groupId of the artifacts for which you want to align the versions.- Returns:
- String
-
getVersion
public String getVersion()
Get the version you want to align this group to.- Returns:
- String
-
removeExclude
public void removeExclude(String string)
Method removeExclude.- Parameters:
string
- a string object.
-
setExcludes
public void setExcludes(List<String> excludes)
Set when <exclude> subelements are present, they define the artifactIds of the artifacts to exclude. If none is present, then <excludes> represents no exclusions. An exclude is specified by providing one or more of <exclude> subelements.- Parameters:
excludes
- a excludes object.
-
setId
public void setId(String id)
Set the groupId of the artifacts for which you want to align the versions.- Parameters:
id
- a id object.
-
setVersion
public void setVersion(String version)
Set the version you want to align this group to.- Parameters:
version
- a version object.
-
-