Hi,
if you want to deploy the SOLR war on tomcat you should do once so why do you need a maven archetype? You can just get the war from the website and deploy to your server.

If you need to use maven because you are, for example, developing in eclipse and you want to just launch jetty:run and have your configuration, jetty and solr up and ready you could add the solr war dependency to your pom.xml and appropriately configure your maven-jetty plugin

<dependency>
    <groupId>org.apache.solr</groupId>
    <artifactId>solr</artifactId>
    <version>4.6.0</version>
</dependency>

My personal experience on SOLR: the servlet engine where you deploy SOLR is not very important, assuming you are choosing one of the most popular (Jetty, Tomcat, JBoss, WebLogic)...personally, since SOLR is a war, I would prefer a simple servlet engine instead of an application server (e.g. JBoss, WebSphere, Geronimo, Weblogic) because you dont need (if you don't need) all beautiful and complex things that those monsters carry on...

Best,
Andrea

On 12/06/2013 03:04 PM, Erwin Etchart wrote:
Hi to everybody.

Im not going to say that im new in solr, but im new in solr.
I been googling a lot of things to start  with solr, but i would like to
know if there is a maven archetype for the 4.6 version (to deploy in
tomcat).
Also i would like to know (based in best practices) what the comunity
recommends about solr deployment, if is better to use a solr home directory
or use just a war inside tomcat instalation with all the configuration
inside.

Thanks and regards

Erwin


Reply via email to