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

incorrect artifactId in x-pack-core Maven pom #37166

Closed
jecstarinnovations opened this issue Jan 6, 2019 · 4 comments · Fixed by #37315
Closed

incorrect artifactId in x-pack-core Maven pom #37166

jecstarinnovations opened this issue Jan 6, 2019 · 4 comments · Fixed by #37315
Assignees
Labels
:Delivery/Build Build or test infrastructure Team:Delivery Meta label for Delivery team

Comments

@jecstarinnovations
Copy link

Elasticsearch version (bin/elasticsearch --version): ersion: 6.5.4, Build: oss/tar/d2ef93d/2018-12-17T21:17:40.758843Z, JVM: 1.8.0_191

Plugins installed: Default plugins

JVM version (java -version): OpenJDK 64-Bit Server VM (build 25.191-b12, mixed mode)

OS version (uname -a if on a Unix-like system): Linux jecstar-laptop 4.19.13-300.fc29.x86_64 #1 SMP Sat Dec 29 22:54:28 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Description of the problem including expected versus actual behavior: I am unable to compile a gradle project when the java x-pack transport client is used as a compile dependency. The build fails with the following exception:

  > Could not resolve org.elasticsearch.plugin:x-pack-core:6.5.4.
     > inconsistent module metadata found. Descriptor: org.elasticsearch.plugin:core:6.5.4 Errors: bad module name: expected='x-pack-core' found='core'

The pom file located at https://artifacts.elastic.co/maven/org/elasticsearch/plugin/x-pack-core/6.5.4/x-pack-core-6.5.4.pom does indeed contain <artifactId>core</artifactId> instead of <artifactId>x-pack-core</artifactId>

Steps to reproduce:
Exctract the attached project and build it with ./gradlew build
xpack-build-error.tar.gz

@colings86 colings86 added the :Delivery/Build Build or test infrastructure label Jan 7, 2019
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra

@alpar-t alpar-t self-assigned this Jan 8, 2019
@alpar-t
Copy link
Contributor

alpar-t commented Jan 8, 2019

This broke with #32351

@Tiuser4567
Copy link

Hi @atorok
Just like to ask if the pom files of all affected versions (e.g. 6.5.2, ... 6.5.4 and so) will be updated in the elasticsearch maven repo https://artifacts.elastic.co/maven?
Or is there another updated repo I can refer to?

Thank you

@alpar-t
Copy link
Contributor

alpar-t commented Feb 4, 2019

We don't update already published artifacts. The fix will be coming in the versions labeled on the PR only.

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