[ 
https://issues.apache.org/jira/browse/MNG-8167?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17889562#comment-17889562
 ] 

Benjamin Marwell commented on MNG-8167:
---------------------------------------

Much better!

Current state (maven 3) is to add this profile to your 
{{{}$HOME/.m2/settings.xml{}}}:
{code:java}
     <profile>
       <id>split-repo</id>
       <properties>
         
<aether.enhancedLocalRepository.split>true</aether.enhancedLocalRepository.split>
         
<aether.enhancedLocalRepository.splitLocal>true</aether.enhancedLocalRepository.splitLocal>
         
<aether.enhancedLocalRepository.splitRemoteRepository>true</aether.enhancedLocalRepository.splitRemoteRepository>

         
<!--aether.artifactResolver.postProcessor.trustedChecksums>true</aether.artifactResolver.postProcessor.trustedChecksums-->
         <!-- 
aether.checksums.algorithms>SHA-512,SHA-1,MD5</aether.checksums.algorithms -->
       </properties>
     </profile> {code}
And then activate it by default, just to make sure you don't get both split and 
unsplit dependencies:
{code:java}
  <activeProfiles>
    <activeProfile>split-repo</activeProfile>
  </activeProfiles>
{code}

> 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)

Reply via email to