333 lines
		
	
	
		
			11 KiB
		
	
	
	
		
			XML
		
	
	
	
			
		
		
	
	
			333 lines
		
	
	
		
			11 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-dependencies</artifactId>
 | |
| 		<version>1.0.0.BUILD-SNAPSHOT</version>
 | |
| 		<relativePath>../../spring-boot-dependencies</relativePath>
 | |
| 	</parent>
 | |
| 	<artifactId>spring-boot-starter-parent</artifactId>
 | |
| 	<packaging>pom</packaging>
 | |
| 	<properties>
 | |
| 		<java.version>1.6</java.version>
 | |
| 		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
 | |
| 		<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
 | |
| 		<spring-boot.version>1.0.0.BUILD-SNAPSHOT</spring-boot.version>
 | |
| 	</properties>
 | |
| 	<dependencyManagement>
 | |
| 		<dependencies>
 | |
| 			<dependency>
 | |
| 				<groupId>org.springframework</groupId>
 | |
| 				<artifactId>spring-core</artifactId>
 | |
| 				<version>${spring.version}</version>
 | |
| 				<exclusions>
 | |
| 					<!-- Starters use SLF4J -->
 | |
| 					<exclusion>
 | |
| 						<groupId>commons-logging</groupId>
 | |
| 						<artifactId>commons-logging</artifactId>
 | |
| 					</exclusion>
 | |
| 				</exclusions>
 | |
| 			</dependency>
 | |
| 			<dependency>
 | |
| 				<groupId>org.springframework.boot</groupId>
 | |
| 				<artifactId>spring-boot</artifactId>
 | |
| 				<version>1.0.0.BUILD-SNAPSHOT</version>
 | |
| 			</dependency>
 | |
| 			<dependency>
 | |
| 				<groupId>org.springframework.boot</groupId>
 | |
| 				<artifactId>spring-boot-starter</artifactId>
 | |
| 				<version>1.0.0.BUILD-SNAPSHOT</version>
 | |
| 			</dependency>
 | |
| 			<dependency>
 | |
| 				<groupId>org.springframework.boot</groupId>
 | |
| 				<artifactId>spring-boot-actuator</artifactId>
 | |
| 				<version>1.0.0.BUILD-SNAPSHOT</version>
 | |
| 			</dependency>
 | |
| 			<dependency>
 | |
| 				<groupId>org.springframework.boot</groupId>
 | |
| 				<artifactId>spring-boot-starter-amqp</artifactId>
 | |
| 				<version>1.0.0.BUILD-SNAPSHOT</version>
 | |
| 			</dependency>
 | |
| 			<dependency>
 | |
| 				<groupId>org.springframework.boot</groupId>
 | |
| 				<artifactId>spring-boot-starter-aop</artifactId>
 | |
| 				<version>1.0.0.BUILD-SNAPSHOT</version>
 | |
| 			</dependency>
 | |
| 			<dependency>
 | |
| 				<groupId>org.springframework.boot</groupId>
 | |
| 				<artifactId>spring-boot-starter-actuator</artifactId>
 | |
| 				<version>1.0.0.BUILD-SNAPSHOT</version>
 | |
| 			</dependency>
 | |
| 			<dependency>
 | |
| 				<groupId>org.springframework.boot</groupId>
 | |
| 				<artifactId>spring-boot-starter-batch</artifactId>
 | |
| 				<version>1.0.0.BUILD-SNAPSHOT</version>
 | |
| 			</dependency>
 | |
| 			<dependency>
 | |
| 				<groupId>org.springframework.boot</groupId>
 | |
| 				<artifactId>spring-boot-starter-data-jpa</artifactId>
 | |
| 				<version>1.0.0.BUILD-SNAPSHOT</version>
 | |
| 			</dependency>
 | |
| 			<dependency>
 | |
| 				<groupId>org.springframework.boot</groupId>
 | |
| 				<artifactId>spring-boot-starter-data-mongodb</artifactId>
 | |
| 				<version>1.0.0.BUILD-SNAPSHOT</version>
 | |
| 			</dependency>
 | |
| 			<dependency>
 | |
