saker.maven.support Documentation TaskDoc JavaDoc Packages
Specifies a Maven dependency associated with a given artifact. The configuration contains the scope, optionality, and transitive exclusions for a dependency. Corresponds to the <dependency/> element in a pom.xml. The option also accepts a simple scope string as its input.
Summary
Fields
ExclusionsSpecifies the transitive exclusions of the dependency.
OptionalSpecifies the optionality of the dependency.
ScopeSpecifies the scope of the dependency.
Fields
Specifies the transitive exclusions of the dependency. Corresponds to the <exclusions/> element in a pom.xml.
Specifies the optionality of the dependency. Corresponds to the <optional/> element in a pom.xml. Generally, this field has no use-case when used with the saker.maven.resolve() task, as the dependency is not a transitive dependency of another resolution. However, the field is present for completeness.
Specifies the scope of the dependency. Corresponds to the <scope/> element in a pom.xml.