Skip to content
Snippets Groups Projects
pom.xml 39 KiB
Newer Older
Shinsuke Sugaya's avatar
Shinsuke Sugaya committed
<?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/maven-v4_0_0.xsd">
	<modelVersion>4.0.0</modelVersion>
	<groupId>org.codelibs.fess</groupId>
	<artifactId>fess</artifactId>
	<version>11.0.0-SNAPSHOT</version>
	<packaging>war</packaging>
	<name>Fess</name>
	<description>Fess is Full tExt Search System.</description>
	<url>http://fess.codelibs.org/</url>
	<inceptionYear>2009</inceptionYear>
	<licenses>
		<license>
			<name>The Apache Software License, Version 2.0</name>
			<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
			<distribution>repo</distribution>
		</license>
	</licenses>
	<organization>
		<name>CodeLibs</name>
		<url>http://www.codelibs.org/</url>
	</organization>
	<issueManagement>
		<url>https://github.com/codelibs/fess/issues</url>
	</issueManagement>
	<scm>
		<connection>scm:git:git@github.com:codelibs/fess.git</connection>
		<developerConnection>scm:git:git@github.com:codelibs/fess.git</developerConnection>
		<url>https://github.com/codelibs/fess</url>
	</scm>
	<parent>
		<groupId>org.sonatype.oss</groupId>
		<artifactId>oss-parent</artifactId>
		<version>9</version>
	</parent>
	<properties>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Shinsuke Sugaya's avatar
Shinsuke Sugaya committed
		<maven.compiler.source>1.8</maven.compiler.source>
		<maven.compiler.target>1.8</maven.compiler.target>
		<!-- Main Framework -->
		<dbflute.version>1.1.1</dbflute.version>
Shinsuke Sugaya's avatar
Shinsuke Sugaya committed
		<lastaflute.version>0.8.3</lastaflute.version>
		<lasta.taglib.version>0.7.1</lasta.taglib.version>
Shinsuke Sugaya's avatar
Shinsuke Sugaya committed
		<lasta.job.version>0.2.2</lasta.job.version>
Shinsuke Sugaya's avatar
Shinsuke Sugaya committed
		<mailflute.version>0.5.1</mailflute.version>
		<!-- Partner Library -->
Shinsuke Sugaya's avatar
Shinsuke Sugaya committed
		<slf4j.version>1.7.20</slf4j.version>
		<logback.version>1.1.7</logback.version>
		<!-- GoodNeighbor Library -->
		<commons.fileupload.version>1.3.1</commons.fileupload.version>
		<!-- Testing -->
		<junit.version>4.12</junit.version>
Shinsuke Sugaya's avatar
Shinsuke Sugaya committed
		<utflute.version>0.6.0F</utflute.version>
		<!-- Crawler -->
Shinsuke Sugaya's avatar
Shinsuke Sugaya committed
		<crawler.version>1.0.10</crawler.version>
Shinsuke Sugaya's avatar
Shinsuke Sugaya committed

		<!-- Suggest -->
Shinsuke Sugaya's avatar
Shinsuke Sugaya committed
		<suggest.version>2.3.0</suggest.version>
		<!-- Elasticsearch -->
		<elasticsearch.version>2.4.0</elasticsearch.version>
		<cluster.runner.version>2.4.0.0</cluster.runner.version>
		<!-- Tomcat -->
		<tomcat.version>8.5.4</tomcat.version>
Shinsuke Sugaya's avatar
Shinsuke Sugaya committed
		<tomcat.boot.version>0.5.0</tomcat.boot.version>
Kaoru FUZITA's avatar
Kaoru FUZITA committed

nullpos's avatar
nullpos committed
		<!-- DEB & RPM build -->
		<packaging.fess.home.dir>/usr/share/fess</packaging.fess.home.dir>
Kaoru FUZITA's avatar
Kaoru FUZITA committed
		<packaging.fess.app.dir>${packaging.fess.home.dir}/app</packaging.fess.app.dir>
		<packaging.fess.bin.dir>${packaging.fess.home.dir}/bin</packaging.fess.bin.dir>
		<packaging.fess.conf.dir>/etc/fess</packaging.fess.conf.dir>
		<packaging.fess.var.dir>/var/lib/fess</packaging.fess.var.dir>
		<packaging.fess.lib.dir>${packaging.fess.home.dir}/lib</packaging.fess.lib.dir>
		<packaging.fess.log.dir>/var/log/fess</packaging.fess.log.dir>
		<packaging.fess.temp.dir>/var/tmp/fess</packaging.fess.temp.dir>
		<packaging.fess.extension.dir>${packaging.fess.home.dir}/extension</packaging.fess.extension.dir>
