Class GroupVersionAlignment
java.lang.Object
org.apache.maven.plugins.assembly.model.GroupVersionAlignment
- All Implemented Interfaces:
Serializable
Allows a group of artifacts to be aligned to a specified
version.
- Version:
- $Revision$ $Date$
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddExclude(String string) Method addExclude.Method getExcludes.getId()Get the groupId of the artifacts for which you want to align the versions.Get the version you want to align this group to.voidremoveExclude(String string) Method removeExclude.voidsetExcludes(List<String> excludes) Set when <exclude> subelements are present, they define the artifactIds of the artifacts to exclude.voidSet the groupId of the artifacts for which you want to align the versions.voidsetVersion(String version) Set the version you want to align this group to.
-
Field Details
-
id
The groupId of the artifacts for which you want to align the versions. -
version
The version you want to align this group to. -
excludes
Field excludes.
-
-
Constructor Details
-
GroupVersionAlignment
public GroupVersionAlignment()
-
-
Method Details
-
addExclude
Method addExclude.- Parameters:
string- a string object.
-
getExcludes
Method getExcludes.- Returns:
- List
-
getId
Get the groupId of the artifacts for which you want to align the versions.- Returns:
- String
-
getVersion
Get the version you want to align this group to.- Returns:
- String
-
removeExclude
Method removeExclude.- Parameters:
string- a string object.
-
setExcludes
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
Set the groupId of the artifacts for which you want to align the versions.- Parameters:
id- a id object.
-
setVersion
Set the version you want to align this group to.- Parameters:
version- a version object.
-