[ 
https://issues.apache.org/jira/browse/SOLR-2634?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13221611#comment-13221611
 ] 

Steven Rowe commented on SOLR-2634:
-----------------------------------

Hi Benson,

Under LUCENE-3825 I committed a change to the way {{generate-maven-artifacts}} 
does authentication: instead of specifying username/password through system 
properties {{m2.repository.username}} and {{m2.repository.password}} (the 
behavior enabled by your patch on this issue), {{\~/.m2/settings.xml}} contains 
the username/password pair for the server identified by new system property 
{{m2.repository.id}}.

For example, to deploy to the Apache snapshot repository (after adding a 
{{<server>}} section to my {{settings.xml}}):

{noformat}
ant -Dm2.repository.id=apache.snapshots.https 
-Dm2.repository.url=https://repository.apache.org/content/repositories/snapshots
 generate-maven-artifacts
{noformat}

Note that Maven Ant Tasks appears to not be able to handle encrypted passwords 
in {{settings.xml}}: [http://jira.codehaus.org/browse/MANTTASKS-177].
                
> Publish nightly snapshots, please
> ---------------------------------
>
>                 Key: SOLR-2634
>                 URL: https://issues.apache.org/jira/browse/SOLR-2634
>             Project: Solr
>          Issue Type: Improvement
>          Components: Build
>    Affects Versions: 3.4, 4.0
>            Reporter: Benson Margulies
>            Assignee: Steven Rowe
>             Fix For: 3.6, 4.0
>
>         Attachments: SOLR-2634.patch, SOLR-2634.patch, SOLR-2634.patch
>
>
> If you added 'mvn deploy' to the jenkins job, the nightly snapshots would 
> push to repository.apache.org as snapshots, where maven could get them 
> without having to manually download and deploy them. Please?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to