Using the Maven API outside of a plugin?

2016-12-28 Thread org . apache . maven . user
Hello. I'm writing a small program to analyze the dependencies of Maven projects. There are numerous examples of how to do this from within a Maven plugin, but I can't work out how to simply load a POM file and derive a ProjectDependencyGraph from it outside of the context of a plugin. How do I

Re: API to resolve a version range artifact

2016-12-28 Thread Robert Scholte
Well, you can go from dependency to artifact to file, but not the other way around. If you want to go from artifact to dependency, then the artifact should have been a dependency from the beginning. I've tried to make the difference more clear on the comparison page[1]. While integrating

Re: API to resolve a version range artifact

2016-12-28 Thread Dan Tran
is there a component to convert and Artifact to Dependency? Thanks -D On Tue, Dec 27, 2016 at 3:31 PM, Dan Tran wrote: > Bingo, it works. I will close to Jira > > Thanks Robert > > -Dan > > On Tue, Dec 27, 2016 at 1:01 PM, Robert Scholte > wrote: > >>