elasticsearch/elasticsearch — pull request #4407 by ongardie (2013-12-11 02:21:58+00:00)
Title: Print nice error in bin/elasticsearch if user needs to run Maven

Before, people that cloned the repo and expected to be able to run
bin/elasticsearch would be met with an awful shell error: the shell
interprets Maven variables like ${project.build.finalName} as shell
variables yet can't handle names of the form ${x.y}. This commit
explicitly checks to make sure that Maven has done its substitutions
before continuing; if Maven hasn't been run, it gives a helpful error
message.

Fixes #2954.