| 				<groupId>org.springframework.boot</groupId>
 | |
| 				<artifactId>spring-boot-starter-data-rest</artifactId>
 | |
| 				<version>1.0.0.BUILD-SNAPSHOT</version>
 | |
| 			</dependency>
 | |
| 			<dependency>
 | |
| 				<groupId>org.springframework.boot</groupId>
 | |
| 				<artifactId>spring-boot-starter-integration</artifactId>
 | |
| 				<version>1.0.0.BUILD-SNAPSHOT</version>
 | |
| 			</dependency>
 | |
| 			<dependency>
 | |
| 				<groupId>org.springframework.boot</groupId>
 | |
| 				<artifactId>spring-boot-starter-jdbc</artifactId>
 | |
| 				<version>1.0.0.BUILD-SNAPSHOT</version>
 | |
| 			</dependency>
 | |
| 			<dependency>
 | |
| 				<groupId>org.springframework.boot</groupId>
 | |
| 				<artifactId>spring-boot-starter-jetty</artifactId>
 | |
| 				<version>1.0.0.BUILD-SNAPSHOT</version>
 | |
| 			</dependency>
 | |
| 			<dependency>
 | |
| 				<groupId>org.springframework.boot</groupId>
 | |
| 				<artifactId>spring-boot-starter-logging</artifactId>
 | |
| 				<version>1.0.0.BUILD-SNAPSHOT</version>
 | |
| 			</dependency>
 | |
| 			<dependency>
 | |
| 				<groupId>org.springframework.boot</groupId>
 | |
| 				<artifactId>spring-boot-starter-log4j</artifactId>
 | |
| 				<version>1.0.0.BUILD-SNAPSHOT</version>
 | |
| 			</dependency>
 | |
| 			<dependency>
 | |
| 				<groupId>org.springframework.boot</groupId>
 | |
| 				<artifactId>spring-boot-starter-mobile</artifactId>
 | |
| 				<version>1.0.0.BUILD-SNAPSHOT</version>
 | |
| 			</dependency>
 | |
| 			<dependency>
 | |
| 				<groupId>org.springframework.boot</groupId>
 | |
| 				<artifactId>spring-boot-starter-redis</artifactId>
 | |
| 				<version>1.0.0.BUILD-SNAPSHOT</version>
 | |
| 			</dependency>
 | |
| 			<dependency>
 | |
| 				<groupId>org.springframework.boot</groupId>
 | |
| 				<artifactId>spring-boot-starter-security</artifactId>
 | |
| 				<version>1.0.0.BUILD-SNAPSHOT</version>
 | |
| 			</dependency>
 | |
| 			<dependency>
 | |
| 				<groupId>org.springframework.boot</groupId>
 | |
| 				<artifactId>spring-boot-starter-remote-shell</artifactId>
 | |
| 				<version>1.0.0.BUILD-SNAPSHOT</version>
 | |
| 			</dependency>
 | |
| 			<dependency>
 | |
| 				<groupId>org.springframework.boot</groupId>
 | |
| 				<artifactId>spring-boot-starter-test</artifactId>
 | |
| 				<version>1.0.0.BUILD-SNAPSHOT</version>
 | |
| 			</dependency>
 | |
| 			<dependency>
 | |
| 				<groupId>org.springframework.boot</groupId>
 | |
| 				<artifactId>spring-boot-starter-thymeleaf</artifactId>
 | |
| 				<version>1.0.0.BUILD-SNAPSHOT</version>
 | |
| 			</dependency>
 | |
| 			<dependency>
 | |
| 				<groupId>org.springframework.boot</groupId>
 | |
| 				<artifactId>spring-boot-starter-tomcat</artifactId>
 | |
| 				<version>1.0.0.BUILD-SNAPSHOT</version>
 | |
| 			</dependency>
 | |
| 			<dependency>
 | |
| 				<groupId>org.springframework.boot</groupId>
 | |
| 				<artifactId>spring-boot-starter-web</artifactId>
 | |
| 				<version>1.0.0.BUILD-SNAPSHOT</version>
 | |
| 			</dependency>
 | |
| 			<dependency>
 | |
| 				<groupId>org.springframework.boot</groupId>
 | |
