On 4/25/2018 4:12 AM, rameshkjes wrote:
Actually I am trying to approach this problem from another way. I am taking user input from gui which is direcotory of dataset, and saving that path in properties file. Since I am using Maven, so I am able to access that path in my pom file using properties tag. So, now is it possible to use that properties variable from pom.xml to the data-conf.xml? do you think, it is right way?
Maven is used to build a program from source. Maven is not involved when running Solr unless you're doing something non-standard. It's difficult for this list to support a non-standard setup.
What are you trying to do? Perhaps there is a way to do it that doesn't involve using unexpected tools.
If you must use Maven, you may be on your own in trying to get it to work with Solr. I have never heard of such an integration before except at build time. The maven build for Lucene/Solr is not the standard build tool. The standard build uses ant.
Thanks, Shawn