Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-dev] Auto-refresh and imported dependencyManagement poms

MavenProject.getOriginalModel().getDependencyManagement().getDependencies()
should have the original import-scoped dependencies. If this not the
case, please provide example pom.xml (or set of poms) and I'll have a look.

--
Regards,
Igor

On 2014-06-07, 15:23, Anton Tanasenko wrote:
Hi,
That's the point, DependencyManagement object which is populated from
pom actually gets modified a bit later in the model build and those
entries are removed.
So, given the project A which imports B with managed versions of C and D
for example, at runtime model of A contains two entries with C and D, as
if they were specified directly.
One can always parse the pom in question and get the raw data, but it
would be a cleaner solution if model contained info on which poms got
imported.


_______________________________________________
m2e-dev mailing list
m2e-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-dev



Back to the top