| 				<artifactId>spring-boot-starter-websocket</artifactId>
 | |
| 				<version>1.0.0.BUILD-SNAPSHOT</version>
 | |
| 			</dependency>
 | |
| 		</dependencies>
 | |
| 	</dependencyManagement>
 | |
| 	<dependencies>
 | |
| 		<!-- Generally Useful Test Dependencies -->
 | |
| 		<dependency>
 | |
| 			<groupId>junit</groupId>
 | |
| 			<artifactId>junit</artifactId>
 | |
| 			<scope>test</scope>
 | |
| 		</dependency>
 | |
| 		<dependency>
 | |
| 			<groupId>org.mockito</groupId>
 | |
| 			<artifactId>mockito-core</artifactId>
 | |
| 			<scope>test</scope>
 | |
| 		</dependency>
 | |
| 		<dependency>
 | |
| 			<groupId>org.hamcrest</groupId>
 | |
| 			<artifactId>hamcrest-library</artifactId>
 | |
| 			<scope>test</scope>
 | |
| 		</dependency>
 | |
| 	</dependencies>
 | |
| 	<build>
 | |
| 		<!-- Turn on filtering by default for application properties -->
 | |
| 		<resources>
 | |
| 			<resource>
 | |
| 				<directory>src/main/resources</directory>
 | |
| 				<filtering>true</filtering>
 | |
| 				<includes>
 | |
| 					<include>**/application.yml</include>
 | |
| 					<include>**/application.properties</include>
 | |
| 				</includes>
 | |
| 			</resource>
 | |
| 			<resource>
 | |
| 				<directory>src/main/resources</directory>
 | |
| 				<excludes>
 | |
| 					<exclude>**/application.yml</exclude>
 | |
| 					<exclude>**/application.properties</exclude>
 | |
| 				</excludes>
 | |
| 			</resource>
 | |
| 		</resources>
 | |
| 		<pluginManagement>
 | |
| 			<plugins>
 | |
| 				<!-- Apply more sensible defaults for user projects -->
 | |
| 				<plugin>
 | |
| 					<artifactId>maven-compiler-plugin</artifactId>
 | |
| 					<version>3.1</version>
 | |
| 					<configuration>
 | |
| 						<source>${java.version}</source>
 | |
| 						<target>${java.version}</target>
 | |
| 					</configuration>
 | |
| 				</plugin>
 | |
| 				<plugin>
 | |
| 					<artifactId>maven-jar-plugin</artifactId>
 | |
| 					<configuration>
 | |
| 						<archive>
 | |
| 							<manifest>
 | |
| 								<mainClass>${start-class}</mainClass>
 | |
| 							</manifest>
 | |
| 						</archive>
 | |
| 					</configuration>
 | |
| 				</plugin>
 | |
| 				<plugin>
 | |
| 					<artifactId>maven-surefire-plugin</artifactId>
 | |
| 					<version>2.15</version>
 | |
| 					<configuration>
 | |
| 						<includes>
 | |
| 							<include>**/*Tests.java</include>
 | |
| 							<include>**/*Test.java</include>
 | |
| 						</includes>
 | |
| 						<excludes>
 | |
| 							<exclude>**/Abstract*.java</exclude>
 | |
| 						</excludes>
 | |
| 					</configuration>
 | |
| 				</plugin>
 | |
| 				<plugin>
 | |
| 					<artifactId>maven-war-plugin</artifactId>
 | |
| 					<configuration>
 | |
| 						<failOnMissingWebXml>false</failOnMissingWebXml>
 | |
| 						<archive>
 | |
| 							<manifest>
 | |
| 								<mainClass>${start-class}</mainClass>
 | |
| 							</manifest>
 | |
| 						</archive>
 | |
| 					</configuration>
 | |
| 				</plugin>
 | |
| 				<plugin>
 | |
| 					<groupId>org.codehaus.mojo</groupId>
 | |
| 					<artifactId>exec-maven-plugin</artifactId>
 | |
| 					<configuration>
 | |
| 						<mainClass>${start-class}</mainClass>
 | |
| 					</configuration>
 | |
| 				</plugin>
 | |
