You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Raman Gupta (JIRA)" <ji...@apache.org> on 2016/02/03 21:37:39 UTC
[jira] [Updated] (KARAF-4311) karaf maven plugin does not respect
-s setting on maven
[ https://issues.apache.org/jira/browse/KARAF-4311?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Raman Gupta updated KARAF-4311:
-------------------------------
Description:
The karaf maven plugin uses the pax maven resolver for some things, like verification for example.
However, mvn has the -s switch to specify a particular settings.xml at build time, which is often used by CI systems. Since the karaf-maven-plugin is running from a maven command, it should call or configure pax so that it uses the settings.xml specified by the user at the command line, if any.
was:
The karaf maven plugin uses the pax maven resolver for some things, like verification for example.
Pax has its own mechanism for finding the settings.xml, but mvn has the -s switch to specify a particular settings.xml at build time, which is often used by CI systems.
The Karaf maven plugin should respect the settings provided by the -s switch when doing its internal maven resolution.
> karaf maven plugin does not respect -s setting on maven
> -------------------------------------------------------
>
> Key: KARAF-4311
> URL: https://issues.apache.org/jira/browse/KARAF-4311
> Project: Karaf
> Issue Type: Bug
> Components: karaf-tooling
> Affects Versions: 4.0.4
> Reporter: Raman Gupta
> Labels: maven
>
> The karaf maven plugin uses the pax maven resolver for some things, like verification for example.
> However, mvn has the -s switch to specify a particular settings.xml at build time, which is often used by CI systems. Since the karaf-maven-plugin is running from a maven command, it should call or configure pax so that it uses the settings.xml specified by the user at the command line, if any.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)