Hi Tariq, It’s difficult to tell what happened without seeing the logs from the failed test(s). (The commands you issued look fine.)
-- Steve www.lucidworks.com > On Oct 29, 2017, at 1:48 AM, Tarique Anwer <xenu...@gmail.com> wrote: > > hi, > > 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 > > 3. then build: > $ mvn -DskipTests install > > Which shows that build is successful. > > So I tried to run the tests afterwords: > $ mvn test > > But tests are failing: > > [INFO] Apache Solr Analysis Extras ........................ FAILURE [02:48 > min] > [INFO] Apache Solr Core tests ............................. SKIPPED > [INFO] Apache Solr Core aggregator POM .................... SKIPPED > [INFO] Apache Solr Solrj tests ............................ SKIPPED > [INFO] Apache Solr Solrj aggregator POM ................... SKIPPED > [INFO] Apache Solr Analytics Package ...................... SKIPPED > [INFO] Apache Solr Clustering ............................. SKIPPED > [INFO] Apache Solr DataImportHandler ...................... SKIPPED > [INFO] Apache Solr DataImportHandler Extras ............... SKIPPED > [INFO] Apache Solr Content Extraction Library ............. SKIPPED > [INFO] Apache Solr Language Identifier .................... SKIPPED > [INFO] Apache Solr Learning to Rank Package ............... SKIPPED > [INFO] Apache Solr UIMA integration ....................... SKIPPED > [INFO] Apache Solr Velocity ............................... SKIPPED > [INFO] Apache Solr Contrib aggregator POM ................. SKIPPED > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 17:45 min > [INFO] Finished at: 2017-10-29T05:46:43Z > [INFO] Final Memory: 194M/1999M > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-surefire-plugin:2.17:test (default-test) on > project solr-analysis-extras: There are test failures. > [ERROR] > [ERROR] Please refer to > /home/ec2-user/tariq/lucene-solr-master/maven-build/solr/contrib/analysis-extras/target/surefire-reports > for the individual test results. > [ERROR] -> [Help 1] > > > > Did I do something wrong? Or i missed some steps before build. > Any help is highly appreciated. > > > With Regards, > > Tariq