Key is a child element name. For Dependency it can be "groupId", "version", "exclusions", etc. Empty string, i.e. "", is the key used to identify location of the element itself. Search for Dependency#setLocation method invocation to find all key values.
-- Regards, Igor On 2014-11-29, 13:22, Karl Heinz Marbaise wrote:
hi, i have question...so if i get the project dependencies within a plugin via project.getDependencies()... I can get a type Dependency back..which contains a method getLocation(key)..which can return a InputLocation which exactly looks like what i need (line, column) of the file it is read from... The question is what is the key intended for and what could be possible values? Where are they related to ? Can someone enligthen me ? Kind regards Karl Heinz Marbaise --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org
--------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org