This snippet should give dependencies of all scopes and workspace
resolution enabled/disabled according to project configuration
IMavenProjectRegistry registry = ...;
IMavenProjectFacade facade = registry.create(project);
facade.getMavenProject(monitor).getArtifacts()
Use IMaven#readPro
Sorry,
the correct link is https://gist.github.com/3787981
On Sep 26, 2012, at 8:25 PM, Artem Grigoryev wrote:
> Hello to everyone!
>
> I want to get the file content of all transitive dependencies of my Eclipse
> project.
> I look through m2e source code and find following way to do it:
>