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:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addExclude
(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.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
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.
-
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.
-