lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lynn Monson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-11181) Deploying Maven artifacts (generate-maven-artifacts) pushes the same artifacts multiple times
Date Mon, 14 Aug 2017 22:02:00 GMT

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

Lynn Monson commented on SOLR-11181:
------------------------------------

The plugins seem to behave very specifically based on the repository you are talking to as
well as the ~/.m2/settings.xml file you have in place, even with -Dm2.xxx properties defined.
 I am going to debug into the plugins themselves to see if I can get more insight from that.

> Deploying Maven artifacts (generate-maven-artifacts) pushes the same artifacts multiple
times
> ---------------------------------------------------------------------------------------------
>
>                 Key: SOLR-11181
>                 URL: https://issues.apache.org/jira/browse/SOLR-11181
>             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.id=my-repo-id \
>           -Dm2.repository.url=http://example.org/my/repo \
>           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
(v6.4.14#64029)

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


Mime
View raw message