lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Rowe (JIRA)" <>
Subject [jira] [Commented] (SOLR-11181) Deploying Maven artifacts (generate-maven-artifacts) pushes the same artifacts multiple times
Date Mon, 21 Aug 2017 19:59:00 GMT


Steve Rowe commented on SOLR-11181:

I ran the build locally against {{}} with your latest patch,
and the {{-sources}} and {{-javadoc}} jars are sent to the repo.  You can see the result for
lucene-core here (artifacts share the infix {{-8.0.0-20170821.193346-36.}}): [].

bq. The patch reverses the order of the maven install and deploy tasks. This prevents a double
push to the repository, but will cause the local install to happen twice instead.

I think double local install is fine (better than double remote push anyway).  

I'll commit your patch to master and branch_7x.

> Deploying Maven artifacts (generate-maven-artifacts) pushes the same artifacts multiple
> ---------------------------------------------------------------------------------------------
>                 Key: SOLR-11181
>                 URL:
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: Build
>    Affects Versions: 6.6, master (8.0), 7.1
>            Reporter: Lynn Monson
>            Assignee: Steve Rowe
>            Priority: Minor
>         Attachments: SOLR-11181.patch, SOLR-11181.patch
> When following the instructions in the README.maven file, and watching the wire traffic,
the build system issues HTTP PUT operations for the same artifacts multiple times.   For example,
issuing this command:
>       ant \
>           -Dm2.repository.url= \
>           generate-maven-artifacts
> from the lucene/ directory will generate redundant puts.  For example:
> PUT /<path>/org/apache/lucene/lucene-core/<version>/lucene-core-4.10.4-fs.31-sources.jar

> PUT /<path>/org/apache/lucene/lucene-core/<version>/lucene-core-4.10.4-fs.31-sources.jar.sha1

> PUT /<path>/org/apache/lucene/lucene-core/<version>/lucene-core-4.10.4-fs.31-sources.jar.md5
> ...
> PUT /<path>/org/apache/lucene/lucene-core/<version>/lucene-core-4.10.4-fs.31-sources.jar

> ...
> The maven repo I am using does not allow the second PUT and, hence, the build fails.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message