Kaoru FUZITA's avatar
Kaoru FUZITA committed
		<packaging.fess.user>fess</packaging.fess.user>
		<packaging.fess.group>fess</packaging.fess.group>
		<packaging.fess.pid.dir>/var/run/fess</packaging.fess.pid.dir>
		<packaging.fess.systemd.dir>/usr/lib/systemd/system</packaging.fess.systemd.dir>
		<packaging.fess.systemd.sysctl.dir>/usr/lib/sysctl.d</packaging.fess.systemd.sysctl.dir>
		<packaging.fess.tmpfilesd.dir>/usr/lib/tmpfiles.d</packaging.fess.tmpfilesd.dir>
		<packaging.fess.dictionary.dir>/var/lib/elasticsearch/config</packaging.fess.dictionary.dir>
Kaoru FUZITA's avatar
Kaoru FUZITA committed

	</properties>
	<build>
		<finalName>fess</finalName>
		<resources>
			<resource>
				<directory>src/main/resources</directory>
			</resource>
		</resources>
		<!-- This file contains all the common properties used to build the different 
			packages (tar.gz, deb, rpm) using Maven resources plugin -->
		<filters>
			<filter>src/packaging/common/packaging.properties</filter>
		</filters>

		<plugins>
			<plugin>
				<artifactId>maven-compiler-plugin</artifactId>
				<version>3.3</version>
				<configuration>
Shinsuke Sugaya's avatar
Shinsuke Sugaya committed
					<source>${maven.compiler.source}</source>
					<target>${maven.compiler.target}</target>
					<encoding>UTF-8</encoding>
				</configuration>
			</plugin>
			<plugin>
				<artifactId>maven-source-plugin</artifactId>
				<version>2.4</version>
				<executions>
					<execution>
						<id>source-jar</id>
						<phase>package</phase>
						<goals>
							<goal>jar</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<artifactId>maven-war-plugin</artifactId>
				<version>2.6</version>
				<configuration>
					<webResources>
						<resource>
							<directory>${project.build.directory}/${project.build.finalName}-compress</directory>
						</resource>
					</webResources>
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-dependency-plugin</artifactId>
Shinsuke Sugaya's avatar
Shinsuke Sugaya committed
				<version>2.10</version>
				<executions>
					<execution>
						<id>unpack-provided</id>
						<phase>generate-resources</phase>
						<goals>
							<goal>unpack-dependencies</goal>
						</goals>
						<configuration>
							<includeScope>provided</includeScope>
							<outputDirectory>${project.build.directory}/tomcat-lib</outputDirectory>
							<includes>**/*</includes>
							<overWriteReleases>true</overWriteReleases>
							<overWriteSnapshots>true</overWriteSnapshots>
						</configuration>
					</execution>
				</executions>
			</plugin>
Shinsuke Sugaya's avatar
Shinsuke Sugaya committed
			<plugin>
				<artifactId>maven-javadoc-plugin</artifactId>
				<version>2.10.3</version>
				<configuration>
					<encoding>UTF-8</encoding>
					<docencoding>UTF-8</docencoding>
					<charset>UTF-8</charset>
				</configuration>
			</plugin>
Shinsuke Sugaya's avatar
Shinsuke Sugaya committed
				<groupId>com.mycila</groupId>
				<artifactId>license-maven-plugin</artifactId>
				<version>2.11</version>
				<configuration>
Shinsuke Sugaya's avatar
Shinsuke Sugaya committed
					<header>http://www.codelibs.org/assets/license/header.txt</header>
					<properties>
Shinsuke Sugaya's avatar
Shinsuke Sugaya committed
						<year>2016</year>
Shinsuke Sugaya's avatar
Shinsuke Sugaya committed
					</properties>
					<includes>
						<include>src/**/*.java</include>
					</includes>
					<encoding>UTF-8</encoding>
					<headerDefinitions>
Shinsuke Sugaya's avatar
Shinsuke Sugaya committed
						<headerDefinition>http://www.codelibs.org/assets/license/header-definition-2.xml</headerDefinition>
					</headerDefinitions>
				</configuration>
Shinsuke Sugaya's avatar
Shinsuke Sugaya committed
				<executions>
					<execution>
						<goals>
							<goal>check</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<groupId>net.revelc.code</groupId>
				<artifactId>formatter-maven-plugin</artifactId>
				<version>0.5.2</version>
				<executions>
					<execution>
Loading
Loading full blame...