Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reindex-client references elasticsearch-ssl-config:jar:7.0.0-beta1 which is missing in maven central #38944

Closed
floragunn opened this issue Feb 15, 2019 · 3 comments · Fixed by #39019
Labels
>bug :Delivery/Build Build or test infrastructure Team:Delivery Meta label for Delivery team

Comments

@floragunn
Copy link

floragunn commented Feb 15, 2019

Elasticsearch version (bin/elasticsearch --version):
7.0.0-beta1

Plugins installed:
none

JVM version (java -version):
openjdk version "11" 2018-09-25
OpenJDK Runtime Environment 18.9 (build 11+28)
OpenJDK 64-Bit Server VM 18.9 (build 11+28, mixed mode)

OS version (uname -a if on a Unix-like system):
Darwin xxx.local 17.7.0 Darwin Kernel Version 17.7.0: Thu Dec 20 21:47:19 PST 2018; root:xnu-4570.71.22~1/RELEASE_X86_64 x86_64 i386 MacBookPro15,1 Darwin

Description of the problem including expected versus actual behavior:
reindex-client references elasticsearch-ssl-config:jar:7.0.0-beta1 which is missing in maven central

The POM for org.elasticsearch:elasticsearch-ssl-config:jar:7.0.0-beta1 is missing, no dependency information available

Could not resolve dependencies for project ... : Could not find artifact org.elasticsearch:elasticsearch-ssl-config:jar:7.0.0-beta1 in elastic-lucene-snapshots (http://s3.amazonaws.com/download.elasticsearch.org/lucenesnapshots/83f9835)

Steps to reproduce:

Try "mvn clean install" on a pom that includes

...
<repositories>
    <repository>
      <id>elastic-lucene-snapshots</id>
      <name>Elastic Lucene Snapshots</name>
      <url>http://s3.amazonaws.com/download.elasticsearch.org/lucenesnapshots/83f9835</url>
      <releases><enabled>true</enabled></releases>
      <snapshots><enabled>false</enabled></snapshots>
    </repository>
  </repositories>
...
<dependency>
      <groupId>org.elasticsearch.plugin</groupId>
      <artifactId>reindex-client</artifactId>
      <version>7.0.0-beta1</version>
</dependency>
...
@jasontedor jasontedor added the :Delivery/Build Build or test infrastructure label Feb 15, 2019
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra

@dadoonet
Copy link
Member

dadoonet commented Feb 17, 2019

Got the same issue. Posting here a workaround in case someone else is getting this.

<dependency>
    <groupId>org.elasticsearch.client</groupId>
    <artifactId>transport</artifactId>
    <version>7.0.0-beta1</version>
    <exclusions>
        <exclusion>
            <groupId>org.elasticsearch.plugin</groupId>
            <artifactId>reindex-client</artifactId>
        </exclusion>
    </exclusions>
</dependency>

EDIT: Actually this does only allow to compile but can not work when starting the Transport client.

dadoonet added a commit to dadoonet/elasticsearch-beyonder that referenced this issue Feb 17, 2019
Note this is not a complete work as it will require elastic/elasticsearch#38944 to be fixed first.
tvernum added a commit to tvernum/elasticsearch that referenced this issue Feb 18, 2019
This is used by the reindex-client library which is published to maven

Relates: elastic#37287, elastic#37527
Closes: elastic#38944
tvernum added a commit that referenced this issue Feb 18, 2019
This is used by the reindex-client library which is published to maven

Relates: #37287, #37527
Closes: #38944
@tvernum
Copy link
Contributor

tvernum commented Feb 18, 2019

The required jar file is available as modules/reindex/elasticsearch-ssl-config-7.0.0-beta1.jar in the elasticsearch 7.0.0-beta1 install.
It depends on elasticsearch-core (as a compile dependency) and nothing else.

The build has been corrected so this will be published to maven in future releases.

tvernum added a commit to tvernum/elasticsearch that referenced this issue Feb 18, 2019
This is used by the reindex-client library which is published to maven

Relates: elastic#37287, elastic#37527
Closes: elastic#38944

Backport of: elastic#39019
dweiss added a commit to carrot2/elasticsearch-carrot2 that referenced this issue Mar 22, 2019
@mark-vieira mark-vieira added the Team:Delivery Meta label for Delivery team label Nov 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug :Delivery/Build Build or test infrastructure Team:Delivery Meta label for Delivery team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants