[ https://issues.apache.org/jira/browse/MNG-8167?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17889474#comment-17889474 ]
Guillaume Nodet commented on MNG-8167: -------------------------------------- Fwiw, I tried the following earlier this week: {code} ➜ jline3 git:(master) ✗ cat ~/.m2/maven.properties # Move user conf directory to ~/.mvn maven.user.conf = ${user.home}/.mvn # Load maven properties from ~/.mvn/maven.properties ${includes} = ?"${maven.user.conf}/maven.properties" ➜ jline3 git:(master) ✗ cat ~/.mvn/maven.properties # Change the repository name to make sure # we don't have a conflict with a maven 2.x repository maven.repo.local = ${maven.user.conf}/repo-split # Enable split repository by default aether.lrm.enhanced.split = true {code} The goal was to experiment with using a split repository when using Maven 4 (since the {{maven.properties}} file is not supported by Maven 3). It works, but IntelliJ IDEA falls short as it does not support that yet (support for full split-repo seems to come soon). > enable "split repo" in settings.xml > ----------------------------------- > > Key: MNG-8167 > URL: https://issues.apache.org/jira/browse/MNG-8167 > Project: Maven > Issue Type: Improvement > Reporter: Benjamin Marwell > Priority: Major > > With the availability of "-Daether.enhancedLocalRepository.split" and others, > this should be settable in settings.xml. > Rationale: the repo should not have two layouts (or more) locally. > Settings.xml should at least be able to define a default. -- This message was sent by Atlassian Jira (v8.20.10#820010)