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#readProject(request, monitor) if you need finer control over
dependency scopes and other resolution parameters.
In the future, please use m2e-dev mailing list for questions about using
m2e api.
--
Regards,
Igor
On 12-09-26 10:10 AM, Artem Grigoryev wrote:
Sorry,
the correct link is https://gist.github.com/3787981
On Sep 26, 2012, at 8:25 PM, Artem Grigoryev <grigorev...@gmail.com
<mailto:grigorev...@gmail.com>> 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:
https://gist.github.com/3787958
Is this right API for this task? Or there are easily way?
Thanks,
Artem Grigoryev
_______________________________________________
m2e-users mailing list
m2e-users@eclipse.org
https://dev.eclipse.org/mailman/listinfo/m2e-users
_______________________________________________
m2e-users mailing list
m2e-users@eclipse.org
https://dev.eclipse.org/mailman/listinfo/m2e-users