mirror of
https://github.com/Alfresco/SearchServices.git
synced 2026-09-16 18:12:56 +00:00
Merge pull request #13 from Alfresco/feature/SEARCH-664_Add_SearchServices-InsightEngine_version_to_the_Solr_Admin_UI
SEARCH-664 (Add SearchServices/InsightEngine version to the Solr Admi…
This commit is contained in:
@@ -8,7 +8,6 @@
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||
<project.timestamp>${maven.build.timestamp}</project.timestamp>
|
||||
<project.build.key>${bamboo_fullBuildKey}</project.build.key>
|
||||
<project.revision.key>${bamboo_repository_revision_number}</project.revision.key>
|
||||
</properties>
|
||||
<parent>
|
||||
@@ -199,6 +198,58 @@
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<!-- DO NOT CHANGE THE FORMATTING FOR THIS PLUGIN CONFIGURATION -->
|
||||
<groupId>com.google.code.maven-replacer-plugin</groupId>
|
||||
<artifactId>replacer</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>alter-index.css</id>
|
||||
<phase>prepare-package</phase>
|
||||
<goals>
|
||||
<goal>replace</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<file>${project.build.directory}/solr-${solr.version}/server/solr-webapp/webapp/css/angular/index.css</file>
|
||||
<replacements>
|
||||
<replacement>
|
||||
<token>property\.png \); }</token>
|
||||
<value>property.png ); }
|
||||
#content #index #versions .alfresco span { background-image: url( ../../img/alfresco-ico.png ); }</value>
|
||||
</replacement>
|
||||
</replacements>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>alter-index.html</id>
|
||||
<phase>prepare-package</phase>
|
||||
<goals>
|
||||
<goal>replace</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<file>${project.build.directory}/solr-${solr.version}/server/solr-webapp/webapp/partials/index.html</file>
|
||||
<replacements>
|
||||
<replacement>
|
||||
<token><li class="solr solr_spec_version"></token>
|
||||
<value>
|
||||
<li class="alfresco"><dl class="clearfix">
|
||||
<dt><span>Search Services</span></dt>
|
||||
<dd>\${project.version}</dd>
|
||||
</dl></li>
|
||||
|
||||
<li><dl class="clearfix">
|
||||
<dt><span></span></dt>
|
||||
<dd>\${project.revision.key} - \${project.timestamp}</dd>
|
||||
</dl></li>
|
||||
|
||||
<li class="solr solr_spec_version">
|
||||
</value>
|
||||
</replacement>
|
||||
</replacements>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-assembly-plugin</artifactId>
|
||||
<executions>
|
||||
|
||||
@@ -7,6 +7,11 @@
|
||||
<includeBaseDirectory>true</includeBaseDirectory>
|
||||
<baseDirectory>${project.artifactId}</baseDirectory>
|
||||
<fileSets>
|
||||
<fileSet>
|
||||
<directory>${project.build.outputDirectory}/solr/server/solr-webapp/webapp/img</directory>
|
||||
<outputDirectory>./solr/server/solr-webapp/webapp/img</outputDirectory>
|
||||
<filtered>false</filtered>
|
||||
</fileSet>
|
||||
<fileSet>
|
||||
<directory>${project.build.outputDirectory}</directory>
|
||||
<outputDirectory>.</outputDirectory>
|
||||
@@ -39,7 +44,6 @@
|
||||
<exclude>**/example/**</exclude>
|
||||
<exclude>**/bin/solr.in.sh</exclude>
|
||||
<exclude>**/bin/solr.in.cmd</exclude>
|
||||
|
||||
</excludes>
|
||||
</fileSet>
|
||||
<!-- Solr config -->
|
||||
|
||||
BIN
Binary file not shown.
|
After Width: | Height: | Size: 5.6 KiB |
Reference in New Issue
Block a user