[ 
https://issues.apache.org/jira/browse/SLING-12932?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Munteanu closed SLING-12932.
-----------------------------------

> Explicitly configure the local maven repository when launching
> --------------------------------------------------------------
>
>                 Key: SLING-12932
>                 URL: https://issues.apache.org/jira/browse/SLING-12932
>             Project: Sling
>          Issue Type: Improvement
>          Components: Maven Plugins and Archetypes
>            Reporter: Robert Munteanu
>            Assignee: Robert Munteanu
>            Priority: Major
>             Fix For: Feature Launcher Maven Plugin 0.1.10
>
>
> When starting a feature without any repository URLs configured the default 
> ones are picked up from 
> https://github.com/apache/sling-org-apache-sling-feature/blob/f8872f27ed626e169326a4f94b55f3059cd527f8/src/main/java/org/apache/sling/feature/io/artifacts/ArtifactManagerConfig.java#L77-L79
>  , including detection of the Maven settings file - 
> https://github.com/apache/sling-org-apache-sling-feature/blob/f8872f27ed626e169326a4f94b55f3059cd527f8/src/main/java/org/apache/sling/feature/io/artifacts/ArtifactManagerConfig.java#L203-L222
>  .
> This is good enough for most cases. However, this cannot detect overrides set 
> via the Maven invocation such as {{--settings}} and {{-Dmaven.repo.local}} . 
> Therefore the plugin should explicitly set the artifact URLs to match the 
> behaviour of the feature launcher, but consulting the actual settings 
> reported by Maven.



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

Reply via email to