yacy_search_server/pom.xml

629 lines
24 KiB
XML
Raw Normal View History

2013-01-20 21:08:59 +01:00
<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>
<groupId>net.yacy</groupId>
<artifactId>yacycore</artifactId>
2016-12-26 15:00:55 +01:00
<version>1.92</version>
2013-01-20 21:08:59 +01:00
<packaging>jar</packaging>
<description>YaCy - a Peer to Peer Web Search Engine</description>
<name>YaCy Search Server</name>
2013-01-20 21:08:59 +01:00
<url>http://www.yacy.net</url>
<issueManagement>
<system>YaCy Bugtracker</system>
<url>http://bugs.yacy.net</url>
</issueManagement>
<scm>
<connection>scm:git:https://github.com/yacy/yacy_search_server.git</connection>
<url>https://github.com/yacy/yacy_search_server</url>
2013-01-20 21:08:59 +01:00
</scm>
<licenses>
<license>
<name>GNU General Public License</name>
<url>http://www.gnu.org/licenses/gpl-2.0</url>
</license>
</licenses>
<developers>
<developer>
<name>Michael Peter Christen</name>
</developer>
</developers>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
2014-05-08 22:18:12 +02:00
<maven.compiler.source>1.7</maven.compiler.source>
<maven.compiler.target>1.7</maven.compiler.target>
2013-10-30 01:13:12 +01:00
<!-- the Solr version used in dependency section for all related dependencies -->
2017-01-21 00:26:04 +01:00
<solr.version>5.5.3</solr.version>
2015-02-28 19:48:29 +01:00
<!-- the Jetty version used in dependency section for all related dependencies -->
2017-02-11 19:53:27 +01:00
<jetty.version>9.2.21.v20170120</jetty.version>
2015-02-28 19:48:29 +01:00
<!-- properties used for filtering yacyBuildProperties.java -->
<REPL_DATE>${DSTAMP}</REPL_DATE>
<REPL_RELEASE>yacy_v${project.version}_${DSTAMP}_${releaseNr}.tar.gz</REPL_RELEASE>
<REPL_VERSION>${project.version}</REPL_VERSION>
<REPL_REVISION_NR>${releaseNr}</REPL_REVISION_NR>
<REPL_YACY_ROOT_DIR>.</REPL_YACY_ROOT_DIR>
<REPL_PKGMANAGER>false</REPL_PKGMANAGER>
<REPL_RESTARTCMD>/etc/init.d/yacy restart</REPL_RESTARTCMD>
2013-01-20 21:08:59 +01:00
</properties>
<build>
<sourceDirectory>source</sourceDirectory>
<testSourceDirectory>test/java</testSourceDirectory>
2013-01-20 21:08:59 +01:00
<finalName>yacycore</finalName>
<plugins>
2013-10-30 01:13:12 +01:00
<!-- included to make htroot visible in IDE (Netbeans) -->
2013-01-20 21:08:59 +01:00
<plugin>
2013-10-30 01:13:12 +01:00
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
2015-05-10 03:00:05 +02:00
<version>2.6</version>
2013-10-30 01:13:12 +01:00
<configuration>
<warSourceDirectory>htroot</warSourceDirectory>
</configuration>
2013-01-20 21:08:59 +01:00
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.5.1</version>
2013-01-20 21:08:59 +01:00
<configuration>
<excludes>
<!-- special exclude for compatibility with ant build script
Note: the ant build uses a tricky source filtering to filter yacyBuildProperties.java
for the Maven build the original source is used for filtering to produce generated-sources.
For the ant build script the yacyBuildProperties.java must be at it's origianl location,
thus it is excluded here to prevent Maven compile error "duplicate source"
-->
<exclude>net/yacy/peers/operation/*.java</exclude>
</excludes>
2013-10-30 01:13:12 +01:00
<source>${maven.compiler.source}</source>
<target>${maven.compiler.target}</target>
2013-01-20 21:08:59 +01:00
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
2015-05-10 03:00:05 +02:00
<version>2.6</version>
2013-01-20 21:08:59 +01:00
<configuration>
<archive>
<manifest>
<mainClass>net.yacy.yacy</mainClass>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
2013-10-30 01:13:12 +01:00
<addClasspath>true</addClasspath>
2013-01-20 21:08:59 +01:00
</manifest>
<manifestEntries>
<Implementation-Build>${project.version}-${releaseNr}</Implementation-Build>
2013-01-20 21:08:59 +01:00
</manifestEntries>
</archive>
2013-01-20 21:08:59 +01:00
</configuration>
</plugin>
<plugin>
<artifactId>maven-clean-plugin</artifactId>
<version>2.6.1</version>
<configuration>
<filesets>
<!-- clean htroot servlet classes -->
<fileset>
<directory>htroot</directory>
<includes>
<include>**/*.class</include>
</includes>
</fileset>
<!-- clean test data -->
<fileset>
<directory>test/DATA</directory>
</fileset>
</filesets>
</configuration>
</plugin>
2013-01-20 21:08:59 +01:00
2013-10-30 01:13:12 +01:00
<!-- compile htroot -->
2013-01-20 21:08:59 +01:00
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.8</version>
2013-01-20 21:08:59 +01:00
<executions>
<execution>
<id>compile-htroot</id>
<phase>compile</phase>
<configuration>
<target>
<javac fork="true" srcdir="htroot"
2013-01-20 21:08:59 +01:00
excludes="processing/**"
source="${maven.compiler.source}" target="${maven.compiler.target}"
debug="true" debuglevel="lines,vars,source"
includeantruntime="false" encoding="UTF-8">
2013-01-20 21:08:59 +01:00
<classpath refid="maven.compile.classpath"/>
<compilerarg value="-Xlint"/>
</javac>
</target>
2013-01-20 21:08:59 +01:00
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.10.4</version>
2013-01-20 21:08:59 +01:00
<configuration>
<reportOutputDirectory>javadoc</reportOutputDirectory>
2013-01-20 21:08:59 +01:00
<author>true</author>
<version>true</version>
<use>true</use>
<charset>UTF-8</charset>
<encoding>UTF-8</encoding>
<windowtitle>YaCy API: javadoc documentation</windowtitle>
<includes>
${project.build.directory}/*.java
</includes>
<failOnError>false</failOnError>
2013-01-20 21:08:59 +01:00
</configuration>
</plugin>
2013-01-20 21:08:59 +01:00
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>templating-maven-plugin</artifactId>
<version>1.0.0</version>
2013-01-20 21:08:59 +01:00
<executions>
<execution>
<id>filter-src</id>
2013-01-20 21:08:59 +01:00
<goals>
<goal>filter-sources</goal>
2013-01-20 21:08:59 +01:00
</goals>
<configuration>
<!-- sourceDirectory should be a separate template directory like
<sourceDirectory>${basedir}/libbuild/java-templates</sourceDirectory>
to not duplicate the yacyBuildProperties.java we use the original files as sourceDirectory
(to be compatible with the ant build.xml,
but it should be changed in future for both build systems to use a templateDirectory,
to eliminate the need of special compiler excludes
-->
<sourceDirectory>${basedir}/source/net/yacy/peers/operation</sourceDirectory>
<outputDirectory>${project.build.directory}/generated-sources/java/net/yacy/peers/operation</outputDirectory>
2013-01-20 21:08:59 +01:00
</configuration>
</execution>
2013-01-20 21:08:59 +01:00
</executions>
</plugin>
<!-- exec:exec goal to provide start YaCy by Maven (just to have it for cases were the ide not provides a run command) -->
<!--
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.2.1</version>
<configuration>
<classpathScope>runtime</classpathScope>
<executable>java</executable>
<workingDirectory>${basedir}</workingDirectory>
<arguments>
<argument>-Xms180m</argument>
<argument>-Xmx800m</argument>
<argument>-classpath</argument>
<classpath/>
<argument>net.yacy.yacy</argument>
</arguments>
</configuration>
</plugin>
-->
</plugins>
</build>
<profiles>
<profile>
<!-- Active when .git directory is missing -->
<id>no-git</id>
<activation>
<file>
<missing>.git</missing>
</file>
</activation>
<properties>
<!-- fallback value consistent with ant build -->
<releaseNr>9000</releaseNr>
</properties>
</profile>
<profile>
<id>git-rev-number</id>
<!-- Active profile when .git folder exists -->
<activation>
<file>
<exists>.git</exists>
</file>
</activation>
<build>
<plugins>
<!-- custom plugin to add YaCy release number from local Git clone
sets property <releaseNr>9nnn</releasNr> <DSTAMP>yyyyMMdd</DSTAMP>
! run sub project in libbuild to install the plugin ! -->
<plugin>
<groupId>net.yacy</groupId>
<artifactId>maven-plugin-gitrevisionnumber</artifactId>
<version>1.1</version>
<executions>
<execution>
<phase>initialize</phase>
<goals>
<goal>create</goal>
</goals>
<!-- optional parameter to set/change the propertyName
<configuration>
<branchPropertyName>branch</branchPropertyName>
<buildNumberPropertyName>releasNr</buildNumberPropertyName>
<commitDatePropertyName>DSTAMP</commitDatePropertyName>
</configuration>
-->
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<!-- profile to create a release archive -->
<id>release-profile</id>
<build>
<plugins>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.6</version>
<configuration>
<descriptors>
<descriptor>assembly.xml</descriptor>
</descriptors>
<finalName>yacy_v${project.version}_${DSTAMP}_${releaseNr}</finalName>
<outputDirectory>RELEASE</outputDirectory>
<appendAssemblyId>false</appendAssemblyId>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.0.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8.2</version>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>report</id>
<build>
<plugins>
<plugin>
<groupId>org.owasp</groupId>
<artifactId>dependency-check-maven</artifactId>
<version>1.4.2</version>
<executions>
<execution>
<phase>verify</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>2.9</version>
</plugin>
</plugins>
</build>
<reporting>
<plugins>
<plugin>
<groupId>org.owasp</groupId>
<artifactId>dependency-check-maven</artifactId>
<version>1.4.2</version>
</plugin>
</plugins>
</reporting>
</profile>
</profiles>
2013-01-20 21:08:59 +01:00
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.11</version>
2013-01-20 21:08:59 +01:00
<scope>test</scope>
</dependency>
<dependency>
2014-12-06 22:32:24 +01:00
<groupId>org.bouncycastle</groupId>
<artifactId>bcprov-jdk15</artifactId>
<version>1.46</version>
</dependency>
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcmail-jdk15</artifactId>
<version>1.46</version>
</dependency>
2013-01-20 21:08:59 +01:00
<dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
<version>1.10</version>
2013-01-20 21:08:59 +01:00
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-compress</artifactId>
<version>1.13</version>
2016-07-23 20:34:47 +02:00
<type>jar</type>
2013-01-20 21:08:59 +01:00
</dependency>
<dependency>
<groupId>commons-fileupload</groupId>
<artifactId>commons-fileupload</artifactId>
2016-06-02 22:15:57 +02:00
<version>1.3.2</version>
<type>jar</type>
2013-01-20 21:08:59 +01:00
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
2016-05-03 00:25:26 +02:00
<version>2.5</version>
</dependency>
2013-01-20 21:08:59 +01:00
<dependency>
<groupId>commons-jxpath</groupId>
<artifactId>commons-jxpath</artifactId>
<version>1.3</version>
</dependency>
<dependency>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
<version>2.6</version>
</dependency>
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
2014-12-06 22:32:24 +01:00
<version>1.2</version>
2013-01-20 21:08:59 +01:00
</dependency>
<dependency>
<groupId>org.htmlparser</groupId>
<artifactId>htmllexer</artifactId>
<version>2.1</version>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
2017-03-08 22:35:48 +01:00
<version>4.5.3</version>
<type>jar</type>
2013-01-20 21:08:59 +01:00
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpcore</artifactId>
2017-03-08 22:35:48 +01:00
<version>4.4.6</version>
2016-06-19 21:39:44 +02:00
<type>jar</type>
2013-01-20 21:08:59 +01:00
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpmime</artifactId>
2017-03-08 22:35:48 +01:00
<version>4.5.3</version>
<type>jar</type>
2013-01-20 21:08:59 +01:00
</dependency>
<dependency>
<groupId>com.ibm.icu</groupId>
<artifactId>icu4j</artifactId>
2016-05-23 02:47:16 +02:00
<version>57.1</version>
2013-01-20 21:08:59 +01:00
</dependency>
<dependency>
<groupId>com.twelvemonkeys.imageio</groupId>
<artifactId>imageio-bmp</artifactId>
2016-12-16 00:49:19 +01:00
<version>3.3.1</version>
<type>jar</type>
</dependency>
2015-11-14 01:46:25 +01:00
<dependency>
<groupId>com.twelvemonkeys.imageio</groupId>
<artifactId>imageio-tiff</artifactId>
2016-12-16 00:49:19 +01:00
<version>3.3.1</version>
<type>jar</type>
2015-11-14 01:46:25 +01:00
</dependency>
2013-01-20 21:08:59 +01:00
<dependency>
<groupId>org</groupId>
<artifactId>jaudiotagger</artifactId>
<version>2.0.3</version>
</dependency>
2014-12-14 19:17:13 +01:00
<dependency>
<groupId>net.sourceforge.jchardet</groupId>
<artifactId>jchardet</artifactId>
<version>1.0</version>
</dependency>
2013-01-20 21:08:59 +01:00
<dependency>
<groupId>org.samba.jcifs</groupId>
<artifactId>jcifs</artifactId>
<version>1.3.3</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>jcl-over-slf4j</artifactId>
<version>1.7.21</version>
<type>jar</type>
2013-01-20 21:08:59 +01:00
</dependency>
<dependency>
<groupId>com.jcraft</groupId>
<artifactId>jsch</artifactId>
2017-03-17 02:07:02 +01:00
<version>0.1.54</version>
<type>jar</type>
2013-01-20 21:08:59 +01:00
</dependency>
<dependency>
<groupId>com.googlecode.json-simple</groupId>
<artifactId>json-simple</artifactId>
<version>1.1.1</version>
2013-01-20 21:08:59 +01:00
</dependency>
<dependency>
<groupId>org.jsoup</groupId>
<artifactId>jsoup</artifactId>
2016-11-14 23:10:32 +01:00
<version>1.10.1</version>
<type>jar</type>
2013-01-20 21:08:59 +01:00
</dependency>
2015-11-30 18:57:16 +01:00
<dependency>
<groupId>com.youcruit.com.cybozu.labs</groupId>
<artifactId>langdetect</artifactId>
<version>1.1.2-20151117</version>
</dependency>
2013-01-20 21:08:59 +01:00
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>log4j-over-slf4j</artifactId>
<version>1.7.21</version>
<type>jar</type>
2013-01-20 21:08:59 +01:00
</dependency>
<dependency>
<groupId>org.apache.lucene</groupId>
<artifactId>lucene-core</artifactId>
2013-10-30 01:13:12 +01:00
<version>${solr.version}</version>
2014-02-09 20:42:11 +01:00
</dependency>
2013-01-20 21:08:59 +01:00
<dependency>
<groupId>com.drewnoakes</groupId>
<artifactId>metadata-extractor</artifactId>
2017-03-13 00:34:40 +01:00
<version>2.10.1</version>
<type>jar</type>
2013-01-20 21:08:59 +01:00
</dependency>
<dependency>
<groupId>oro</groupId>
<artifactId>oro</artifactId>
<version>2.0.8</version>
</dependency>
2013-01-20 21:08:59 +01:00
<dependency>
<groupId>org.apache.pdfbox</groupId>
<artifactId>pdfbox</artifactId>
2017-03-09 22:50:19 +01:00
<version>2.0.4</version>
2016-06-19 21:49:54 +02:00
<type>jar</type>
2013-01-20 21:08:59 +01:00
</dependency>
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi</artifactId>
2016-10-03 01:48:35 +02:00
<version>3.15</version>
<type>jar</type>
2013-01-20 21:08:59 +01:00
</dependency>
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi-scratchpad</artifactId>
2016-10-03 01:48:35 +02:00
<version>3.15</version>
<type>jar</type>
2013-01-20 21:08:59 +01:00
</dependency>
<dependency>
<groupId>sax</groupId>
<artifactId>sax</artifactId>
<version>2.0.1</version>
2013-12-25 22:33:35 +01:00
</dependency>
2013-01-20 21:08:59 +01:00
<dependency>
<groupId>org.apache.solr</groupId>
<artifactId>solr-solrj</artifactId>
2013-10-30 01:13:12 +01:00
<version>${solr.version}</version>
2013-01-20 21:08:59 +01:00
</dependency>
<dependency>
<groupId>org.apache.solr</groupId>
<artifactId>solr-core</artifactId>
2013-10-30 01:13:12 +01:00
<version>${solr.version}</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-server</artifactId>
2015-02-28 19:48:29 +01:00
<version>${jetty.version}</version>
2013-12-25 22:33:35 +01:00
</dependency>
2013-10-30 01:13:12 +01:00
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-servlet</artifactId>
2015-02-28 19:48:29 +01:00
<version>${jetty.version}</version>
2013-01-20 21:08:59 +01:00
</dependency>
2013-10-30 01:13:12 +01:00
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-servlets</artifactId>
2015-02-28 19:48:29 +01:00
<version>${jetty.version}</version>
2013-12-25 22:33:35 +01:00
</dependency>
2014-02-09 20:42:11 +01:00
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-webapp</artifactId>
2015-02-28 19:48:29 +01:00
<version>${jetty.version}</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-util</artifactId>
2015-02-28 19:48:29 +01:00
<version>${jetty.version}</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-xml</artifactId>
2015-02-28 19:48:29 +01:00
<version>${jetty.version}</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-http</artifactId>
2015-02-28 19:48:29 +01:00
<version>${jetty.version}</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-security</artifactId>
2015-02-28 19:48:29 +01:00
<version>${jetty.version}</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-io</artifactId>
2015-02-28 19:48:29 +01:00
<version>${jetty.version}</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-continuation</artifactId>
2015-02-28 19:48:29 +01:00
<version>${jetty.version}</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-jmx</artifactId>
2015-02-28 19:48:29 +01:00
<version>${jetty.version}</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-proxy</artifactId>
2015-02-28 19:48:29 +01:00
<version>${jetty.version}</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-deploy</artifactId>
2015-02-28 19:48:29 +01:00
<version>${jetty.version}</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-jdk14</artifactId>
<version>1.7.21</version>
<type>jar</type>
</dependency>
<dependency>
<groupId>org.bitlet</groupId>
<artifactId>weupnp</artifactId>
2016-02-18 01:09:29 +01:00
<version>0.1.4</version>
</dependency>
2013-01-20 21:08:59 +01:00
<dependency>
<groupId>xerces</groupId>
<artifactId>xercesImpl</artifactId>
2014-03-15 23:02:17 +01:00
<version>2.11.0</version>
</dependency>
2013-01-20 21:08:59 +01:00
<!-- special setup for dependencies not found in maven repository
to installed in local repository -->
<dependency>
<groupId>net.yacy.extlib</groupId>
<artifactId>J7Zip-modified</artifactId>
<version>1.02</version>
</dependency>
</dependencies>
</project>