[ 
https://jira.codehaus.org/browse/CONTINUUM-2578?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=364264#comment-364264
 ] 

Brent N Atkinson edited comment on CONTINUUM-2578 at 2/28/15 2:35 PM:
----------------------------------------------------------------------

{quote}
It also fails to use settings.xml when importing a project by uploading the pom 
file.
{quote}

Because http credentials aren't relevant for uploaded poms, I assume this 
statement is referring to using things like profiles, etc. to build the maven 
project metadata?

Update: I tested whether I could upload poms that contain expressions with 
values only specified in a settings file for the continuum user. Specifically, 
the build included an antrun execution that echo'd the value and the artifact's 
version was specified as {noformat}${settings-sensitive}{noformat}. The project 
metadata was successfully built and included the settings sensitive values. It 
appears this is not an issue as of r1662996.


was (Author: batkinson):
{quote}
It also fails to use settings.xml when importing a project by uploading the pom 
file.
{quote}

Because http credentials aren't relevant for uploaded poms, I assume this 
statement is referring to using things like profiles, etc. to build the maven 
project metadata?

Update: I tested whether I could upload poms that contain expressions with 
values only specified in a settings file for the continuum user. Specifically, 
the build included an antrun execution that echo'd the value and the artifact's 
version was specified as ${settings-sensitive}. The project metadata was 
successfully built and included the settings sensitive values. It appears this 
is not an issue as of r1662996.

> Consult settings.xml for credentials when fetching maven metadata
> -----------------------------------------------------------------
>
>                 Key: CONTINUUM-2578
>                 URL: https://jira.codehaus.org/browse/CONTINUUM-2578
>             Project: Continuum
>          Issue Type: New Feature
>            Reporter: Luca
>            Assignee: Brent N Atkinson
>             Fix For: 1.5.0
>
>         Attachments: configure-scm-credentials-from-settings.diff
>
>
> The attached patch is to configure the scm username/password from 
> settings.xml when building a project from a pom file. It attempts to match 
> the SCM server host name to the id of a server in the <servers> section.



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Reply via email to