You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by Dmitry Kan <dm...@gmail.com> on 2013/06/19 15:23:39 UTC
[lucene 4.3.1] solr webapp is put to null directory on maven build
Hello,
executing 'package' on Apache Solr Search Server pom
(maven-build/solr/webapp/pom.xml) puts the webapp into a null sub-directory.
Apache Maven 3.0.4
OS: Ubuntu 12.04 LTS
Thanks,
Dmitry Kan
Re: [lucene 4.3.1] solr webapp is put to null directory on maven build
Posted by Steve Rowe <sa...@gmail.com>.
Thanks for reporting, Dmitry, I'll take a look. - Steve
On Jun 19, 2013, at 10:06 AM, Dmitry Kan <dm...@gmail.com> wrote:
> After adding:
>
> <build-directory>target</build-directory>
>
> the war file is put into the target subdir.
>
>
> On a side note:
>
> running solr with maven jetty plugin seem to work, which required two artifacts (couldn't figure out where does jetty store the lib dir in this mode):
>
> command. mvn jetty:run-war
>
> (configured in the jetty-maven-plugin):
>
> <dependencies>
> <dependency>
> <groupId>ch.qos.logback</groupId>
> <artifactId>logback-classic</artifactId>
> <version>1.0.13</version>
> </dependency>
> <dependency>
> <groupId>tomcat</groupId>
> <artifactId>commons-logging</artifactId>
> <version>4.0.6</version>
> </dependency>
> </dependencies>
>
>
> when starting the webapp, however, solr tries to create a collection1:
>
> 17:02:53.108 [coreLoadExecutor-3-thread-1] INFO org.apache.solr.core.CoreContainer - Creating SolrCore 'collection1' using instanceDir: ${top-level}/solr/example/solr/collection1
>
> Apparently, ${top-level} var isn't defined either.
>
>
>
>
> On 19 June 2013 16:25, Dmitry Kan <dm...@gmail.com> wrote:
> also: ${build-directory} is not set anywhere in the project.
>
>
> On 19 June 2013 16:23, Dmitry Kan <dm...@gmail.com> wrote:
> Hello,
>
> executing 'package' on Apache Solr Search Server pom (maven-build/solr/webapp/pom.xml) puts the webapp into a null sub-directory.
>
> Apache Maven 3.0.4
> OS: Ubuntu 12.04 LTS
>
> Thanks,
>
> Dmitry Kan
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
Re: [lucene 4.3.1] solr webapp is put to null directory on maven build
Posted by Dmitry Kan <dm...@gmail.com>.
After adding:
<build-directory>target</build-directory>
the war file is put into the target subdir.
On a side note:
running solr with maven jetty plugin seem to work, which required two
artifacts (couldn't figure out where does jetty store the lib dir in this
mode):
command. mvn jetty:run-war
(configured in the jetty-maven-plugin):
<dependencies>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>1.0.13</version>
</dependency>
<dependency>
<groupId>tomcat</groupId>
<artifactId>commons-logging</artifactId>
<version>4.0.6</version>
</dependency>
</dependencies>
when starting the webapp, however, solr tries to create a collection1:
17:02:53.108 [coreLoadExecutor-3-thread-1] INFO
org.apache.solr.core.CoreContainer - Creating SolrCore 'collection1' using
instanceDir: ${top-level}/solr/example/solr/collection1
Apparently, ${top-level} var isn't defined either.
On 19 June 2013 16:25, Dmitry Kan <dm...@gmail.com> wrote:
> also: ${build-directory} is not set anywhere in the project.
>
>
> On 19 June 2013 16:23, Dmitry Kan <dm...@gmail.com> wrote:
>
>> Hello,
>>
>> executing 'package' on Apache Solr Search Server pom
>> (maven-build/solr/webapp/pom.xml) puts the webapp into a null sub-directory.
>>
>> Apache Maven 3.0.4
>> OS: Ubuntu 12.04 LTS
>>
>> Thanks,
>>
>> Dmitry Kan
>>
>
>
Re: [lucene 4.3.1] solr webapp is put to null directory on maven build
Posted by Dmitry Kan <dm...@gmail.com>.
also: ${build-directory} is not set anywhere in the project.
On 19 June 2013 16:23, Dmitry Kan <dm...@gmail.com> wrote:
> Hello,
>
> executing 'package' on Apache Solr Search Server pom
> (maven-build/solr/webapp/pom.xml) puts the webapp into a null sub-directory.
>
> Apache Maven 3.0.4
> OS: Ubuntu 12.04 LTS
>
> Thanks,
>
> Dmitry Kan
>