[
https://issues.jboss.org/browse/FORGE-2765?page=com.atlassian.jira.plugin...
]
George Gastaldi updated FORGE-2765:
-----------------------------------
Description:
{{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
Charles said:
{quote}
DependencyFacet should be have a method like this
DependencyFacet.addDependency(POM_DEPENDENCY)
to add a Dependency based on a ManagedDependency
{quote}
was:
{{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
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
Charles said:
{quote}
DependencyFacet should be have a method like this
DependencyFacet.addDependency(POM_DEPENDENCY)
to add a Dependency based on a ManagedDependency
{quote}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)