Remove the given {@link Dependency} from this facet's {@link Project}. This method ignores {@link Dependency#getScopeType()}
See also: {@link DependencyBuilder}.
Notice: This method operates only the immediate project dependencies, meaning that if a dependency is declared somewhere else in the hierarchy, it will not be removable by this method. You should call {@link #hasDirectDependency(Dependency)} first in order to check if the dependency exists in this projectsimmediate dependencies.