You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Dawid Weiss (Jira)" <ji...@apache.org> on 2020/10/02 06:59:00 UTC

[jira] [Comment Edited] (LUCENE-9548) Publish master (9.x) snapshots to https://repository.apache.org

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

Dawid Weiss edited comment on LUCENE-9548 at 10/2/20, 6:58 AM:
---------------------------------------------------------------

Hi Uwe. I've changed credential property names to use those mentioned on that cwiki page so in theory it should work if you run this from jenkins:
{code}
gradlew mavenToApacheSnapshots
{code}

I also added other task aliases for convention tasks (which have fairly long names):
{code}
mavenToApacheSnapshots - Publish Maven JARs and POMs to Apache Snapshots repository: https://repository.apache.org/content/repositories/snapshots
mavenToLocalFolder - Publish Maven JARs and POMs locally to [...]\build\maven-local
mavenToLocalRepo - Publish Maven JARs and POMs to current user's local maven repository.
{code}

We should probably add ApacheReleases repository too for final releases (or create a bundle uploadable to Nexus?).



was (Author: dweiss):
Hi Uwe. I've changed credential property names to use those mentioned on that cwiki page so in theory it should work if you run this from jenkins:
{code}
gradlew mavenToApacheSnapshots
{code}

I also added other task aliases for convention tasks (which have fairly long names):
{code}
mavenToApacheSnapshots - Publish Maven JARs and POMs to Apache Snapshots repository: https://repository.apache.org/content/repositories/snapshots
mavenToLocalFolder - Publish Maven JARs and POMs locally to [...]\build\maven-local
mavenToLocalRepo - Publish Maven JARs and POMs to current user's local maven repository.
{code}

We should probably add ApacheReleases repository too for final releases (or create a bundle uploadable to Nexus?).


> Publish master (9.x) snapshots to https://repository.apache.org
> ---------------------------------------------------------------
>
>                 Key: LUCENE-9548
>                 URL: https://issues.apache.org/jira/browse/LUCENE-9548
>             Project: Lucene - Core
>          Issue Type: Task
>            Reporter: Dawid Weiss
>            Assignee: Dawid Weiss
>            Priority: Major
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> We should start publishing snapshot JARs to Apache repositories. I'm not sure how to set it all up with gradle but maybe there are other Apache projects that use gradle and we could peek at their config? Mostly it's about signing artifacts (how to pass credentials for signing) and setting up Nexus deployment repository.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org