Class GroupVersionAlignment
- java.lang.Object
-
- org.apache.maven.plugins.assembly.model.GroupVersionAlignment
-
- All Implemented Interfaces:
java.io.Serializable
public class GroupVersionAlignment extends java.lang.Object implements java.io.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(java.lang.String string)
Method addExclude.java.util.List<java.lang.String>
getExcludes()
Method getExcludes.java.lang.String
getId()
Get the groupId of the artifacts for which you want to align the versions.java.lang.String
getVersion()
Get the version you want to align this group to.void
removeExclude(java.lang.String string)
Method removeExclude.void
setExcludes(java.util.List<java.lang.String> excludes)
Set when <exclude> subelements are present, they define the artifactIds of the artifacts to exclude.void
setId(java.lang.String id)
Set the groupId of the artifacts for which you want to align the versions.void
setVersion(java.lang.String version)
Set the version you want to align this group to.
-
-
-
Method Detail
-
addExclude
public void addExclude(java.lang.String string)
Method addExclude.- Parameters:
string
-
-
getExcludes
public java.util.List<java.lang.String> getExcludes()
Method getExcludes.- Returns:
- List
-
getId
public java.lang.String getId()
Get the groupId of the artifacts for which you want to align the versions.- Returns:
- String
-
getVersion
public java.lang.String getVersion()
Get the version you want to align this group to.- Returns:
- String
-
removeExclude
public void removeExclude(java.lang.String string)
Method removeExclude.- Parameters:
string
-
-
setExcludes
public void setExcludes(java.util.List<java.lang.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
-
-
setId
public void setId(java.lang.String id)
Set the groupId of the artifacts for which you want to align the versions.- Parameters:
id
-
-
setVersion
public void setVersion(java.lang.String version)
Set the version you want to align this group to.- Parameters:
version
-
-
-