protected RepositorySystemSession newSession ( RepositorySystem system ) { MavenRepositorySystemSession session = new MavenRepositorySystemSession ( ) ; LocalRepository localRepo = new LocalRepository ( localRepository ) ; session . setLocalRepositoryManager ( system . newLocalRepositoryManager ( localRepo ) ) ; return session ; }
Creates a new RepositorySystemSession .