public interface DependencyInstaller
Dependency into the specified project. Resolves available dependency
versions against the project's known dependency hierarchy to avoid installing duplicates.| Modifier and Type | Method and Description |
|---|---|
Dependency |
install(Project project,
Dependency dependency)
Install the given
Dependency. |
Dependency |
installManaged(Project project,
Dependency dependency)
Install a the given
Dependency as a managed dependency. |
boolean |
isInstalled(Project project,
Dependency dependency)
|
boolean |
isManaged(Project origin,
Dependency dependency)
|
Dependency install(Project project, Dependency dependency)
Dependency. This method overwrites existing dependencies, and updates existing managed
dependencies. If a version range is supplied, or dependency version is omitted, a the highest matching dependency
version will be installed.
Project requires: DependencyFacet
Dependency installManaged(Project project, Dependency dependency)
Dependency as a managed dependency. This method overwrites existing managed
dependencies. If a version range is supplied, or dependency version is omitted, a the highest matching dependency
version will be installed.
Project requires: DependencyFacet
boolean isInstalled(Project project, Dependency dependency)
true if the given Project contains the requested Dependency. If a version is
supplied in the query, the dependency must match the installed version; otherwise, version is ignored.
Project requires: DependencyFacet
boolean isManaged(Project origin, Dependency dependency)
true if the given Project contains the requested managed Dependency. If a
version is supplied in the query, the managed dependency must match the installed version; otherwise, version is
ignored.
Project requires: DependencyFacet
Copyright © 2017 JBoss by Red Hat. All rights reserved.