lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adeel Qureshi <>
Subject using maven to deploy solr on tomcat
Date Mon, 15 Apr 2013 20:33:11 GMT
I am trying to embed solr war in an empty application to be able to use
maven to deploy the generated war file (that includes solr war) to tomcat.
My pom file is simple


this brings in the solr war but now i need to specify solr home to choose
between a dev and prod directory as the solr home. So I have setup a env

<Environment name="solr/home" override="true" type="java.lang.String"

but this leads to absolute path of

INFO: Using JNDI solr.home: src/main/resources/solr-dev
INFO: looking for solr.xml:

notice that its uses the given path as absolute path and obviously doesnt
ends up looking inside the application directory for these config directory.

Any help would be appreciate.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message