Another important question is which branch did you download? I assume master as its the default, but remember that is a development branch, so it is entirely possible to have some test issues on that.
On 31 October 2017 at 13:44, Shawn Heisey <apa...@elyograg.org> wrote: > On 10/28/2017 11:48 PM, Tarique Anwer wrote: > > I am new to Solr. > > I am trying to build Solr from source code using Maven. > > So I performed the following steps: > > > > 1. Download the source code zip from https://github.com/apache/ > lucene-solr > > 2. unzip & run from top level dir: > > $ ant get-maven-poms > > $ cd maven-build > > Maven is not the official build system. It is included as an alternate > option, but doesn't get the same attention as the official system. > > The maven output gave you the location of more details about the tests > that failed. Look there for more information. > > Or install/use ant, which is the official build system for Lucene and > Solr, and gives more information about test failures as part of the > build output. > > https://wiki.apache.org/solr/HowToContribute > > Sometimes Solr tests fail, even on released code. Such failures are > investigated. Sometimes the test itself is faulty, sometimes it's the > code that is being tested. Sometimes the test framework randomizes a > combination of settings that doesn't actually work. > > Unless you need to have access to the source code for learning purposes, > or because you need to engage in development related to Solr, download > the binary release and don't worry about compiling it. > > Thanks, > Shawn > >