mirror of
https://github.com/Alfresco/SearchServices.git
synced 2026-09-16 18:12:56 +00:00
SEARCH-56: Moved solrhome to a top level directory
This commit is contained in:
@@ -110,10 +110,28 @@
|
||||
<overWriteSnapshots>true</overWriteSnapshots>
|
||||
</configuration>
|
||||
</execution>
|
||||
|
||||
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<!-- Set the default solr home directory to solrhome -->
|
||||
<artifactId>maven-antrun-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>prepare-package</phase>
|
||||
<configuration>
|
||||
<target>
|
||||
<replace token= "SOLR_SERVER_DIR/solr" value="SOLR_TIP/../solrhome" dir="target/solr-${solr.version}">
|
||||
<include name="**/bin/solr"/>
|
||||
</replace>
|
||||
<chmod file="target/solr-${solr.version}/bin/solr" perm="755"/>
|
||||
</target>
|
||||
</configuration>
|
||||
<goals>
|
||||
<goal>run</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-assembly-plugin</artifactId>
|
||||
<executions>
|
||||
|
||||
@@ -10,11 +10,15 @@
|
||||
<fileSet>
|
||||
<directory>target/solr-${solr.version}</directory>
|
||||
<outputDirectory>solr</outputDirectory>
|
||||
<excludes>
|
||||
<exclude>**/server/solr/**</exclude>
|
||||
<exclude>**/example/**</exclude>
|
||||
</excludes>
|
||||
</fileSet>
|
||||
<!-- Solr config -->
|
||||
<fileSet>
|
||||
<directory>target/alfresco-solr/solr/instance</directory>
|
||||
<outputDirectory>solr/server/solr/</outputDirectory>
|
||||
<outputDirectory>solrhome</outputDirectory>
|
||||
<excludes>
|
||||
<exclude>**/workspace-SpacesStore/**</exclude>
|
||||
<exclude>**/archive-SpacesStore/**</exclude>
|
||||
|
||||
Reference in New Issue
Block a user