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:
-
Constructor Summary
ModifierConstructorDescriptionprotected
Builder
(boolean withDefaults) protected
Builder
(Dependency base, boolean forceCopy) -
Method Summary
Modifier and TypeMethodDescriptionartifactId
(String artifactId) build()
classifier
(String classifier) exclusions
(Collection<Exclusion> exclusions) importedFrom
(InputLocation importedFrom) location
(Object key, InputLocation location) systemPath
(String systemPath)
-
Constructor Details
-
Builder
protected Builder(boolean withDefaults) -
Builder
-
-
Method Details
-
groupId
-
artifactId
-
version
-
type
-
classifier
-
scope
-
systemPath
-
exclusions
-
optional
-
location
-
importedFrom
-
build
-