Build failure-2.4.4 snapshot

Hi All,

i know 2.4.4 has been released but i'm doing the same on eclipse through source code and getting below error.

please look into this and reply. Thanks in advance.

Building Distribution: Parent POM 2.4.4-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] Downloading: https://oss.sonatype.org/content/repositories/snapshots/org/elasticsearch/elasticsearch/2.4.4-SNAPSHOT/maven-metadata.xml
[INFO] Downloading: https://oss.sonatype.org/content/repositories/snapshots/org/elasticsearch/elasticsearch/2.4.4-SNAPSHOT/maven-metadata.xml
[INFO] Downloading: https://oss.sonatype.org/content/repositories/snapshots/org/elasticsearch/elasticsearch/2.4.4-SNAPSHOT/elasticsearch-2.4.4-SNAPSHOT-tests.jar
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Build Tools and Resources .......................... SUCCESS [ 2.011 s]
[INFO] Rest API Specification ............................. SUCCESS [ 4.311 s]
[INFO] Elasticsearch: Parent POM .......................... SUCCESS [ 18.482 s]
[INFO] Elasticsearch: Core ................................ SUCCESS [03:37 min]
[INFO] Distribution: Parent POM ........................... FAILURE [ 4.763 s]
[INFO] Integration Test Package: ZIP ...................... SKIPPED
[INFO] Module: Parent POM ................................. SKIPPED
[INFO] Module: Language: Expression ....................... SKIPPED
[INFO] Module: Language: Groovy ........................... SKIPPED
[INFO] Module: Reindex .................................... SKIPPED
[INFO] Distribution: TAR .................................. SKIPPED
[INFO] Distribution: ZIP .................................. SKIPPED
[INFO] Distribution: Deb .................................. SKIPPED
[INFO] Plugin: Parent POM ................................. SKIPPED
[INFO] Plugin: Analysis: Japanese (kuromoji) .............. SKIPPED
[INFO] Plugin: Analysis: Smart Chinese (smartcn) .......... SKIPPED
[INFO] Plugin: Analysis: Polish (stempel) ................. SKIPPED
[INFO] Plugin: Analysis: Phonetic ......................... SKIPPED
[INFO] Plugin: Analysis: ICU .............................. SKIPPED
[INFO] Plugin: Cloud: Google Compute Engine ............... SKIPPED
[INFO] Plugin: Cloud: Azure ............................... SKIPPED
[INFO] Plugin: Cloud: AWS ................................. SKIPPED
[INFO] Plugin: Delete By Query ............................ SKIPPED
[INFO] Plugin: Discovery: Multicast ....................... SKIPPED
[INFO] Plugin: Language: JavaScript ....................... SKIPPED
[INFO] Plugin: Language: Python ........................... SKIPPED
[INFO] Plugin: Mapper: Attachments ........................ SKIPPED
[INFO] Plugin: Mapper: Murmur3 ............................ SKIPPED
[INFO] Plugin: Mapper: Size ............................... SKIPPED
[INFO] Plugin: JVM example ................................ SKIPPED
[INFO] Plugin: Example site ............................... SKIPPED
[INFO] QA: Parent POM ..................................... SKIPPED
[INFO] QA: Smoke Test Plugins ............................. SKIPPED
[INFO] QA: Smoke Test Multi-Node IT ....................... SKIPPED
[INFO] QA: Smoke Test Client .............................. SKIPPED
[INFO] QA: Smoke Test Command Line Params ................. SKIPPED
[INFO] QA: Smoke Test Reindex with Groovy ................. SKIPPED
[INFO] QA: Backwards Compatibility ........................ SKIPPED
[INFO] QA: BWC: Shared .................................... SKIPPED
[INFO] QA: BWC: Two Versions Parent ....................... SKIPPED
[INFO] QA: BWC: Current ................................... SKIPPED
[INFO] QA: BWC: 2.0 ....................................... SKIPPED
[INFO] QA: BWC: 2.1 ....................................... SKIPPED
[INFO] QA: BWC: 2.2 ....................................... SKIPPED
[INFO] QA: BWC: 2.3 ....................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 04:09 min
[INFO] Finished at: 2018-01-31T15:52:22+05:30
[INFO] Final Memory: 63M/795M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project distributions: Could not resolve dependencies for project org.elasticsearch.distribution:distributions:pom:2.4.4-SNAPSHOT: Could not find artifact org.elasticsearch:elasticsearch:jar:tests:2.4.4-SNAPSHOT in oss-snapshots (https://oss.sonatype.org/content/repositories/snapshots/) -> [Help 1]
[ERROR]

Why would you like to build a version that has been released?

want to add certain custom plugins with this version.

Sure. But you don't need to build elasticsearch.
Just build your plugin. And depend on version 2.4.4 instead of 2.4.4-SNAPSHOT.

can you please explain a bit as i'm not able to get source code zip file of version 2.4.4.

i'm not able to get source code zip file of version 2.4.4.

I understand. It's because the tag is "wrongly set" on the repository. You can download the tag GitHub - elastic/elasticsearch at v2.4.4 and then replace in the pom.xml 2.4.4-SNAPSHOT by 2.4.4 and then compile.

BUT that is not going to help you. I mean that you don't need to build elasticsearch in order to build a plugin.

1 Like

I've changed the same in all POM.XML and now its success.

Thank you for your help!!!

[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10:38 min
[INFO] Finished at: 2018-02-01T09:05:25+05:30
[INFO] Final Memory: 92M/780M
[INFO] ------------------------------------------------------------------------

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.