karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raman Gupta (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (KARAF-4311) karaf maven plugin does not respect -s setting on maven
Date Wed, 03 Feb 2016 20:37:39 GMT

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

Mime
View raw message