Andy Wilkinson
68e3de0357
Use name from header not alias when checking entry has expected name
...
Previously, an entry’s potentially aliased name would be used when
checking that it has a particular name. The alias would always be
applied, irrespective of the name in the header. As a result, when
there was a clashing hash and an entry with a particular index did
not have the expected name, this would be concealed by the alias
being applied and the name check being done with the alias.
This commit reworks JarEntry to store the name in its header in
addition to its alias, if any. When checking that the entry has the
expected name, the unaliased name is passed in and the entry compares
it with the name from the header rather than the alias.
Closes gh-15981
7 years ago
Brian Clozel
2a2bfb9915
Auto-generate the "Common application properties"
...
Prior to this commit, the application properties listed in the reference
documentation would be manually managed and updated.
This commit adds a new `spring-boot-configuration-docs` project that
extracts that information from the available JSON metadata and writes
Asciidoctor tables ready for inclusion in the reference documentation.
The `generateConfigurationPropertyTables.groovy` is using this library
and configures the sections and how namespaces should be organized.
Fixes gh-8237
7 years ago
Madhura Bhave
012a956454
Fix typo in doc
7 years ago
Andy Wilkinson
9fb0b97f96
Decorate test containers so tests are skipped without Docker
...
Closes gh-15901
Closes gh-15638
7 years ago
Andy Wilkinson
948bafa4d8
Repackage kotlin-module metadata beneath BOOT-INF/classes
...
Closes gh-15890
7 years ago
Andy Wilkinson
a975c0ad16
Use Testcontainers’ CassandraContainer rather than our own
...
Closes gh-15901
7 years ago
Michael Simons
316126e8f0
Replace custom Neo4j container with Testcontainers version
...
See gh-15638
7 years ago
Andy Wilkinson
6fe9e3a0e1
Test the Gradle plugin against Gradle 5.2.1
...
Closes gh-15892
7 years ago
Andy Wilkinson
4faa0f51b7
Polish "Test the Gradle plugin against Gradle 4.10.3 and 5.1.1"
...
Closes gh-15791
7 years ago
dreis2211
1de372d896
Test the Gradle plugin against Gradle 4.10.3 and 5.1.1
...
See gh-15791
7 years ago
Andy Wilkinson
8a7958ef55
Do not use reflection to fall back to JDKs jar URLStreamHandler
...
Closes gh-15844
7 years ago
Andy Wilkinson
2650a07dc9
Leave module-info.class in root of archive when repackaging
...
Closes gh-15810
7 years ago
dreis2211
d4ab101223
Use Assertions.contentOf() where possible
...
Closes gh-15793
7 years ago
Stephane Nicoll
6baa6b291e
Polish contribution
...
Closes gh-15695
7 years ago
Johnny Lim
af3ed9ff9f
Polish
...
See gh-15695
7 years ago
Stephane Nicoll
8d1d3fb087
Polish "Avoid string concatenation inside StringBuilder append()"
...
Closes gh-15589
7 years ago
igor-suhorukov
59ac85d371
Avoid string concatenation inside StringBuilder append()
...
See gh-15589
7 years ago
dreis2211
46e59503ec
Use JSONObject.putOpt in JsonConverter
...
Closes gh-15595
7 years ago
Stephane Nicoll
51936e1a5c
Rename "agent" to "agents" to properly indicate its type
...
Closes gh-15455
7 years ago
igor-suhorukov
3eb2f5e476
Replace Collections sort with list sort() method
...
Closes gh-15585
7 years ago
Stephane Nicoll
1223355fe6
Polish "Simplify code by using for-each loop"
...
Closes gh-15563
7 years ago
igor-suhorukov
dfb3cd51bc
Simplify code by using for-each loop
...
See gh-15563
7 years ago
Erik Mulder
00763af335
Fix system properties override example
...
Closes gh-15562
7 years ago
igor-suhorukov
b370b1f03a
Replace indexOf() with a call to the contains()
...
See gh-15559
7 years ago
Andy Wilkinson
83ce5dcee8
Add missing task output annotations to BootJar and BootWar
...
Closes gh-15488
7 years ago
igor-suhorukov
cbf6b330ba
Simplify code by using Map computeIfAbsent
...
Closes gh-15543
7 years ago
dreis2211
27e89bbb8a
Optimize StringSequence
...
Closes gh-15473
7 years ago
Andy Wilkinson
0ad72d5b5e
Remove reliance on mavenLocal from Gradle plugin’s tests
...
See gh-15471
7 years ago
Andy Wilkinson
4edc32844a
Remove use of execute method inherited from internal class
...
Closes gh-15484
7 years ago
Stephane Nicoll
c0b07a9429
Polish "Fix StringSequence.equals() for different lengths"
...
Closes gh-15465
7 years ago
dreis2211
2a0680c2ba
Fix StringSequence.equals() for different lengths
...
See gh-15465
7 years ago
Andy Wilkinson
ddabfe3fcc
Deploy spring-boot-test-support so it's available downstream
...
Concourse builds spring-boot-tests separately from spring-boot-project
and relies on modules from the latter being available in the
distribution repository when building the former. This commit enables the
deployment of spring-boot-test-support from spring-boot-project so that it
is added to the distribution repository and is therefore available when
building spring-boot-tests. It is then excluded when putting to the
Artifactory resource as we do not want it to be published.
See gh-15471
7 years ago
Andy Wilkinson
61d04db0d7
Minimize and centralize assumptions about build output
...
Closes gh-15471
7 years ago
Andy Wilkinson
62fbf48446
Start Elasticsearch with single-node discovery type
...
See gh-15441
7 years ago
Andy Wilkinson
47fc35105d
Allow more time for the Elasticsearch container to start
...
See gh-15441
7 years ago
Andy Wilkinson
2b453bbb16
Minimise dependencies on Log4j2
...
Closes gh-15441
7 years ago
Andy Wilkinson
bbf0932f0f
Exclude jcl-over-slf4j in favour of spring-jcl
...
Closes gh-15392
7 years ago
dreis2211
d864b427eb
Remove unused ByteArrayStartsWith matcher
...
Closes gh-15386
7 years ago
Andy Wilkinson
3fd0380359
Correct optional dependency declarations in spring-boot-test-support
...
Closes gh-15371
7 years ago
Phillip Webb
ed9468a31a
Update copyright year for changed files
7 years ago
Stephane Nicoll
bf88a7e466
Be more lenient when repackage is invoked several times
...
This commit makes the repackager more lenient when it is invoked several
times in the same lifecycle.
Closes gh-15034
7 years ago
Stephane Nicoll
d7fe3c73a3
Provide better logging for RepackageMojo
...
Closes gh-15294
7 years ago
Andy Wilkinson
a0d0ecf9d4
Test the Gradle plugin against Gradle 5.0
...
Closes gh-15171
7 years ago
Andy Wilkinson
c0e286b96b
Test the Gradle Plugin against Gradle 5.0-rc-3
...
Closes gh-15171
7 years ago
Andy Wilkinson
ce0a3d0311
Add missing classpath setters to BootJar and BootWar
...
Closes gh-15087
7 years ago
Andy Wilkinson
3fac0f0360
Polish multi-release jar support to avoid possible StackOverflowError
...
See gh-12523
7 years ago
Andy Wilkinson
56eebc9385
Update fat jar loader to support multi-release jar files
...
Closes gh-12523
7 years ago
Andy Wilkinson
fe9d9ec4e2
Test the Gradle plugin against Gradle 5.0-rc-3
...
Closes gh-15171
7 years ago
Johnny Lim
fd5aa3ebf1
Polish
...
See gh-15134
7 years ago
Andy Wilkinson
228e05487a
Test Gradle Plugin against Gradle 5.0-rc-1
...
Closes gh-15028
7 years ago