Registers required components in application context if not available to set up environment for usage with Spring Data Solr. Will listen on SolrServer and SolrRepositories for configuration. By default an HttpSolrServer is registered unless a zkHost (zookeeper host) is defined. In that case an instance of CloudSolrServer will be created. By default multicore support is enabled, creating instances of SolrServer for each core defined via @SolrDocument.
142 lines
4.8 KiB
XML
142 lines
4.8 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.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
|
<version>1.1.0.BUILD-SNAPSHOT</version>
|
|
<relativePath>../spring-boot-starters/spring-boot-starter-parent</relativePath>
|
|
</parent>
|
|
<artifactId>spring-boot-samples</artifactId>
|
|
<packaging>pom</packaging>
|
|
<name>Spring Boot Samples</name>
|
|
<description>Spring Boot Samples</description>
|
|
<url>http://projects.spring.io/spring-boot/</url>
|
|
<organization>
|
|
<name>Pivotal Software, Inc.</name>
|
|
<url>http://www.spring.io</url>
|
|
</organization>
|
|
<properties>
|
|
<main.basedir>${basedir}/..</main.basedir>
|
|
</properties>
|
|
<modules>
|
|
<module>spring-boot-sample-actuator</module>
|
|
<module>spring-boot-sample-actuator-log4j</module>
|
|
<module>spring-boot-sample-actuator-noweb</module>
|
|
<module>spring-boot-sample-actuator-ui</module>
|
|
<module>spring-boot-sample-amqp</module>
|
|
<module>spring-boot-sample-aop</module>
|
|
<module>spring-boot-sample-batch</module>
|
|
<module>spring-boot-sample-data-gemfire</module>
|
|
<module>spring-boot-sample-data-jpa</module>
|
|
<module>spring-boot-sample-data-mongodb</module>
|
|
<module>spring-boot-sample-data-redis</module>
|
|
<module>spring-boot-sample-data-rest</module>
|
|
<module>spring-boot-sample-data-solr</module>
|
|
<module>spring-boot-sample-flyway</module>
|
|
<module>spring-boot-sample-integration</module>
|
|
<module>spring-boot-sample-jetty</module>
|
|
<module>spring-boot-sample-liquibase</module>
|
|
<module>spring-boot-sample-profile</module>
|
|
<module>spring-boot-sample-secure</module>
|
|
<module>spring-boot-sample-servlet</module>
|
|
<module>spring-boot-sample-simple</module>
|
|
<module>spring-boot-sample-tomcat</module>
|
|
<module>spring-boot-sample-tomcat-multi-connectors</module>
|
|
<module>spring-boot-sample-traditional</module>
|
|
<module>spring-boot-sample-web-freemarker</module>
|
|
<module>spring-boot-sample-web-groovy-templates</module>
|
|
<module>spring-boot-sample-web-method-security</module>
|
|
<module>spring-boot-sample-web-secure</module>
|
|
<module>spring-boot-sample-web-static</module>
|
|
<module>spring-boot-sample-web-jsp</module>
|
|
<module>spring-boot-sample-web-ui</module>
|
|
<module>spring-boot-sample-web-velocity</module>
|
|
<module>spring-boot-sample-websocket</module>
|
|
<module>spring-boot-sample-xml</module>
|
|
</modules>
|
|
<!-- No dependencies - otherwise the samples won't work if you change the
|
|
parent -->
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-eclipse-plugin</artifactId>
|
|
<configuration>
|
|
<useProjectReferences>false</useProjectReferences>
|
|
<additionalConfig>
|
|
<file>
|
|
<name>.settings/org.eclipse.jdt.ui.prefs</name>
|
|
<location>${main.basedir}/eclipse/org.eclipse.jdt.ui.prefs</location>
|
|
</file>
|
|
<file>
|
|
<name>.settings/org.eclipse.jdt.core.prefs</name>
|
|
<location>${main.basedir}/eclipse/org.eclipse.jdt.core.prefs</location>
|
|
</file>
|
|
</additionalConfig>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<configuration>
|
|
<includes>
|
|
<include>**/*Tests.java</include>
|
|
</includes>
|
|
<excludes>
|
|
<exclude>**/Abstract*.java</exclude>
|
|
</excludes>
|
|
<systemPropertyVariables>
|
|
<java.security.egd>file:/dev/./urandom</java.security.egd>
|
|
<java.awt.headless>true</java.awt.headless>
|
|
</systemPropertyVariables>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
<repositories>
|
|
<repository>
|
|
<id>spring-snapshots</id>
|
|
<name>Spring Snapshots</name>
|
|
<url>http://repo.spring.io/snapshot</url>
|
|
<snapshots>
|
|
<enabled>true</enabled>
|
|
</snapshots>
|
|
</repository>
|
|
<repository>
|
|
<id>spring-milestones</id>
|
|
<name>Spring Milestones</name>
|
|
<url>http://repo.spring.io/milestone</url>
|
|
<snapshots>
|
|
<enabled>false</enabled>
|
|
</snapshots>
|
|
</repository>
|
|
</repositories>
|
|
<pluginRepositories>
|
|
<pluginRepository>
|
|
<id>spring-snapshots</id>
|
|
<name>Spring Snapshots</name>
|
|
<url>http://repo.spring.io/snapshot</url>
|
|
<snapshots>
|
|
<enabled>true</enabled>
|
|
</snapshots>
|
|
</pluginRepository>
|
|
<pluginRepository>
|
|
<id>spring-milestones</id>
|
|
<name>Spring Milestones</name>
|
|
<url>http://repo.spring.io/milestone</url>
|
|
<snapshots>
|
|
<enabled>false</enabled>
|
|
</snapshots>
|
|
</pluginRepository>
|
|
<pluginRepository>
|
|
<id>spring-releases</id>
|
|
<name>Spring Releases</name>
|
|
<url>http://repo.spring.io/release</url>
|
|
<snapshots>
|
|
<enabled>false</enabled>
|
|
</snapshots>
|
|
</pluginRepository>
|
|
</pluginRepositories>
|
|
</project>
|