use of demo.util.ConsoleRepositoryListener in project sonatype-aether by sonatype.
the class Aether method newSession.
private RepositorySystemSession newSession() {
MavenRepositorySystemSession session = new MavenRepositorySystemSession();
session.setLocalRepositoryManager(repositorySystem.newLocalRepositoryManager(localRepository));
session.setTransferListener(new ConsoleTransferListener());
session.setRepositoryListener(new ConsoleRepositoryListener());
return session;
}
Aggregations