mirror of
https://github.com/Alfresco/SearchServices.git
synced 2025-09-10 14:11:25 +00:00
155 lines
7.6 KiB
XML
155 lines
7.6 KiB
XML
<?xml version="1.0" encoding="UTF-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/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<parent>
|
|
<groupId>org.alfresco</groupId>
|
|
<artifactId>alfresco-super-pom</artifactId>
|
|
<version>10</version>
|
|
</parent>
|
|
<artifactId>alfresco-search-and-insight-parent</artifactId>
|
|
<version>1.4.3.0-SNAPSHOT</version>
|
|
<packaging>pom</packaging>
|
|
<name>Alfresco Search And Insight Parent</name>
|
|
<distributionManagement>
|
|
<repository>
|
|
<id>alfresco-internal</id>
|
|
<url>https://artifacts.alfresco.com/nexus/content/repositories/enterprise-releases/</url>
|
|
</repository>
|
|
<snapshotRepository>
|
|
<id>alfresco-internal-snapshots</id>
|
|
<url>https://artifacts.alfresco.com/nexus/content/repositories/enterprise-snapshots/</url>
|
|
</snapshotRepository>
|
|
</distributionManagement>
|
|
<scm>
|
|
<connection>scm:git:ssh://git@github.com/Alfresco/InsightEngine.git</connection>
|
|
<developerConnection>scm:git:ssh://git@github.com/Alfresco/InsightEngine.git</developerConnection>
|
|
<url>scm:git:ssh://git@github.com/Alfresco/InsightEngine.git</url>
|
|
<tag>HEAD</tag>
|
|
</scm>
|
|
<properties>
|
|
<java.version>11</java.version>
|
|
<solr.base.version>6.6.5</solr.base.version>
|
|
<solr.version>${solr.base.version}-patched.2</solr.version>
|
|
<!-- The location to download the solr zip file from. -->
|
|
<!-- <solr.zip>https://archive.apache.org/dist/lucene/solr/${solr.version}/solr-${solr.version}.zip</solr.zip> -->
|
|
<!-- Solr startup scripts do not work with any Java version higher than 9 so the scripts have been patched -->
|
|
<solr.zip>https://artifacts.alfresco.com/nexus/content/repositories/public/org/apache/solr/solr/solr-${solr.version}/solr-solr-${solr.version}.zip</solr.zip>
|
|
<solr.directory>${project.build.directory}/solr-${solr.version}</solr.directory>
|
|
<licenseName>enterprise</licenseName>
|
|
<license.update.dryrun>true</license.update.dryrun>
|
|
</properties>
|
|
<modules>
|
|
<module>search-services</module>
|
|
<module>insight-engine</module>
|
|
<module>e2e-test</module>
|
|
</modules>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.8.1</version>
|
|
<configuration>
|
|
<release>${java.version}</release>
|
|
<target>${java.version}</target>
|
|
<showWarnings>true</showWarnings>
|
|
<showDeprecation>true</showDeprecation>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-failsafe-plugin</artifactId>
|
|
<version>2.22.2</version>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>integration-test</goal>
|
|
<goal>verify</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<runOrder>alphabetical</runOrder>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>license-maven-plugin</artifactId>
|
|
<configuration>
|
|
<addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
|
|
<organizationName>Alfresco Software Limited</organizationName>
|
|
<canUpdateCopyright>true</canUpdateCopyright>
|
|
<failOnMissingHeader>true</failOnMissingHeader>
|
|
<failOnNotUptodateHeader>true</failOnNotUptodateHeader>
|
|
<licenseResolver>classpath://alfresco</licenseResolver>
|
|
<licenseName>${licenseName}</licenseName>
|
|
<dryRun>${license.update.dryrun}</dryRun>
|
|
<roots>
|
|
<root>src</root>
|
|
</roots>
|
|
<includes>
|
|
<include>**/*.java</include>
|
|
<include>**/*.jsp</include>
|
|
</includes>
|
|
<!-- Classes derivated from SOLR Source code include the Apache License header -->
|
|
<excludes>
|
|
<exclude>**/org/alfresco/solr/component/AsyncBuildSuggestComponent.java</exclude>
|
|
<exclude>**/org/apache/solr/client/solrj/io/sql/ConnectionImpl.java</exclude>
|
|
<exclude>**/org/apache/solr/client/solrj/io/sql/DatabaseMetaDataImpl.java</exclude>
|
|
<exclude>**/org/apache/solr/client/solrj/io/sql/ResultSetImpl.java</exclude>
|
|
<exclude>**/org/apache/solr/client/solrj/io/sql/StatementImpl.java</exclude>
|
|
<exclude>**/org/alfresco/solr/handler/AlfrescoIndexFetcher.java</exclude>
|
|
<exclude>**/org/alfresco/solr/handler/AlfrescoReplicationHandler.java</exclude>
|
|
<exclude>**/org/alfresco/solr/handler/OldBackupDirectory.java</exclude>
|
|
<exclude>**/org/alfresco/solr/handler/SnapShooter.java</exclude>
|
|
<exclude>**/org/alfresco/solr/sql/SolrAggregate.java</exclude>
|
|
<exclude>**/org/alfresco/solr/sql/SolrEnumerator.java</exclude>
|
|
<exclude>**/org/alfresco/solr/sql/SolrFilter.java</exclude>
|
|
<exclude>**/org/alfresco/solr/sql/SolrMethod.java</exclude>
|
|
<exclude>**/org/alfresco/solr/sql/SolrProject.java</exclude>
|
|
<exclude>**/org/alfresco/solr/sql/SolrRel.java</exclude>
|
|
<exclude>**/org/alfresco/solr/sql/SolrRules.java</exclude>
|
|
<exclude>**/org/alfresco/solr/sql/SolrSort.java</exclude>
|
|
<exclude>**/org/alfresco/solr/sql/SolrTable.java</exclude>
|
|
<exclude>**/org/alfresco/solr/sql/SolrTableScan.java</exclude>
|
|
<exclude>**/org/alfresco/solr/sql/SolrToEnumerableConverter.java</exclude>
|
|
<exclude>**/org/alfresco/solr/sql/SolrToEnumerableConverterRule.java</exclude>
|
|
<exclude>**/org/alfresco/solr/stream/FacetStream.java</exclude>
|
|
<exclude>**/org/alfresco/solr/stream/JDBCStream.java</exclude>
|
|
<exclude>**/org/alfresco/solr/stream/JSONTupleStream.java</exclude>
|
|
<exclude>**/org/alfresco/solr/stream/LimitStream.java</exclude>
|
|
<exclude>**/org/alfresco/solr/stream/StatsStream.java</exclude>
|
|
<exclude>**/org/alfresco/solr/stream/StreamHandler.java</exclude>
|
|
<exclude>**/org/alfresco/solr/stream/TimeSeriesStream.java</exclude>
|
|
</excludes>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>check-licenses</id>
|
|
<phase>compile</phase>
|
|
<goals>
|
|
<goal>update-file-header</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.alfresco</groupId>
|
|
<artifactId>alfresco-license-headers</artifactId>
|
|
<version>1.0</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
<dependencies>
|
|
<!-- Used to declare false positives for FindBugs -->
|
|
<dependency>
|
|
<groupId>findbugs</groupId>
|
|
<artifactId>annotations</artifactId>
|
|
<version>1.0.0</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
</project>
|