Skip to content

Commit

Permalink
enh: using context.repositorySystemSession() as per @cstamas
Browse files Browse the repository at this point in the history
  • Loading branch information
lprimak committed Dec 31, 2024
1 parent 121e033 commit 58798ee
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public MavenRepositorySystem() {
* @return A working session spawned from the repository system.
*/
public DefaultRepositorySystemSession getSession(final Settings settings, boolean legacyLocalRepository) {
DefaultRepositorySystemSession session = new DefaultRepositorySystemSession();
DefaultRepositorySystemSession session = new DefaultRepositorySystemSession(context.repositorySystemSession());

MavenManagerBuilder builder = new MavenManagerBuilder(context.repositorySystem(), settings);

Expand Down

0 comments on commit 58798ee

Please sign in to comment.