lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lynn Monson (JIRA)" <>
Subject [jira] [Commented] (SOLR-11181) Deploying Maven artifacts (generate-maven-artifacts) pushes the same artifacts multiple times
Date Tue, 15 Aug 2017 00:31:01 GMT


Lynn Monson commented on SOLR-11181:

[~steve_rowe] I found the sequence in the maven ant tasks that, in combination with the common-build.xml
tasks, cause a double upload.   There seems to be a simple workaround, if you are amenable
to try it.  The workaround is to deploy first, then install locally instead of the other way
round.  It's a simple patch to common-build.xml.

If the workaround seems reasonable to you, I'll submit a patch for it.

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