Skip to content

Commit e463e8b

Browse files
committed
Merge branch 'master' into spring-projectsgh-7659
Conflicts: spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/RepackageMojo.java
2 parents 8bd572a + 4ff8126 commit e463e8b

File tree

5,370 files changed

+115317
-107738
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

5,370 files changed

+115317
-107738
lines changed

.gitignore

Lines changed: 27 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,38 @@
1-
.gradle
2-
*.sw?
3-
.#*
41
*#
2+
*.iml
3+
*.ipr
4+
*.iws
5+
*.jar
6+
*.sw?
57
*~
6-
/build
7-
/code
8+
.#*
9+
.*.md.html
10+
.DS_Store
811
.classpath
9-
.project
10-
.settings
11-
.metadata
1212
.factorypath
13+
.gradle
14+
.idea
15+
.metadata
16+
.project
1317
.recommenders
18+
.settings
19+
.springBeans
20+
/build
21+
/code
22+
MANIFEST.MF
23+
_site/
24+
activemq-data
1425
bin
1526
build
16-
lib/
17-
target
18-
.springBeans
19-
interpolated*.xml
20-
dependency-reduced-pom.xml
2127
build.log
22-
_site/
23-
.*.md.html
28+
dependency-reduced-pom.xml
29+
dump.rdb
30+
interpolated*.xml
31+
lib/
2432
manifest.yml
25-
MANIFEST.MF
26-
settings.xml
27-
activemq-data
2833
overridedb.*
29-
*.iml
30-
*.ipr
31-
*.iws
32-
.idea
33-
*.jar
34-
.DS_Store
35-
dump.rdb
34+
settings.xml
35+
target
3636
transaction-logs
37+
.flattened-pom.xml
38+
secrets.yml

.mvn/wrapper/maven-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.5.0/apache-maven-3.5.0-bin.zip
1+
distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.5.2/apache-maven-3.5.2-bin.zip

.travis.yml

Lines changed: 0 additions & 14 deletions
This file was deleted.

CONTRIBUTING.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ some compilations for Spring Boot as we include a maven plugin and use it within
105105
samples. The standard build works around this restriction by launching the samples via
106106
the `maven-invoker-plugin` so that they are not part of the reactor. This works fine
107107
most of the time, however, sometimes it's useful to run a build that includes all modules
108-
(for example when using `maven-versions-plugin`. We use the full build on our CI servers
108+
(for example when using `maven-versions-plugin`). We use the full build on our CI servers
109109
and during the release process.
110110

111111
Running a full build is a two phase process.
@@ -115,7 +115,7 @@ Running a full build is a two phase process.
115115
Preparing the build will compile and install the `spring-boot-maven-plugin` so that it
116116
can be referenced during the full build. It also generates a `settings.xml` file that
117117
enables a `snapshot`, `milestone` or `release` profiles based on the version being
118-
build. To prepare the build, from the root directory use:
118+
built. To prepare the build, from the root directory use:
119119

120120
[indent=0]
121121
----

LICENSE.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -179,15 +179,15 @@
179179
APPENDIX: How to apply the Apache License to your work.
180180

181181
To apply the Apache License to your work, attach the following
182-
boilerplate notice, with the fields enclosed by brackets "[]"
182+
boilerplate notice, with the fields enclosed by brackets "{}"
183183
replaced with your own identifying information. (Don't include
184184
the brackets!) The text should be enclosed in the appropriate
185185
comment syntax for the file format. We also recommend that a
186186
file or class name and description of purpose be included on the
187187
same "printed page" as the copyright notice for easier
188188
identification within third-party archives.
189189

190-
Copyright [yyyy] [name of copyright owner]
190+
Copyright {yyyy} {name of copyright owner}
191191

192192
Licensed under the Apache License, Version 2.0 (the "License");
193193
you may not use this file except in compliance with the License.
@@ -199,4 +199,4 @@
199199
distributed under the License is distributed on an "AS IS" BASIS,
200200
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201201
See the License for the specific language governing permissions and
202-
limitations under the License.
202+
limitations under the License.

README.adoc

Lines changed: 19 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
= Spring Boot image:https://build.spring.io/plugins/servlet/buildStatusImage/BOOT-PUB["Build Status", link="https://build.spring.io/browse/BOOT-PUB"] image:https://badges.gitter.im/Join Chat.svg["Chat",link="https://gitter.im/spring-projects/spring-boot?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge"]
1+
= Spring Boot image:https://ci.spring.io/api/v1/teams/spring-boot/pipelines/spring-boot/jobs/build/badge["Build Status", link="https://ci.spring.io/teams/spring-boot/pipelines/spring-boot?groups=Build"] image:https://badges.gitter.im/Join Chat.svg["Chat",link="https://gitter.im/spring-projects/spring-boot?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge"]
22
:docs: http://docs.spring.io/spring-boot/docs/current-SNAPSHOT/reference
33

44
Spring Boot makes it easy to create Spring-powered, production-grade applications and
@@ -95,8 +95,7 @@ requests. If you want to raise an issue, please follow the recommendations below
9595
You don't need to build from source to use Spring Boot (binaries in
9696
http://repo.spring.io[repo.spring.io]), but if you want to try out the latest and
9797
greatest, Spring Boot can be easily built with the
98-
https://github.com/takari/maven-wrapper[maven wrapper]. You also need JDK 1.8 (although
99-
Boot applications can run on Java 1.6).
98+
https://github.com/takari/maven-wrapper[maven wrapper]. You also need JDK 1.8.
10099

