Mark Derricutt created KARAF-7667:
-------------------------------------

             Summary: Upgrade karaf-maven-plugin to latest maven-resolver
                 Key: KARAF-7667
                 URL: https://issues.apache.org/jira/browse/KARAF-7667
             Project: Karaf
          Issue Type: Improvement
          Components: karaf
    Affects Versions: 4.4.3
            Reporter: Mark Derricutt


The newly released Maven 3.9.0 has switched to using the new maven resolver 
1.9.x releases, which add support for split repositories ( separating cached 
downloads, local installs, and SNAPSHOTs ) which is great for working on 
multiple branches without poisoning a local repository.

However, Karaf Maven Plugin doesn't appear to use the resolver provided by 
Maven, so doesn't pick up SNAPSHOTs when running in a split mode.

1.9.x is a binary breaking version of resolver however.

Split repositories can be enabled by setting the following properties:

<aether.enhancedLocalRepository.split>true</aether.enhancedLocalRepository.split><aether.enhancedLocalRepository.splitLocal>true</aether.enhancedLocalRepository.splitLocal><aether.enhancedLocalRepository.splitRemoteRepository>true</aether.enhancedLocalRepository.splitRemoteRepository>

See:

- https://maven.apache.org/resolver/configuration.html
- https://issues.apache.org/jira/browse/MNG-6270




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to