|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
2 |
| -<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"> |
| 2 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 3 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
3 | 4 | <modelVersion>4.0.0</modelVersion>
|
4 | 5 | <parent>
|
5 | 6 | <groupId>org.springframework.boot</groupId>
|
6 | 7 | <artifactId>spring-boot-starter-parent</artifactId>
|
7 |
| - <version>2.0.0.BUILD-SNAPSHOT</version> |
8 |
| - <relativePath>../spring-boot-starters/spring-boot-starter-parent</relativePath> |
| 8 | + <version>${revision}</version> |
| 9 | + <relativePath>../spring-boot-project/spring-boot-starters/spring-boot-starter-parent</relativePath> |
9 | 10 | </parent>
|
10 | 11 | <artifactId>spring-boot-samples</artifactId>
|
11 | 12 | <packaging>pom</packaging>
|
12 | 13 | <name>Spring Boot Samples</name>
|
13 | 14 | <description>Spring Boot Samples</description>
|
14 |
| - <url>http://projects.spring.io/spring-boot/</url> |
15 |
| - <organization> |
16 |
| - <name>Pivotal Software, Inc.</name> |
17 |
| - <url>http://www.spring.io</url> |
18 |
| - </organization> |
19 | 15 | <properties>
|
20 | 16 | <main.basedir>${basedir}/..</main.basedir>
|
21 | 17 | <java.version>1.8</java.version>
|
|
103 | 99 | <!-- No dependencies - otherwise the samples won't work if you change the
|
104 | 100 | parent -->
|
105 | 101 | <build>
|
| 102 | + <pluginManagement> |
| 103 | + <plugins> |
| 104 | + <plugin> |
| 105 | + <groupId>org.codehaus.mojo</groupId> |
| 106 | + <artifactId>flatten-maven-plugin</artifactId> |
| 107 | + <inherited>true</inherited> |
| 108 | + <executions> |
| 109 | + <execution> |
| 110 | + <id>flatten</id> |
| 111 | + <phase>process-resources</phase> |
| 112 | + <goals> |
| 113 | + <goal>flatten</goal> |
| 114 | + </goals> |
| 115 | + <configuration> |
| 116 | + <updatePomFile>true</updatePomFile> |
| 117 | + <flattenMode>oss</flattenMode> |
| 118 | + </configuration> |
| 119 | + </execution> |
| 120 | + </executions> |
| 121 | + </plugin> |
| 122 | + <plugin> |
| 123 | + <groupId>org.eclipse.m2e</groupId> |
| 124 | + <artifactId>lifecycle-mapping</artifactId> |
| 125 | + <version>1.0.0</version> |
| 126 | + <configuration> |
| 127 | + <lifecycleMappingMetadata> |
| 128 | + <pluginExecutions> |
| 129 | + <pluginExecution> |
| 130 | + <pluginExecutionFilter> |
| 131 | + <groupId> |
| 132 | + org.apache.maven.plugins |
| 133 | + </groupId> |
| 134 | + <artifactId> |
| 135 | + maven-enforcer-plugin |
| 136 | + </artifactId> |
| 137 | + <versionRange> |
| 138 | + [1.3.1,) |
| 139 | + </versionRange> |
| 140 | + <goals> |
| 141 | + <goal>enforce</goal> |
| 142 | + </goals> |
| 143 | + </pluginExecutionFilter> |
| 144 | + <action> |
| 145 | + <ignore /> |
| 146 | + </action> |
| 147 | + </pluginExecution> |
| 148 | + <pluginExecution> |
| 149 | + <pluginExecutionFilter> |
| 150 | + <groupId> |
| 151 | + org.springframework.boot |
| 152 | + </groupId> |
| 153 | + <artifactId> |
| 154 | + spring-boot-maven-plugin |
| 155 | + </artifactId> |
| 156 | + <versionRange> |
| 157 | + [1.4.0.BUILD-SNAPSHOT,) |
| 158 | + </versionRange> |
| 159 | + <goals> |
| 160 | + <goal>build-info</goal> |
| 161 | + </goals> |
| 162 | + </pluginExecutionFilter> |
| 163 | + <action> |
| 164 | + <ignore /> |
| 165 | + </action> |
| 166 | + </pluginExecution> |
| 167 | + </pluginExecutions> |
| 168 | + </lifecycleMappingMetadata> |
| 169 | + </configuration> |
| 170 | + </plugin> |
| 171 | + </plugins> |
| 172 | + </pluginManagement> |
106 | 173 | <plugins>
|
107 | 174 | <plugin>
|
108 | 175 | <groupId>org.apache.maven.plugins</groupId>
|
|
160 | 227 | </execution>
|
161 | 228 | </executions>
|
162 | 229 | </plugin>
|
| 230 | + <plugin> |
| 231 | + <groupId>org.apache.maven.plugins</groupId> |
| 232 | + <artifactId>maven-install-plugin</artifactId> |
| 233 | + <configuration> |
| 234 | + <skip>true</skip> |
| 235 | + </configuration> |
| 236 | + </plugin> |
| 237 | + <plugin> |
| 238 | + <groupId>org.apache.maven.plugins</groupId> |
| 239 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 240 | + <configuration> |
| 241 | + <skip>true</skip> |
| 242 | + </configuration> |
| 243 | + <inherited>true</inherited> |
| 244 | + </plugin> |
163 | 245 | </plugins>
|
164 |
| - <pluginManagement> |
165 |
| - <plugins> |
166 |
| - <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.--> |
167 |
| - <plugin> |
168 |
| - <groupId>org.eclipse.m2e</groupId> |
169 |
| - <artifactId>lifecycle-mapping</artifactId> |
170 |
| - <version>1.0.0</version> |
171 |
| - <configuration> |
172 |
| - <lifecycleMappingMetadata> |
173 |
| - <pluginExecutions> |
174 |
| - <pluginExecution> |
175 |
| - <pluginExecutionFilter> |
176 |
| - <groupId> |
177 |
| - org.apache.maven.plugins |
178 |
| - </groupId> |
179 |
| - <artifactId> |
180 |
| - maven-enforcer-plugin |
181 |
| - </artifactId> |
182 |
| - <versionRange> |
183 |
| - [1.3.1,) |
184 |
| - </versionRange> |
185 |
| - <goals> |
186 |
| - <goal>enforce</goal> |
187 |
| - </goals> |
188 |
| - </pluginExecutionFilter> |
189 |
| - <action> |
190 |
| - <ignore /> |
191 |
| - </action> |
192 |
| - </pluginExecution> |
193 |
| - <pluginExecution> |
194 |
| - <pluginExecutionFilter> |
195 |
| - <groupId> |
196 |
| - org.springframework.boot |
197 |
| - </groupId> |
198 |
| - <artifactId> |
199 |
| - spring-boot-maven-plugin |
200 |
| - </artifactId> |
201 |
| - <versionRange> |
202 |
| - [1.4.0.BUILD-SNAPSHOT,) |
203 |
| - </versionRange> |
204 |
| - <goals> |
205 |
| - <goal>build-info</goal> |
206 |
| - </goals> |
207 |
| - </pluginExecutionFilter> |
208 |
| - <action> |
209 |
| - <ignore /> |
210 |
| - </action> |
211 |
| - </pluginExecution> |
212 |
| - </pluginExecutions> |
213 |
| - </lifecycleMappingMetadata> |
214 |
| - </configuration> |
215 |
| - </plugin> |
216 |
| - </plugins> |
217 |
| - </pluginManagement> |
218 | 246 | </build>
|
219 |
| - <repositories> |
220 |
| - <repository> |
221 |
| - <id>spring-snapshots</id> |
222 |
| - <name>Spring Snapshots</name> |
223 |
| - <url>http://repo.spring.io/snapshot</url> |
224 |
| - <snapshots> |
225 |
| - <enabled>true</enabled> |
226 |
| - </snapshots> |
227 |
| - </repository> |
228 |
| - <repository> |
229 |
| - <id>spring-milestones</id> |
230 |
| - <name>Spring Milestones</name> |
231 |
| - <url>http://repo.spring.io/milestone</url> |
232 |
| - <snapshots> |
233 |
| - <enabled>false</enabled> |
234 |
| - </snapshots> |
235 |
| - </repository> |
236 |
| - </repositories> |
237 |
| - <pluginRepositories> |
238 |
| - <pluginRepository> |
239 |
| - <id>spring-snapshots</id> |
240 |
| - <name>Spring Snapshots</name> |
241 |
| - <url>http://repo.spring.io/snapshot</url> |
242 |
| - <snapshots> |
243 |
| - <enabled>true</enabled> |
244 |
| - </snapshots> |
245 |
| - </pluginRepository> |
246 |
| - <pluginRepository> |
247 |
| - <id>spring-milestones</id> |
248 |
| - <name>Spring Milestones</name> |
249 |
| - <url>http://repo.spring.io/milestone</url> |
250 |
| - <snapshots> |
251 |
| - <enabled>false</enabled> |
252 |
| - </snapshots> |
253 |
| - </pluginRepository> |
254 |
| - <pluginRepository> |
255 |
| - <id>spring-releases</id> |
256 |
| - <name>Spring Releases</name> |
257 |
| - <url>http://repo.spring.io/release</url> |
258 |
| - <snapshots> |
259 |
| - <enabled>false</enabled> |
260 |
| - </snapshots> |
261 |
| - </pluginRepository> |
262 |
| - </pluginRepositories> |
263 | 247 | <profiles>
|
264 | 248 | <profile>
|
265 | 249 | <id>java9</id>
|
|
0 commit comments