mirror of
https://github.com/Alfresco/alfresco-sdk.git
synced 2025-05-19 17:15:24 +00:00
fixes issue #200
fixes issue #213 - refactored solr pom to properly be a WAR project (no more POM) - removed ANTRUN for good. using maven-war-plugin to pacakge a proper solr customized war - added packaging of the -config.zip customized artifact for solr - updated archetypes to include the new files - updated runner configuration to run also solr as webapp - added root webapp with index.html so that opening localhost:8080 points easily to the installed webapps - aded context for solr - fixed Solr INFO logging by adding delegate=false in the context-solr.xml so that slf4j is NOT duplicated - minor naming updates
This commit is contained in:
parent
65414648c8
commit
561aa10ff7
@ -127,6 +127,12 @@
|
|||||||
<include>**</include>
|
<include>**</include>
|
||||||
</includes>
|
</includes>
|
||||||
</fileSet>
|
</fileSet>
|
||||||
|
<fileSet encoding="UTF-8" filtered="false">
|
||||||
|
<directory>src/assembly</directory>
|
||||||
|
<includes>
|
||||||
|
<include>**</include>
|
||||||
|
</includes>
|
||||||
|
</fileSet>
|
||||||
<fileSet encoding="UTF-8" filtered="false">
|
<fileSet encoding="UTF-8" filtered="false">
|
||||||
<directory>src/main/resources</directory>
|
<directory>src/main/resources</directory>
|
||||||
<includes>
|
<includes>
|
||||||
@ -160,6 +166,12 @@
|
|||||||
<include>**</include>
|
<include>**</include>
|
||||||
</includes>
|
</includes>
|
||||||
</fileSet>
|
</fileSet>
|
||||||
|
<fileSet encoding="UTF-8" filtered="false">
|
||||||
|
<directory>src/main/webapp</directory>
|
||||||
|
<includes>
|
||||||
|
<include>**</include>
|
||||||
|
</includes>
|
||||||
|
</fileSet>
|
||||||
</fileSets>
|
</fileSets>
|
||||||
</module>
|
</module>
|
||||||
</modules>
|
</modules>
|
||||||
|
@ -15,10 +15,6 @@
|
|||||||
<profiles>
|
<profiles>
|
||||||
<profile>
|
<profile>
|
||||||
<id>run</id>
|
<id>run</id>
|
||||||
<properties>
|
|
||||||
<!-- Location of the Solr project, which is loaded via filesystem. Change if your Solr customization project lives in a different folder. -->
|
|
||||||
<solr.project.dir>${project.basedir}/../solr</solr.project.dir>
|
|
||||||
</properties>
|
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<plugin>
|
||||||
@ -56,17 +52,22 @@
|
|||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
<configuration>
|
<configuration>
|
||||||
<warSourceDirectory>${project.parent.basedir}/solr/target/solr-overlay</warSourceDirectory>
|
|
||||||
<path>/solr</path>
|
|
||||||
<useTestClasspath>false</useTestClasspath>
|
|
||||||
<ignorePackaging>true</ignorePackaging>
|
<ignorePackaging>true</ignorePackaging>
|
||||||
<useSeparateTomcatClassLoader>true</useSeparateTomcatClassLoader>
|
<useSeparateTomcatClassLoader>true</useSeparateTomcatClassLoader>
|
||||||
|
<path>/</path>
|
||||||
<systemProperties>
|
<systemProperties>
|
||||||
<solr.solr.home>${project.parent.basedir}/solr/solr_home</solr.solr.home>
|
<solr.solr.home>${project.parent.basedir}/solr/solr_home</solr.solr.home>
|
||||||
<java.io.tmpdir>${project.build.directory}</java.io.tmpdir>
|
|
||||||
</systemProperties>
|
</systemProperties>
|
||||||
<delegate>true</delegate>
|
|
||||||
<webapps>
|
<webapps>
|
||||||
|
<webapp>
|
||||||
|
<groupId>${project.groupId}</groupId>
|
||||||
|
<artifactId>solr</artifactId>
|
||||||
|
<version>${project.version}</version>
|
||||||
|
<type>war</type>
|
||||||
|
<asWebapp>true</asWebapp>
|
||||||
|
<contextPath>/solr</contextPath>
|
||||||
|
<contextFile>${project.build.directory}/contexts/context-solr.xml</contextFile>
|
||||||
|
</webapp>
|
||||||
<webapp>
|
<webapp>
|
||||||
<groupId>${project.groupId}</groupId>
|
<groupId>${project.groupId}</groupId>
|
||||||
<artifactId>repo</artifactId>
|
<artifactId>repo</artifactId>
|
||||||
@ -92,4 +93,5 @@
|
|||||||
</build>
|
</build>
|
||||||
</profile>
|
</profile>
|
||||||
</profiles>
|
</profiles>
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
@ -0,0 +1,22 @@
|
|||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>Alfresco SDK 2.x - Running Alfresco ${alfresco.version}</title>
|
||||||
|
</head>
|
||||||
|
<body style="font: 13px/1.231 Open Sans,arial,helvetica,clean,sans-serif;">
|
||||||
|
<img alt="Maven Alfresco SDK" src="https://github.com/Alfresco/alfresco-sdk/raw/master/src/site/resources/img/alfresco-maven-logo.jpg">
|
||||||
|
<p>Welcome to the <a href="https://github.com/Alfresco/alfresco-sdk/">Alfresco SDK</a> powered by Apache Maven! You can access the Alfresco components running embedded below:</p>
|
||||||
|
<ul>
|
||||||
|
<li><a href="/share">Alfresco Share</a></li>
|
||||||
|
<li><a href="/alfresco">Alfresco Repository</a></li>
|
||||||
|
<li><a href="/solr">Alfresco Solr</a></li>
|
||||||
|
</ul>
|
||||||
|
<p><b>Resources:</b></p>
|
||||||
|
<ul>
|
||||||
|
<li><a href="http://docs.alfresco.com">Alfresco Docs</a></li>
|
||||||
|
<li><a href="https://github.com/Alfresco/alfresco-sdk/fork">Fork this SDK!</a></li>
|
||||||
|
<li><a href="https://issues.alfresco.com/jira/browse/ALF">Report an Alfresco issue</a></li>
|
||||||
|
<li><a href="https://github.com/Alfresco/alfresco-sdk/issues/new">Report an SDK issue</a></li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -0,0 +1,12 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!-- This context file is used only for rapid development, never installed released with the webapp -->
|
||||||
|
<Context docBase="${project.parent.basedir}/solr/target/solr">
|
||||||
|
|
||||||
|
<Loader delegate="false" className="org.apache.catalina.loader.VirtualWebappLoader"
|
||||||
|
searchVirtualFirst="true"
|
||||||
|
virtualClasspath="${project.parent.basedir}/share-amp/target/classes;${project.parent.basedir}/solr/target/test-classes;${project.parent.basedir}/solr/target/share-amp/config" />
|
||||||
|
|
||||||
|
<!-- This enables hot reloading of web resources from uncompressed jars (while in prod they would be loaded from WEB-INF/lib/{\*.jar}/META-INF/resources -->
|
||||||
|
<JarScanner scanAllDirectories="true" />
|
||||||
|
|
||||||
|
</Context>
|
@ -2,8 +2,8 @@
|
|||||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<artifactId>${artifactId}</artifactId>
|
<artifactId>${artifactId}</artifactId>
|
||||||
<name>Alfresco Apache Solr Customization Module</name>
|
<name>Alfresco Apache Solr Customization Project</name>
|
||||||
<packaging>pom</packaging>
|
<packaging>war</packaging>
|
||||||
<description>Alfresco Apache Solr Customization</description>
|
<description>Alfresco Apache Solr Customization</description>
|
||||||
|
|
||||||
<parent>
|
<parent>
|
||||||
@ -12,171 +12,191 @@
|
|||||||
<version>${version}</version>
|
<version>${version}</version>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<properties>
|
<!-- The folder where the solr.home directory will be created. NOTE: this doesn't get cleaned by mvn clean, you need to invoke -Ppurge to clean this folder or remove it manually -->
|
||||||
<alfresco.solr.dir>${project.basedir}/solr_home</alfresco.solr.dir>
|
<properties>
|
||||||
<alfresco.solr.war.overlay>${project.build.directory}/${project.artifactId}-overlay</alfresco.solr.war.overlay>
|
<alfresco.solr.dir>${project.basedir}/solr_home</alfresco.solr.dir>
|
||||||
</properties>
|
</properties>
|
||||||
<build>
|
|
||||||
<plugins>
|
|
||||||
<plugin>
|
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
|
||||||
<artifactId>maven-dependency-plugin</artifactId>
|
|
||||||
<executions>
|
|
||||||
<execution>
|
|
||||||
<id>copy-alfresco-community-lib</id>
|
|
||||||
<goals><goal>unpack</goal></goals>
|
|
||||||
<phase>generate-resources</phase>
|
|
||||||
<configuration>
|
|
||||||
<outputDirectory>${alfresco.solr.dir}</outputDirectory>
|
|
||||||
<artifactItems>
|
|
||||||
<artifactItem>
|
|
||||||
<artifactId>alfresco-solr</artifactId>
|
|
||||||
<groupId>${alfresco.groupId}</groupId>
|
|
||||||
<classifier>config</classifier>
|
|
||||||
<version>${alfresco.version}</version>
|
|
||||||
<type>zip</type>
|
|
||||||
</artifactItem>
|
|
||||||
</artifactItems>
|
|
||||||
</configuration>
|
|
||||||
</execution>
|
|
||||||
<execution>
|
|
||||||
<id>copy-alfresco-solr</id>
|
|
||||||
<goals><goal>unpack</goal></goals>
|
|
||||||
<phase>generate-resources</phase>
|
|
||||||
<configuration>
|
|
||||||
<outputDirectory>${alfresco.solr.war.overlay}</outputDirectory>
|
|
||||||
<artifactItems>
|
|
||||||
<artifactItem>
|
|
||||||
<artifactId>alfresco-solr</artifactId>
|
|
||||||
<groupId>${alfresco.groupId}</groupId>
|
|
||||||
<version>${alfresco.version}</version>
|
|
||||||
<type>war</type>
|
|
||||||
</artifactItem>
|
|
||||||
</artifactItems>
|
|
||||||
</configuration>
|
|
||||||
</execution>
|
|
||||||
|
|
||||||
</executions>
|
<build>
|
||||||
</plugin>
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-resources-plugin</artifactId>
|
||||||
|
<!-- Copies overridden / custom configurations to solr -->
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>copy-solr-properties</id>
|
||||||
|
<phase>prepare-package</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>copy-resources</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<outputDirectory>${alfresco.solr.dir}</outputDirectory>
|
||||||
|
<resources>
|
||||||
|
<resource>
|
||||||
|
<directory>src/main/solr-properties/archive</directory>
|
||||||
|
<filtering>true</filtering>
|
||||||
|
<targetPath>${alfresco.solr.dir}/archive-SpacesStore/conf</targetPath>
|
||||||
|
</resource>
|
||||||
|
<resource>
|
||||||
|
<directory>src/main/solr-properties/workspace</directory>
|
||||||
|
<filtering>true</filtering>
|
||||||
|
<targetPath>${alfresco.solr.dir}/workspace-SpacesStore/conf</targetPath>
|
||||||
|
</resource>
|
||||||
|
<resource>
|
||||||
|
<directory>src/main/solr-properties</directory>
|
||||||
|
<filtering>true</filtering>
|
||||||
|
<includes>
|
||||||
|
<include>log4j-solr.properties</include>
|
||||||
|
</includes>
|
||||||
|
</resource>
|
||||||
|
</resources>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
<!-- Allows packaging of solr-home in a zip package with the 'config' classifier -->
|
||||||
|
<plugin>
|
||||||
|
<artifactId>maven-assembly-plugin</artifactId>
|
||||||
|
<version>2.4.1</version>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>make-assembly</id>
|
||||||
|
<phase>package</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>single</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<descriptors>
|
||||||
|
<descriptor>src/assembly/solr-config-assembly.xml</descriptor>
|
||||||
|
</descriptors>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
|
||||||
<!-- Replaces web.xml where applicable, commenting out the security-constraints -->
|
</executions>
|
||||||
<plugin>
|
</plugin>
|
||||||
<groupId>com.google.code.maven-replacer-plugin</groupId>
|
</plugins>
|
||||||
<artifactId>replacer</artifactId>
|
</build>
|
||||||
<executions>
|
|
||||||
<execution>
|
|
||||||
<id>disable-securecomms</id>
|
|
||||||
<phase>process-resources</phase>
|
|
||||||
<goals>
|
|
||||||
<goal>replace</goal>
|
|
||||||
</goals>
|
|
||||||
</execution>
|
|
||||||
</executions>
|
|
||||||
<configuration>
|
|
||||||
<ignoreErrors>true</ignoreErrors>
|
|
||||||
<file>${alfresco.solr.war.overlay}/WEB-INF/web.xml</file>
|
|
||||||
<replacements>
|
|
||||||
<replacement>
|
|
||||||
<token><![CDATA[<!-- <security-constraint>]]></token>
|
|
||||||
<value><![CDATA[<security-constraint>]]></value>
|
|
||||||
</replacement>
|
|
||||||
<replacement>
|
|
||||||
<token><![CDATA[</security-role> -->]]></token>
|
|
||||||
<value><![CDATA[</security-role>]]></value>
|
|
||||||
</replacement>
|
|
||||||
<replacement>
|
|
||||||
<token><![CDATA[<security-constraint>]]></token>
|
|
||||||
<value><![CDATA[<!-- <security-constraint>]]></value>
|
|
||||||
</replacement>
|
|
||||||
<replacement>
|
|
||||||
<token><![CDATA[</security-role>]]></token>
|
|
||||||
<value><![CDATA[</security-role> -->]]></value>
|
|
||||||
</replacement>
|
|
||||||
</replacements>
|
|
||||||
</configuration>
|
|
||||||
</plugin>
|
|
||||||
|
|
||||||
<plugin>
|
<dependencies>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<!-- The solr war -->
|
||||||
<artifactId>maven-antrun-plugin</artifactId>
|
<dependency>
|
||||||
<version>1.7</version>
|
<groupId>${alfresco.groupId}</groupId>
|
||||||
<executions>
|
<artifactId>alfresco-solr</artifactId>
|
||||||
<execution>
|
<version>${alfresco.version}</version>
|
||||||
<id>create-solr-war</id>
|
<type>war</type>
|
||||||
<phase>package</phase>
|
</dependency>
|
||||||
<goals>
|
<!-- The Alfresco solr classes for compilation purposes -->
|
||||||
<goal>run</goal>
|
<dependency>
|
||||||
</goals>
|
<groupId>${alfresco.groupId}</groupId>
|
||||||
<configuration>
|
<artifactId>alfresco-solr</artifactId>
|
||||||
<tasks>
|
<version>${alfresco.version}</version>
|
||||||
<echo message="Packaging Apache Solr WAR overlay" />
|
<classifier>classes</classifier>
|
||||||
<zip basedir="${alfresco.solr.war.overlay}" destfile="${alfresco.solr.dir}/apache-solr-1.4.1-overlay.war" />
|
<type>jar</type>
|
||||||
</tasks>
|
<scope>provided</scope>
|
||||||
</configuration>
|
</dependency>
|
||||||
</execution>
|
<!-- The Zipped solr.home default configuration -->
|
||||||
</executions>
|
<dependency>
|
||||||
</plugin>
|
<groupId>${alfresco.groupId}</groupId>
|
||||||
|
<artifactId>alfresco-solr</artifactId>
|
||||||
|
<classifier>config</classifier>
|
||||||
|
<version>${alfresco.version}</version>
|
||||||
|
<type>zip</type>
|
||||||
|
</dependency>
|
||||||
|
</dependencies>
|
||||||
|
|
||||||
<plugin>
|
<!-- Performs operations needed to run solr embedded (e.g. disable HTTPs) -->
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<profiles>
|
||||||
<artifactId>maven-resources-plugin</artifactId>
|
<profile>
|
||||||
<executions>
|
<id>run</id>
|
||||||
<execution>
|
<properties>
|
||||||
<id>overlay-web-xml</id>
|
<app.solr.patches.folder>${project.build.directory}/${project.build.finalName}-patches</app.solr.patches.folder>
|
||||||
<phase>generate-resources</phase>
|
</properties>
|
||||||
<goals><goal>copy-resources</goal></goals>
|
<build>
|
||||||
<configuration>
|
<plugins>
|
||||||
<outputDirectory>${alfresco.solr.war.overlay}/WEB-INF</outputDirectory>
|
<plugin>
|
||||||
<overwrite>true</overwrite>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<resources>
|
<artifactId>maven-dependency-plugin</artifactId>
|
||||||
<resource>
|
<executions>
|
||||||
<directory>src/main/resources</directory>
|
<execution>
|
||||||
<filtering>true</filtering>
|
<id>unpack-alfresco-config</id>
|
||||||
<targetPath>classes</targetPath>
|
<goals>
|
||||||
</resource>
|
<goal>unpack</goal>
|
||||||
</resources>
|
</goals>
|
||||||
</configuration>
|
<phase>generate-resources</phase>
|
||||||
</execution>
|
<configuration>
|
||||||
<execution>
|
<outputDirectory>${alfresco.solr.dir}</outputDirectory>
|
||||||
<id>copy-solr-resources</id>
|
<artifactItems>
|
||||||
<phase>package</phase>
|
<artifactItem>
|
||||||
<goals><goal>copy-resources</goal></goals>
|
<artifactId>alfresco-solr</artifactId>
|
||||||
<configuration>
|
<groupId>${alfresco.groupId}</groupId>
|
||||||
<outputDirectory>${alfresco.solr.dir}</outputDirectory>
|
<classifier>config</classifier>
|
||||||
<resources>
|
<version>${alfresco.version}</version>
|
||||||
<resource>
|
<type>zip</type>
|
||||||
<directory>src/main/solr-properties/archive</directory>
|
</artifactItem>
|
||||||
<filtering>true</filtering>
|
</artifactItems>
|
||||||
<targetPath>${alfresco.solr.dir}/archive-SpacesStore/conf</targetPath>
|
</configuration>
|
||||||
</resource>
|
</execution>
|
||||||
<resource>
|
</executions>
|
||||||
<directory>src/main/solr-properties/workspace</directory>
|
</plugin>
|
||||||
<filtering>true</filtering>
|
<plugin>
|
||||||
<targetPath>${alfresco.solr.dir}/workspace-SpacesStore/conf</targetPath>
|
<artifactId>maven-war-plugin</artifactId>
|
||||||
</resource>
|
<executions>
|
||||||
<resource>
|
<execution>
|
||||||
<directory>src/main/solr-properties</directory>
|
<id>unpack-solr-war</id>
|
||||||
<filtering>true</filtering>
|
<phase>prepare-package</phase>
|
||||||
<includes>
|
<goals>
|
||||||
<include>log4j-solr.properties</include>
|
<goal>exploded</goal>
|
||||||
</includes>
|
</goals>
|
||||||
</resource>
|
</execution>
|
||||||
</resources>
|
<execution>
|
||||||
</configuration>
|
<id>default-war</id>
|
||||||
</execution>
|
<configuration>
|
||||||
</executions>
|
<webXml>${app.solr.patches.folder}/WEB-INF/web.xml</webXml>
|
||||||
</plugin>
|
</configuration>
|
||||||
</plugins>
|
</execution>
|
||||||
</build>
|
</executions>
|
||||||
|
</plugin>
|
||||||
<dependencies>
|
<!-- Replaces web.xml where applicable, commenting out the security-constraints -->
|
||||||
<dependency>
|
<plugin>
|
||||||
<groupId>${alfresco.groupId}</groupId>
|
<groupId>com.google.code.maven-replacer-plugin</groupId>
|
||||||
<artifactId>alfresco-solr</artifactId>
|
<artifactId>replacer</artifactId>
|
||||||
<classifier>config</classifier>
|
<executions>
|
||||||
<version>${alfresco.version}</version>
|
<execution>
|
||||||
<type>zip</type>
|
<id>disable-securecomms</id>
|
||||||
</dependency>
|
<phase>prepare-package</phase>
|
||||||
</dependencies>
|
<goals>
|
||||||
|
<goal>replace</goal>
|
||||||
|
</goals>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
<configuration>
|
||||||
|
<file>${project.build.directory}/${project.build.finalName}/WEB-INF/web.xml</file>
|
||||||
|
<outputDir>${app.solr.patches.folder}/WEB-INF</outputDir>
|
||||||
|
<preserveDir>false</preserveDir>
|
||||||
|
<replacements>
|
||||||
|
<replacement>
|
||||||
|
<token><![CDATA[<!-- <security-constraint>]]></token>
|
||||||
|
<value><![CDATA[<security-constraint>]]></value>
|
||||||
|
</replacement>
|
||||||
|
<replacement>
|
||||||
|
<token><![CDATA[</security-role> -->]]></token>
|
||||||
|
<value><![CDATA[</security-role>]]></value>
|
||||||
|
</replacement>
|
||||||
|
<replacement>
|
||||||
|
<token><![CDATA[<security-constraint>]]></token>
|
||||||
|
<value><![CDATA[<!-- <security-constraint>]]></value>
|
||||||
|
</replacement>
|
||||||
|
<replacement>
|
||||||
|
<token><![CDATA[</security-role>]]></token>
|
||||||
|
<value><![CDATA[</security-role> -->]]></value>
|
||||||
|
</replacement>
|
||||||
|
</replacements>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
</profile>
|
||||||
|
</profiles>
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
@ -0,0 +1,19 @@
|
|||||||
|
<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2"
|
||||||
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd">
|
||||||
|
<id>config</id>
|
||||||
|
<formats>
|
||||||
|
<format>zip</format>
|
||||||
|
</formats>
|
||||||
|
<includeBaseDirectory>false</includeBaseDirectory>
|
||||||
|
<fileSets>
|
||||||
|
<fileSet>
|
||||||
|
<directory>${project.basedir}/solr_home</directory>
|
||||||
|
<!-- Excludes data -->
|
||||||
|
<excludes>
|
||||||
|
<exclude>archive/**</exclude>
|
||||||
|
<exclude>workspace/**</exclude>
|
||||||
|
</excludes>
|
||||||
|
</fileSet>
|
||||||
|
</fileSets>
|
||||||
|
</assembly>
|
Loading…
x
Reference in New Issue
Block a user