Maven3 : How to get all the project dependencies in a Custom Maven Extension
问题 In Maven 3.x , how I can get all the dependencies of a project including the transitive in a custom maven extension (By not using Aether) Currently I have this : @Component(role = AbstractMavenLifecycleParticipant.class, hint = "Test") public class sampleExtension extends AbstractMavenLifecycleParticipant implements LogEnabled { private Logger logger; @Override public void afterSessionStart(MavenSession session) throws MavenExecutionException { this.logger.info("Starting afterSessionStart()")