Latest maven and maven-dependency-tree 2.0 Maybe we are talking about different interfaces
org.apache.maven.shared.dependency.graph.DependencyNode.getArtifact() returns a org.apache.maven.artifact.Artifact, which does not have a getProperties() method Am I missing something? Thank you, Alejandro From: Rahul Thakur <[email protected]> To: Maven Users List <[email protected]>, Date: 2013-03-14 07:22 Subject: Re: maven properties of dependencies Hi Alejandro, What version of Maven are you writing your plugin with? What's the scenario - can you please elaborate? I am looking through the current master, it seems you could do something like: DependencyNode.getDependency().getArtifact().getProperties() I hope I understood your problem correctly... Cheers, Rahul On 3/9/2013 12:56 AM, [email protected] wrote: > > I have a plugin that uses DependencyGraphBuilder to find the dependencies > of a MavenProject. Traversing the graph I get a DependencyNode , however, I > need to access a particular maven property of the dependency's pom and this > is not possible AFAIK. Is this true? is it really not possible to access > the properties of a dependency pom using DependencyGraphBuilder component? > if so, how could I manage to grab those? > > Thank you, > > > > Alejandro > DISCLAIMER: > > Privileged and/or Confidential information may be contained in this > message. If you are not the addressee of this message, you may not > copy, use or deliver this message to anyone. In such event, you > should destroy the message and kindly notify the sender by reply > e-mail. It is understood that opinions or conclusions that do not > relate to the official business of the company are neither given > nor endorsed by the company. > > Thank You. > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] DISCLAIMER: Privileged and/or Confidential information may be contained in this message. If you are not the addressee of this message, you may not copy, use or deliver this message to anyone. In such event, you should destroy the message and kindly notify the sender by reply e-mail. It is understood that opinions or conclusions that do not relate to the official business of the company are neither given nor endorsed by the company. Thank You.
