yacy_search_server/pom.xml

606 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>
<version>1.83</version>
2013-01-20 21:08:59 +01:00
<packaging>jar</packaging>
<description>YaCy - a Peer to Peer Web Search Engine</description>
<name>YaCy</name>
<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 -->
<solr.version>5.2.1</solr.version>
2015-02-28 19:48:29 +01:00
<!-- the Jetty version used in dependency section for all related dependencies -->
<jetty.version>9.2.11.v20150529</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</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>
2015-05-10 03:00:05 +02:00
<version>3.3</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
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
2015-05-10 03:00:05 +02:00
<version>2.5.3</version>
2013-01-20 21:08:59 +01:00
<configuration>
<descriptors>
<descriptor>assembly.xml</descriptor>
</descriptors>
<finalName>yacy_v${project.version}_${DSTAMP}_${releaseNr}</finalName>
2013-01-20 21:08:59 +01:00
<outputDirectory>RELEASE</outputDirectory>
<appendAssemblyId>false</appendAssemblyId>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
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>
2015-05-10 03:00:05 +02:00
<version>2.10.3</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>
2013-01-20 21:08:59 +01:00
<excludes>
htroot/*.java
</excludes>
</configuration>
</plugin>
<!-- 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 ! -->
2013-01-20 21:08:59 +01:00
<plugin>
<groupId>net.yacy</groupId>
<artifactId>maven-plugin-gitrevisionnumber</artifactId>
<version>1.0</version>
2013-01-20 21:08:59 +01:00
<executions>
<execution>
<phase>initialize</phase>
2013-01-20 21:08:59 +01:00
<goals>
<goal>create</goal>
</goals>
<!-- optional parameter to set/change the propertyName
<configuration>
<branchPropertyName>branch</branchPropertyName>
<buildNumberPropertyName>releasNr</buildNumberPropertyName>
<commitDatePropertyName>DSTAMP</commitDatePropertyName>
</configuration>
-->
2013-01-20 21:08:59 +01:00
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>templating-maven-plugin</artifactId>
<version>1.0-alpha-3</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>
-->
<plugin>
<!-- install jars not found in maven repository to local repository -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<version>2.5.2</version>
2013-01-20 21:08:59 +01:00
<executions>
<execution>
<id>install-webcat-jar</id>
<phase>clean</phase>
<goals>
<goal>install-file</goal>
</goals>
<configuration>
<file>${basedir}/lib/webcat-0.1-swf.jar</file>
<groupId>net.yacy.extlib</groupId>
<artifactId>webcat</artifactId>
<version>0.1</version>
<packaging>jar</packaging>
<generatePom>true</generatePom>
</configuration>
</execution>
<execution>
<id>install-J7Zip-jar</id>
<phase>clean</phase>
<goals>
<goal>install-file</goal>
</goals>
<configuration>
<file>${basedir}/lib/J7Zip-modified.jar</file>
<groupId>net.yacy.extlib</groupId>
<artifactId>J7Zip-modified</artifactId>
<version>1.02</version>
<packaging>jar</packaging>
<generatePom>true</generatePom>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<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>
<groupId>javax.activation</groupId>
<artifactId>activation</artifactId>
<version>1.1.1</version>
</dependency>
<dependency>
<groupId>org.apache.james</groupId>
<artifactId>apache-mime4j</artifactId>
<version>0.6.1</version>
</dependency>
2014-12-06 22:32:24 +01:00
<dependency>
<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.9</version>
2013-01-20 21:08:59 +01:00
</dependency>
<dependency>
<groupId>commons-fileupload</groupId>
<artifactId>commons-fileupload</artifactId>
<version>1.3.1</version>
2013-01-20 21:08:59 +01:00
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
2015-05-10 03:00:05 +02:00
<version>2.4</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.apache.pdfbox</groupId>
<artifactId>fontbox</artifactId>
2015-08-01 00:25:40 +02:00
<version>1.8.10</version>
2013-01-20 21:08:59 +01:00
</dependency>
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-stax-api_1.0_spec</artifactId>
<version>1.0.1</version>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>18.0</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>
2015-07-26 00:53:40 +02:00
<version>4.5</version>
2013-01-20 21:08:59 +01:00
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpcore</artifactId>
2015-04-08 22:42:30 +02:00
<version>4.4.1</version>
2013-01-20 21:08:59 +01:00
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpmime</artifactId>
2015-07-26 00:53:40 +02:00
<version>4.5</version>
2013-01-20 21:08:59 +01:00
</dependency>
<dependency>
<groupId>com.ibm.icu</groupId>
<artifactId>icu4j</artifactId>
2015-07-25 00:50:41 +02:00
<version>55.1</version>
2013-01-20 21:08:59 +01:00
</dependency>
<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>
2015-07-30 00:16:09 +02:00
<version>1.7.12</version>
2013-01-20 21:08:59 +01:00
</dependency>
<dependency>
<groupId>org.apache.pdfbox</groupId>
<artifactId>jempbox</artifactId>
2015-08-01 00:25:40 +02:00
<version>1.8.10</version>
2013-01-20 21:08:59 +01:00
</dependency>
<dependency>
<groupId>com.jcraft</groupId>
<artifactId>jsch</artifactId>
2015-07-21 22:31:34 +02:00
<version>0.1.53</version>
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>
2015-04-26 17:41:05 +02:00
<version>1.8.2</version>
2013-01-20 21:08:59 +01:00
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>log4j-over-slf4j</artifactId>
2015-07-30 00:16:09 +02:00
<version>1.7.12</version>
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>
2015-04-30 00:01:11 +02:00
<version>2.8.1</version>
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>
2015-08-01 00:25:40 +02:00
<version>1.8.10</version>
2013-01-20 21:08:59 +01:00
</dependency>
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi</artifactId>
2015-06-05 03:36:57 +02:00
<version>3.12</version>
2013-01-20 21:08:59 +01:00
</dependency>
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi-scratchpad</artifactId>
2015-06-05 03:36:57 +02:00
<version>3.12</version>
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.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
2015-07-30 00:16:09 +02:00
<version>1.7.12</version>
2013-01-20 21:08:59 +01:00
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-jdk14</artifactId>
2015-07-30 00:16:09 +02:00
<version>1.7.12</version>
2013-01-20 21:08:59 +01:00
</dependency>
<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.bitlet</groupId>
<artifactId>weupnp</artifactId>
2015-07-20 03:45:23 +02:00
<version>0.1.3</version>
</dependency>
2013-01-20 21:08:59 +01:00
<dependency>
<groupId>org.codehaus.woodstox</groupId>
<artifactId>wstx-asl</artifactId>
2013-10-30 01:13:12 +01:00
<version>3.2.9</version>
2013-01-20 21:08:59 +01:00
</dependency>
<dependency>
<groupId>xerces</groupId>
<artifactId>xercesImpl</artifactId>
2014-03-15 23:02:17 +01:00
<version>2.11.0</version>
2013-01-20 21:08:59 +01:00
</dependency>
<dependency>
<groupId>com.adobe.xmp</groupId>
<artifactId>xmpcore</artifactId>
<version>5.1.2</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>
<dependency>
<groupId>net.yacy.extlib</groupId>
<artifactId>webcat</artifactId>
<version>0.1</version>
</dependency>
</dependencies>
</project>