You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
379 lines
11 KiB
XML
379 lines
11 KiB
XML
12 years ago
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
11 years ago
|
|
||
|
<!--
|
||
|
|
||
|
This POM file that can be used as a parent for your own builds. It provides generally
|
||
|
useful dependencies and plugins.
|
||
|
|
||
|
NOTE: If you are editing a local checkout of this file, be sure to modify
|
||
11 years ago
|
'spring-boot-starters/src/main/parent/pom.xml'.
|
||
11 years ago
|
|
||
|
-->
|
||
|
|
||
12 years ago
|
<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">
|
||
11 years ago
|
|
||
|
|
||
12 years ago
|
<modelVersion>4.0.0</modelVersion>
|
||
11 years ago
|
|
||
|
<!-- Intentionally do not inherit from boot-parent -->
|
||
11 years ago
|
<groupId>org.springframework.boot</groupId>
|
||
11 years ago
|
<artifactId>spring-boot-starter-parent</artifactId>
|
||
12 years ago
|
<version>0.5.0.BUILD-SNAPSHOT</version>
|
||
11 years ago
|
|
||
12 years ago
|
<packaging>pom</packaging>
|
||
11 years ago
|
|
||
12 years ago
|
<properties>
|
||
|
<java.version>1.6</java.version>
|
||
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||
|
<spring.version>4.0.0.BUILD-SNAPSHOT</spring.version>
|
||
11 years ago
|
<spring.boot.version>0.5.0.BUILD-SNAPSHOT</spring.boot.version>
|
||
12 years ago
|
</properties>
|
||
11 years ago
|
|
||
12 years ago
|
<prerequisites>
|
||
|
<maven>3.0</maven>
|
||
|
</prerequisites>
|
||
11 years ago
|
|
||
12 years ago
|
<dependencyManagement>
|
||
|
<dependencies>
|
||
|
<dependency>
|
||
11 years ago
|
<groupId>org.springframework.boot</groupId>
|
||
11 years ago
|
<artifactId>spring-boot-parent</artifactId>
|
||
11 years ago
|
<version>${spring.boot.version}</version>
|
||
12 years ago
|
<type>pom</type>
|
||
|
<scope>import</scope>
|
||
12 years ago
|
</dependency>
|
||
|
<dependency>
|
||
11 years ago
|
<groupId>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-strap</artifactId>
|
||
|
<version>${spring.boot.version}</version>
|
||
12 years ago
|
</dependency>
|
||
|
<dependency>
|
||
11 years ago
|
<groupId>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-ops</artifactId>
|
||
|
<version>${spring.boot.version}</version>
|
||
12 years ago
|
</dependency>
|
||
|
<dependency>
|
||
11 years ago
|
<groupId>org.springframework.boot</groupId>
|
||
11 years ago
|
<artifactId>spring-boot-starter</artifactId>
|
||
11 years ago
|
<version>${spring.boot.version}</version>
|
||
12 years ago
|
</dependency>
|
||
|
<dependency>
|
||
11 years ago
|
<groupId>org.springframework.boot</groupId>
|
||
11 years ago
|
<artifactId>spring-boot-starter-ops</artifactId>
|
||
11 years ago
|
<version>${spring.boot.version}</version>
|
||
12 years ago
|
</dependency>
|
||
|
<dependency>
|
||
11 years ago
|
<groupId>org.springframework.boot</groupId>
|
||
11 years ago
|
<artifactId>spring-boot-starter-web</artifactId>
|
||
11 years ago
|
<version>${spring.boot.version}</version>
|
||
12 years ago
|
</dependency>
|
||
|
<dependency>
|
||
11 years ago
|
<groupId>org.springframework.boot</groupId>
|
||
11 years ago
|
<artifactId>spring-boot-starter-tomcat</artifactId>
|
||
11 years ago
|
<version>${spring.boot.version}</version>
|
||
12 years ago
|
</dependency>
|
||
12 years ago
|
<dependency>
|
||
11 years ago
|
<groupId>org.springframework.boot</groupId>
|
||
11 years ago
|
<artifactId>spring-boot-starter-jetty</artifactId>
|
||
11 years ago
|
<version>${spring.boot.version}</version>
|
||
12 years ago
|
</dependency>
|
||
12 years ago
|
<dependency>
|
||
11 years ago
|
<groupId>org.springframework.boot</groupId>
|
||
11 years ago
|
<artifactId>spring-boot-starter-data-jpa</artifactId>
|
||
11 years ago
|
<version>${spring.boot.version}</version>
|
||
12 years ago
|
</dependency>
|
||
|
<dependency>
|
||
11 years ago
|
<groupId>org.springframework.boot</groupId>
|
||
11 years ago
|
<artifactId>spring-boot-starter-batch</artifactId>
|
||
11 years ago
|
<version>${spring.boot.version}</version>
|
||
12 years ago
|
</dependency>
|
||
|
<dependency>
|
||
11 years ago
|
<groupId>org.springframework.boot</groupId>
|
||
11 years ago
|
<artifactId>spring-boot-starter-integration</artifactId>
|
||
11 years ago
|
<version>${spring.boot.version}</version>
|
||
12 years ago
|
</dependency>
|
||
|
<dependency>
|
||
11 years ago
|
<groupId>org.springframework.boot</groupId>
|
||
11 years ago
|
<artifactId>spring-boot-starter-security</artifactId>
|
||
11 years ago
|
<version>${spring.boot.version}</version>
|
||
12 years ago
|
</dependency>
|
||
|
</dependencies>
|
||
|
</dependencyManagement>
|
||
11 years ago
|
|
||
12 years ago
|
<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>
|
||
11 years ago
|
|
||
12 years ago
|
<build>
|
||
12 years ago
|
<resources>
|
||
|
<resource>
|
||
|
<directory>src/main/resources</directory>
|
||
|
<filtering>true</filtering>
|
||
|
<includes>
|
||
|
<include>**/application.yml</include>
|
||
|
<include>**/application.propeties</include>
|
||
|
</includes>
|
||
|
</resource>
|
||
|
<resource>
|
||
|
<directory>src/main/resources</directory>
|
||
|
<excludes>
|
||
|
<exclude>**/application.yml</exclude>
|
||
|
<exclude>**/application.propeties</exclude>
|
||
|
</excludes>
|
||
|
</resource>
|
||
|
</resources>
|
||
12 years ago
|
<pluginManagement>
|
||
|
<plugins>
|
||
|
<!-- Use specific maven plugin versions -->
|
||
|
<plugin>
|
||
|
<artifactId>maven-assembly-plugin</artifactId>
|
||
|
<version>2.4</version>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<artifactId>maven-clean-plugin</artifactId>
|
||
|
<version>2.5</version>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<artifactId>maven-compiler-plugin</artifactId>
|
||
|
<version>3.1</version>
|
||
|
<configuration>
|
||
|
<source>${java.version}</source>
|
||
|
<target>${java.version}</target>
|
||
|
</configuration>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<artifactId>maven-deploy-plugin</artifactId>
|
||
|
<version>2.7</version>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<artifactId>maven-dependency-plugin</artifactId>
|
||
|
<version>2.8</version>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<artifactId>maven-eclipse-plugin</artifactId>
|
||
|
<version>2.9</version>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<artifactId>maven-failsafe-plugin</artifactId>
|
||
|
<version>2.13</version>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<artifactId>maven-install-plugin</artifactId>
|
||
|
<version>2.4</version>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<artifactId>maven-invoker-plugin</artifactId>
|
||
|
<version>1.8</version>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<artifactId>maven-jar-plugin</artifactId>
|
||
|
<version>2.4</version>
|
||
11 years ago
|
<configuration>
|
||
|
<archive>
|
||
|
<manifest>
|
||
|
<mainClass>${start-class}</mainClass>
|
||
|
</manifest>
|
||
|
</archive>
|
||
|
</configuration>
|
||
12 years ago
|
</plugin>
|
||
|
<plugin>
|
||
|
<artifactId>maven-javadoc-plugin</artifactId>
|
||
|
<version>2.9</version>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<artifactId>maven-plugin-plugin</artifactId>
|
||
|
<version>3.2</version>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<artifactId>maven-resources-plugin</artifactId>
|
||
|
<version>2.6</version>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<artifactId>maven-site-plugin</artifactId>
|
||
|
<version>3.2</version>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<artifactId>maven-source-plugin</artifactId>
|
||
|
<version>2.2.1</version>
|
||
|
</plugin>
|
||
12 years ago
|
<plugin>
|
||
|
<artifactId>exec-maven-plugin</artifactId>
|
||
|
<version>1.2.1</version>
|
||
|
<configuration>
|
||
11 years ago
|
<manifest>
|
||
|
<mainClass>${start-class}</mainClass>
|
||
|
</manifest>
|
||
12 years ago
|
</configuration>
|
||
|
</plugin>
|
||
12 years ago
|
<plugin>
|
||
|
<artifactId>maven-surefire-plugin</artifactId>
|
||
|
<version>2.15</version>
|
||
12 years ago
|
<configuration>
|
||
|
<includes>
|
||
|
<include>**/*Tests.java</include>
|
||
|
<include>**/*Test.java</include>
|
||
|
</includes>
|
||
|
<excludes>
|
||
|
<exclude>**/Abstract*.java</exclude>
|
||
|
</excludes>
|
||
|
</configuration>
|
||
12 years ago
|
</plugin>
|
||
|
<plugin>
|
||
|
<artifactId>maven-war-plugin</artifactId>
|
||
|
<version>2.3</version>
|
||
11 years ago
|
<configuration>
|
||
11 years ago
|
<failOnMissingWebXml>false</failOnMissingWebXml>
|
||
11 years ago
|
<archive>
|
||
|
<manifest>
|
||
|
<mainClass>${start-class}</mainClass>
|
||
|
</manifest>
|
||
|
</archive>
|
||
|
</configuration>
|
||
12 years ago
|
</plugin>
|
||
|
|
||
|
<!-- Support the generally useful versions command -->
|
||
|
<plugin>
|
||
|
<groupId>org.codehaus.mojo</groupId>
|
||
|
<artifactId>versions-maven-plugin</artifactId>
|
||
|
<version>2.0</version>
|
||
|
</plugin>
|
||
|
|
||
12 years ago
|
<!-- Support the generally useful git info plugin -->
|
||
|
<plugin>
|
||
|
<groupId>pl.project13.maven</groupId>
|
||
|
<artifactId>git-commit-id-plugin</artifactId>
|
||
|
<version>1.9</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>
|
||
|
|
||
12 years ago
|
<!-- Support our own packaging plugin -->
|
||
|
<plugin>
|
||
11 years ago
|
<groupId>org.springframework.boot</groupId>
|
||
11 years ago
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
||
11 years ago
|
<version>${spring.boot.version}</version>
|
||
12 years ago
|
<executions>
|
||
|
<execution>
|
||
|
<goals>
|
||
11 years ago
|
<goal>repackage</goal>
|
||
12 years ago
|
</goals>
|
||
|
</execution>
|
||
|
</executions>
|
||
11 years ago
|
<configuration>
|
||
|
<mainClass>${start-class}</mainClass>
|
||
|
</configuration>
|
||
12 years ago
|
</plugin>
|
||
12 years ago
|
|
||
12 years ago
|
<!-- Support shade packaging -->
|
||
|
<plugin>
|
||
|
<groupId>org.apache.maven.plugins</groupId>
|
||
|
<artifactId>maven-shade-plugin</artifactId>
|
||
|
<version>2.1</version>
|
||
|
<dependencies>
|
||
|
<dependency>
|
||
11 years ago
|
<groupId>org.springframework.boot</groupId>
|
||
11 years ago
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
||
11 years ago
|
<version>${spring.boot.version}</version>
|
||
12 years ago
|
</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.maven.packaging.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>
|
||
11 years ago
|
|
||
|
<profiles>
|
||
|
<profile>
|
||
|
<id>spring-deploy</id>
|
||
|
<distributionManagement>
|
||
|
<downloadUrl>http://www.springsource.com/download/community</downloadUrl>
|
||
|
<site>
|
||
|
<id>spring-docs</id>
|
||
|
<url>scp://static.springframework.org/var/www/domains/springframework.org/static/htdocs/spring-boot/docs/${project.version}</url>
|
||
|
</site>
|
||
|
<repository>
|
||
|
<id>spring-repo-release</id>
|
||
|
<name>Spring Release Repository</name>
|
||
|
<url>http://repo.springsource.org/libs-release-local</url>
|
||
|
</repository>
|
||
|
<snapshotRepository>
|
||
|
<id>spring-repo-snapshot</id>
|
||
|
<name>Spring Snapshot Repository</name>
|
||
|
<url>http://repo.springsource.org/libs-snapshot-local</url>
|
||
|
</snapshotRepository>
|
||
|
</distributionManagement>
|
||
|
</profile>
|
||
|
</profiles>
|
||
12 years ago
|
</project>
|