| 				<plugin>
 | |
| 					<groupId>pl.project13.maven</groupId>
 | |
| 					<artifactId>git-commit-id-plugin</artifactId>
 | |
| 					<version>2.1.7</version>
 | |
| 					<executions>
 | |
| 						<execution>
 | |
| 							<goals>
 | |
| 								<goal>revision</goal>
 | |
| 							</goals>
 | |
| 						</execution>
 | |
| 					</executions>
 | |
| 					<configuration>
 | |
| 						<verbose>true</verbose>
 | |
| 						<dateFormat>yyyy-MM-dd'T'HH:mm:ssZ</dateFormat>
 | |
| 						<generateGitPropertiesFile>true</generateGitPropertiesFile>
 | |
| 						<generateGitPropertiesFilename>src/main/resources/git.properties</generateGitPropertiesFilename>
 | |
| 					</configuration>
 | |
| 				</plugin>
 | |
| 				<!-- Support our own plugin -->
 | |
| 				<plugin>
 | |
| 					<groupId>org.springframework.boot</groupId>
 | |
| 					<artifactId>spring-boot-maven-plugin</artifactId>
 | |
| 					<version>${spring-boot.version}</version>
 | |
| 					<executions>
 | |
| 						<execution>
 | |
| 							<goals>
 | |
| 								<goal>repackage</goal>
 | |
| 							</goals>
 | |
| 						</execution>
 | |
| 					</executions>
 | |
| 					<configuration>
 | |
| 						<mainClass>${start-class}</mainClass>
 | |
| 					</configuration>
 | |
| 				</plugin>
 | |
| 				<!-- Support shade packaging (if the user does not want to use our plugin -->
 | |
| 				<plugin>
 | |
| 					<groupId>org.apache.maven.plugins</groupId>
 | |
| 					<artifactId>maven-shade-plugin</artifactId>
 | |
| 					<version>2.1</version>
 | |
| 					<dependencies>
 | |
| 						<dependency>
 | |
| 							<groupId>org.springframework.boot</groupId>
 | |
| 							<artifactId>spring-boot-maven-plugin</artifactId>
 | |
| 							<version>${spring-boot.version}</version>
 | |
| 						</dependency>
 | |
| 					</dependencies>
 | |
| 					<configuration>
 | |
| 						<keepDependenciesWithProvidedScope>true</keepDependenciesWithProvidedScope>
 | |
| 						<createDependencyReducedPom>true</createDependencyReducedPom>
 | |
| 						<filters>
 | |
| 							<filter>
 | |
| 								<artifact>*:*</artifact>
 | |
| 								<excludes>
 | |
| 									<exclude>META-INF/*.SF</exclude>
 | |
| 									<exclude>META-INF/*.DSA</exclude>
 | |
| 									<exclude>META-INF/*.RSA</exclude>
 | |
| 								</excludes>
 | |
| 							</filter>
 | |
| 						</filters>
 | |
| 					</configuration>
 | |
| 					<executions>
 | |
| 						<execution>
 | |
| 							<phase>package</phase>
 | |
| 							<goals>
 | |
| 								<goal>shade</goal>
 | |
| 							</goals>
 | |
| 							<configuration>
 | |
| 								<transformers>
 | |
| 									<transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
 | |
| 										<resource>META-INF/spring.handlers</resource>
 | |
| 									</transformer>
 | |
| 									<transformer implementation="org.springframework.boot.maven.PropertiesMergingResourceTransformer">
 | |
| 										<resource>META-INF/spring.factories</resource>
 | |
| 									</transformer>
 | |
| 									<transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
 | |
| 										<resource>META-INF/spring.schemas</resource>
 | |
| 									</transformer>
 | |
| 									<transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" />
 | |
| 									<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
 | |
| 										<mainClass>${start-class}</mainClass>
 | |
| 									</transformer>
 | |
| 								</transformers>
 | |
| 							</configuration>
 | |
| 						</execution>
 | |
| 					</executions>
 | |
| 				</plugin>
 | |
| 			</plugins>
 | |
| 		</pluginManagement>
 | |
| 	</build>
 | |
| </project>
 |