101100
[indent=0]
102101
----
@@ -116,35 +115,42 @@ is automatically set if you use the maven wrapper.
116115
_Also see link:CONTRIBUTING.adoc[CONTRIBUTING.adoc] if you wish to submit pull requests,
117116
and in particular please fill out the
118117
https://support.springsource.com/spring_committer_signup[Contributor's Agreement]
119-
before your first change, however trivial. (Or if you filed such an agreement already for
120-
another project just mention that in your pull request.)_
118+
before your first change, however trivial._
121119

122120
=== Building reference documentation
123121

122+
First of all, make sure you have built the project:
123+
124+
[indent=0]
125+
----
126+
$ ./mvnw clean install
127+
----
128+
124129
The reference documentation requires the documentation of the Maven plugin to be
125130
available so you need to build that first since it's not generated by default.
126131

127132
[indent=0]
128133
----
129-
$ ./mvnw clean install -pl spring-boot-tools/spring-boot-maven-plugin -Pdefault,full
134+
$ ./mvnw clean install -pl spring-boot-project/spring-boot-tools/spring-boot-maven-plugin -Pdefault,full
130135
----
131136

132-
The documentation also includes auto-generated information about the starters. To
133-
allow this information to be collected, the starter projects must be built first:
137+
The documentation also includes auto-generated information about the starters. You might
138+
have that in your local repository already (per the first step) but if you want to refresh
139+
it:
134140

135141
[indent=0]
136142
----
137-
$ ./mvnw clean install -f spring-boot-starters
143+
$ ./mvnw clean install -f spring-boot-project/spring-boot-starters
138144
----
139145

140146
Once this is done, you can build the reference documentation with the command below:
141147

142148
[indent=0]
143149
----
144-
$ ./mvnw clean prepare-package -pl spring-boot-docs -Pdefault,full
150+
$ ./mvnw clean prepare-package -pl spring-boot-project/spring-boot-docs -Pdefault,full
145151
----
146152

147-
TIP: The generated documentation is available from `spring-boot-docs/target/contents/reference`
153+
TIP: The generated documentation is available from `spring-boot-project/spring-boot-docs/target/contents/reference`
148154

149155

150156
== Modules
@@ -159,7 +165,7 @@ these include:
159165
* The `SpringApplication` class, providing static convenience methods that make it easy
160166
to write a stand-alone Spring Application. Its sole job is to create and refresh an
161167
appropriate Spring `ApplicationContext`
162-
* Embedded web applications with a choice of container (Tomcat or Jetty for now)
168+
* Embedded web applications with a choice of container (Tomcat, Jetty or Undertow)
163169
* First class externalized configuration support
164170
* Convenience `ApplicationContext` initializers, including support for sensible logging
165171
defaults
@@ -171,7 +177,7 @@ Spring Boot can configure large parts of common applications based on the conten
171177
of their classpath. A single `@EnableAutoConfiguration` annotation triggers
172178
auto-configuration of the Spring context.
173179

174-
Auto-configuration attempts to deduce which beans a user might need. For example, If
180+
Auto-configuration attempts to deduce which beans a user might need. For example, if
175181
`HSQLDB` is on the classpath, and the user has not configured any database connections,
176182
then they probably want an in-memory database to be defined. Auto-configuration will
177183
always back away as the user starts to define their own beans.

ci/README.adoc

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
== Concourse pipeline
2+
3+
The pipeline can be deployed using the following command:
4+
5+
[source]
6+
----
7+
$ fly -t spring set-pipeline -p spring-boot -c ci/pipeline.yml -l ci/parameters.yml
8+
----
9+
10+
NOTE: This assumes that you have credhub integration configured with the appropriate
11+
secrets
12+
13+
=== Release
14+
15+
To release a milestone:
16+
17+
[source]
18+
----
19+
$ fly -t spring trigger-job -j spring-boot/stage-milestone
20+
$ fly -t spring trigger-job -j spring-boot/promote-milestone
21+
----
22+
23+
To release an RC:
24+
25+
[source]
26+
----
27+
$ fly -t spring trigger-job -j spring-boot/stage-rc
28+
$ fly -t spring trigger-job -j spring-boot/promote-rc
29+
----
30+
31+
To release a GA:
32+
33+
[source]
34+
----
35+
$ fly -t spring trigger-job -j spring-boot/stage-release
36+
$ fly -t spring trigger-job -j spring-boot/promote-release
37+
----
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
FROM openjdk:8u141-jdk
2+
3+
RUN apt-get update && \
4+
apt-get install -y git && \
5+
apt-get install -y libxml2-utils && \
6+
apt-get install -y jq
7+
8+
ADD https://raw.githubusercontent.com/spring-io/concourse-java-scripts/v0.0.1/concourse-java.sh /opt/
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
FROM openjdk:9-b179-jdk
2+
3+
RUN apt-get update && \
4+
apt-get install -y git && \
5+
apt-get install -y libxml2-utils && \
6+
apt-get install -y jq
7+
8+
ADD https://raw.githubusercontent.com/spring-io/concourse-java-scripts/v0.0.1/concourse-java.sh /opt/

ci/parameters.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
email-server: "smtp.svc.pivotal.io"
2+
email-from: "[email protected]"
3+
email-to: ["[email protected]"]
4+
github-repo: "https://github.com/spring-projects/spring-boot.git"
5+
github-repo-name: "spring-projects/spring-boot"
6+
docker-hub-organization: "springci"
7+
artifactory-server: "https://repo.spring.io/"
8+
branch: "master"
9+
build-name: "spring-boot"
10+
bintray-subject: "spring"
11+
bintray-repo: "jars"

0 commit comments

Comments
 (0)