RepositorySystemSession () { DefaultRepositorySystemSession session = new DefaultRepositorySystemSession(sessionTemplate); session.setConfigProperty(ConflictResolver.CONFIG_PROP_VERBOSE, Boolean.TRUE); session.setReadOnly(); return session; }