mirror of
https://github.com/spring-projects/spring-data-elasticsearch.git
synced 2025-07-31 06:33:26 +00:00
453 lines
19 KiB
XML
453 lines
19 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>
|
|
<groupId>org.springframework.data</groupId>
|
|
<artifactId>spring-data-elasticsearch</artifactId>
|
|
<version>1.0.0.BUILD-SNAPSHOT</version>
|
|
<packaging>jar</packaging>
|
|
<inceptionYear>2013</inceptionYear>
|
|
<url>https://github.com/BioMedCentralLtd/spring-data-elasticsearch</url>
|
|
<name>Spring Data Elasticsearch</name>
|
|
<description>Spring Data Implementation for Elasticsearch</description>
|
|
<organization>
|
|
<name>BioMed Central</name>
|
|
<url>http://www.biomedcentral.com</url>
|
|
</organization>
|
|
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<junit.version>4.11</junit.version>
|
|
<spring.version>3.1.4.RELEASE</spring.version>
|
|
<slf4j.version>1.7.1</slf4j.version>
|
|
<commons-lang.version>2.6</commons-lang.version>
|
|
<elasticsearch.version>0.20.5</elasticsearch.version>
|
|
<apache.httpcomponents.version>4.2.2</apache.httpcomponents.version>
|
|
<spring.data-commons.version>1.5.0.RELEASE</spring.data-commons.version>
|
|
<joda-time.version>2.1</joda-time.version>
|
|
<logback-classic.version>1.0.7</logback-classic.version>
|
|
<mockito.version>1.9.5</mockito.version>
|
|
<hamcrest.version>1.3</hamcrest.version>
|
|
<cdi.version>1.0-SP4</cdi.version>
|
|
<webbeans.version>1.1.5</webbeans.version>
|
|
<dist.finalName>${project.artifactId}-${project.version}</dist.finalName>
|
|
</properties>
|
|
|
|
<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>
|
|
<comments>
|
|
Copyright 2013 the original author or authors.
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
</comments>
|
|
</license>
|
|
</licenses>
|
|
|
|
|
|
<scm>
|
|
<url>https://github.com/biomedcentral/spring-data-elasticsearch</url>
|
|
<connection>scm:git:git://github.com/biomedcentral/spring-data-elasticsearch.git</connection>
|
|
<developerConnection>scm:git:ssh://git@github.com:biomedcentral/spring-data-elasticsearch.git</developerConnection>
|
|
</scm>
|
|
|
|
<!--<repositories>-->
|
|
<!--<repository>-->
|
|
<!--<id>spring-release</id>-->
|
|
<!--<name>Spring Maven Release Repository</name>-->
|
|
<!--<url>http://repo.springsource.org/libs-release</url>-->
|
|
<!--</repository>-->
|
|
<!--</repositories>-->
|
|
|
|
<ciManagement>
|
|
<system>Travis</system>
|
|
<url>https://travis-ci.org/BioMedCentralLtd/spring-data-elasticsearch</url>
|
|
</ciManagement>
|
|
|
|
<dependencies>
|
|
<!-- SPRING -->
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-context</artifactId>
|
|
<version>${spring.version}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>commons-logging</groupId>
|
|
<artifactId>commons-logging</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-tx</artifactId>
|
|
<version>${spring.version}</version>
|
|
</dependency>
|
|
|
|
<!-- For JavaConfig -->
|
|
<dependency>
|
|
<groupId>cglib</groupId>
|
|
<artifactId>cglib</artifactId>
|
|
<version>2.2.2</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<!-- SPRING DATA -->
|
|
<dependency>
|
|
<groupId>org.springframework.data</groupId>
|
|
<artifactId>spring-data-commons</artifactId>
|
|
<version>${spring.data-commons.version}</version>
|
|
</dependency>
|
|
|
|
<!-- APACHE -->
|
|
<dependency>
|
|
<groupId>commons-lang</groupId>
|
|
<artifactId>commons-lang</artifactId>
|
|
<version>${commons-lang.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>commons-collections</groupId>
|
|
<artifactId>commons-collections</artifactId>
|
|
<version>3.2.1</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
<artifactId>httpclient</artifactId>
|
|
<version>${apache.httpcomponents.version}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>commons-logging</groupId>
|
|
<artifactId>commons-logging</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
<artifactId>httpmime</artifactId>
|
|
<version>${apache.httpcomponents.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
<artifactId>httpclient-cache</artifactId>
|
|
<version>${apache.httpcomponents.version}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>commons-logging</groupId>
|
|
<artifactId>commons-logging</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
|
|
<!-- JODA Time -->
|
|
<dependency>
|
|
<groupId>joda-time</groupId>
|
|
<artifactId>joda-time</artifactId>
|
|
<version>${joda-time.version}</version>
|
|
</dependency>
|
|
|
|
<!-- elasticsearch -->
|
|
<dependency>
|
|
<groupId>org.elasticsearch</groupId>
|
|
<artifactId>elasticsearch</artifactId>
|
|
<version>${elasticsearch.version}</version>
|
|
</dependency>
|
|
|
|
<!-- Jackson JSON Mapper -->
|
|
<dependency>
|
|
<groupId>org.codehaus.jackson</groupId>
|
|
<artifactId>jackson-mapper-asl</artifactId>
|
|
<version>1.9.2</version>
|
|
</dependency>
|
|
|
|
<!-- LOGGING -->
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
<version>${slf4j.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>jcl-over-slf4j</artifactId>
|
|
<version>${slf4j.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>ch.qos.logback</groupId>
|
|
<artifactId>logback-classic</artifactId>
|
|
<version>${logback-classic.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<!-- CDI -->
|
|
<dependency>
|
|
<groupId>javax.enterprise</groupId>
|
|
<artifactId>cdi-api</artifactId>
|
|
<version>${cdi.version}</version>
|
|
<scope>provided</scope>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
|
|
<!-- TEST -->
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-test</artifactId>
|
|
<version>${spring.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<version>${junit.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.mockito</groupId>
|
|
<artifactId>mockito-core</artifactId>
|
|
<version>${mockito.version}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.hamcrest</groupId>
|
|
<artifactId>hamcrest-core</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.hamcrest</groupId>
|
|
<artifactId>hamcrest-all</artifactId>
|
|
<version>${hamcrest.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.openwebbeans.test</groupId>
|
|
<artifactId>cditest-owb</artifactId>
|
|
<version>${webbeans.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-jdbc</artifactId>
|
|
<version>${spring.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.h2database</groupId>
|
|
<artifactId>h2</artifactId>
|
|
<version>1.3.168</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>2.5.1</version>
|
|
<configuration>
|
|
<source>1.6</source>
|
|
<target>1.6</target>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<version>2.3.1</version>
|
|
<configuration>
|
|
<useDefaultManifestFile>true</useDefaultManifestFile>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
<version>2.1.2</version>
|
|
<executions>
|
|
<execution>
|
|
<id>attach-sources</id>
|
|
<goals>
|
|
<goal>jar</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-failsafe-plugin</artifactId>
|
|
<version>2.12</version>
|
|
<executions>
|
|
<execution>
|
|
<id>integration-test</id>
|
|
<goals>
|
|
<goal>integration-test</goal>
|
|
</goals>
|
|
</execution>
|
|
<execution>
|
|
<id>verify</id>
|
|
<goals>
|
|
<goal>verify</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>2.12</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.sonatype.maven.plugin</groupId>
|
|
<artifactId>emma-maven-plugin</artifactId>
|
|
<version>1.2</version>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>jar-with-dependencies</id>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
<version>2.3</version>
|
|
<configuration>
|
|
<descriptor>src/main/assembly/jar-with-dependencies.descriptor.xml</descriptor>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
<profile>
|
|
<id>distribute</id>
|
|
<build>
|
|
<plugins>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<version>2.8</version>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>javadoc</goal>
|
|
</goals>
|
|
<phase>package</phase>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<breakiterator>true</breakiterator>
|
|
<header>Spring Data Elasticsearch</header>
|
|
<source>${project.version}</source>
|
|
<quiet>true</quiet>
|
|
<!-- copies doc-files subdirectory which contains image resources -->
|
|
<docfilessubdirs>true</docfilessubdirs>
|
|
<links>
|
|
<link>http://static.springframework.org/spring/docs/3.1.x/javadoc-api</link>
|
|
<link>http://download.oracle.com/javase/1.5.0/docs/api</link>
|
|
<link>http://static.springsource.org/spring-data/data-commons/docs/${spring.data-commons.version}/api</link>
|
|
</links>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>com.agilejava.docbkx</groupId>
|
|
<artifactId>docbkx-maven-plugin</artifactId>
|
|
<version>2.0.7</version>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>generate-html</goal>
|
|
<goal>generate-pdf</goal>
|
|
</goals>
|
|
<phase>package</phase>
|
|
</execution>
|
|
</executions>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.docbook</groupId>
|
|
<artifactId>docbook-xml</artifactId>
|
|
<version>4.4</version>
|
|
<scope>runtime</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
<configuration>
|
|
<includes>index.xml</includes>
|
|
<xincludeSupported>true</xincludeSupported>
|
|
<foCustomization>${project.basedir}/src/docbkx/resources/xsl/fopdf.xsl</foCustomization>
|
|
<htmlStylesheet>css/html.css</htmlStylesheet>
|
|
<chunkedOutput>false</chunkedOutput>
|
|
<htmlCustomization>${project.basedir}/src/docbkx/resources/xsl/html.xsl</htmlCustomization>
|
|
<useExtensions>1</useExtensions>
|
|
<highlightSource>1</highlightSource>
|
|
<entities>
|
|
<entity>
|
|
<name>version</name>
|
|
<value>${project.version}</value>
|
|
</entity>
|
|
</entities>
|
|
<postProcess>
|
|
<copy todir="${project.basedir}/target/site/reference">
|
|
<fileset dir="${project.basedir}/target/docbkx">
|
|
<include name="**/*.html" />
|
|
<include name="**/*.pdf" />
|
|
</fileset>
|
|
</copy>
|
|
<copy todir="${project.basedir}/target/site/reference/html">
|
|
<fileset dir="${project.basedir}/src/docbkx/resources">
|
|
<include name="**/*.css" />
|
|
<include name="**/*.png" />
|
|
<include name="**/*.gif" />
|
|
<include name="**/*.jpg" />
|
|
</fileset>
|
|
</copy>
|
|
<move file="${project.basedir}/target/site/reference/pdf/index.pdf" tofile="${project.basedir}/target/site/reference/pdf/${project.artifactId}-reference.pdf" failonerror="false" />
|
|
</postProcess>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
<version>2.2.1</version>
|
|
<executions>
|
|
<execution>
|
|
<id>distribution</id>
|
|
<goals>
|
|
<goal>single</goal>
|
|
</goals>
|
|
<phase>package</phase>
|
|
<configuration>
|
|
<descriptors>
|
|
<descriptor>${project.basedir}/src/main/assembly/distribution.xml</descriptor>
|
|
</descriptors>
|
|
<appendAssemblyId>false</appendAssemblyId>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
</profiles>
|
|
|
|
<developers>
|
|
<developer>
|
|
<id>biomedcentral</id>
|
|
<name>BioMed Central Development Team</name>
|
|
<timezone>+0</timezone>
|
|
</developer>
|
|
</developers>
|
|
|
|
</project>
|