]
George Gastaldi updated FORGE-2765:
-----------------------------------
Summary: DependencyFacet.addDirectManagedDependency should add a dependency to the
<dependencyManagement> and <dependencies> sections at once (was: Introduce a
method in DependencyFacet to add a dependency to the <dependencyManagement> and
<dependencies> sections)
DependencyFacet.addDirectManagedDependency should add a dependency to
the <dependencyManagement> and <dependencies> sections at once
------------------------------------------------------------------------------------------------------------------------------------
Key: FORGE-2765
URL:
https://issues.jboss.org/browse/FORGE-2765
Project: Forge
Issue Type: Feature Request
Components: Build Tools - Maven, Dependencies, Facets
Affects Versions: 3.7.2.Final
Reporter: Charles Heidemann
Priority: Minor
{{DependencyFacet.addDirectManagedDependency}} adds the dependency to the
{{dependencyManagement}} section.
We should either:
a) Change this method to add to dependencyManagement AND dependency sections
b) Create a new method in {{DependencyFacet}} to do that