Package org.apache.maven.api.model
Class Dependency.Builder
java.lang.Object
org.apache.maven.api.model.Dependency.Builder
- Enclosing class:
Dependency
Builder class used to create Dependency instances.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) String
(package private) Dependency
(package private) String
(package private) Collection
<Exclusion> (package private) String
(package private) InputLocation
(package private) Map
<Object, InputLocation> (package private) String
(package private) String
(package private) String
(package private) String
(package private) String
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Builder
(boolean withDefaults) protected
Builder
(Dependency base, boolean forceCopy) -
Method Summary
Modifier and TypeMethodDescriptionartifactId
(String artifactId) build()
classifier
(String classifier) (package private) Map
<Object, InputLocation> exclusions
(Collection<Exclusion> exclusions) importedFrom
(InputLocation importedFrom) location
(Object key, InputLocation location) systemPath
(String systemPath)
-
Field Details
-
base
Dependency base -
groupId
String groupId -
artifactId
String artifactId -
version
String version -
type
String type -
classifier
String classifier -
scope
String scope -
systemPath
String systemPath -
exclusions
Collection<Exclusion> exclusions -
optional
String optional -
locations
Map<Object,InputLocation> locations -
importedFrom
InputLocation importedFrom
-
-
Constructor Details
-
Builder
protected Builder(boolean withDefaults) -
Builder
-
-
Method Details
-
groupId
-
artifactId
-
version
-
type
-
classifier
-
scope
-
systemPath
-
exclusions
-
optional
-
location
-
importedFrom
-
build
-
computeLocations
Map<Object,InputLocation> computeLocations()
-