Commit Graph

11662 Commits (75f8e8a59378afc66bd80cd60f79077eb5cb8e0a)
 

Author SHA1 Message Date
Andy Wilkinson b4e2044b9e Simplify bootRun main class configuration by reusing MainClassSupplier 8 years ago
Andy Wilkinson f16efb2277 Publish artifacts and, when Maven plugin used, customize upload task
See gh-1666
8 years ago
Andy Wilkinson b1f9123311 React to dependency management plugin rather than always applying it
Previously, the Spring Boot plugin would automatically apply the
dependency management plugin and import the spring-boot-dependencies
bom. This made it very difficult to use Spring Boot's plugin without
also using its dependency management. It also made it difficult to
see where the dependency management was coming from.

This commit updates the Spring Boot plugin so that it no longer
automatically applies the dependency management plugin. Instead, the
plugin now reacts to the dependency management plugin being applied
by importing the spring-boot-dependencies bom. Users that do not
wish to use Spring Boot's dependency management capabilities can now
do so by not applying the dependency management plugin.

Closes gh-3164
8 years ago
Andy Wilkinson 2ce8556976 Introduce bootJar and bootWar tasks for creating fat jars and wars
Previously, the BootRepackage task would take the output of a Jar
or War task and repackage it in a similar manner to Spring Boot's
Maven plugin. This caused several problems in Gradle including
broken up-to-date checks and a lack of configurability. See the issues
referenced below for full details.

This commit replaces BootRepackage with BootJar and BootWar
for building executable jars and wars respectively. BootJar extends
Gradle's standard Jar task and BootWar extends Gradle's standard War
task. This means that terms of configuration, the creation of
executable jars and wars is now as flexible as the creation of
standards jars and wars.

Closes gh-8167
Closes gh-8099
Closes gh-6846
Closes gh-5861
Closes gh-5393
Closes gh-5259
Closes gh-3931
8 years ago
Andy Wilkinson 20fe95b276 React to the Java plugin being applied rather than always applying it 8 years ago
Andy Wilkinson 9b15e6b5a3 Use Gradle, executed by Maven, to build the Gradle plugin 8 years ago
Andy Wilkinson 09898308ab Update autoconfigure's test deps to align with latest spring-kafka-test 8 years ago
Stephane Nicoll 78845fe63a Switch default value of spring.aop.proxy-target-class
This commit ensures that the default proxying value matches the opinion we
have applied for `@EnableTransactionManagement`

Closes gh-8786
8 years ago
Andy Wilkinson 6c6b9c284d Upgrade to Solr 6.5 and align with latest Spring Data Solr snapshots
Closes gh-8801
8 years ago
Andy Wilkinson f892363c0f Merge branch '1.5.x' 8 years ago
Andy Wilkinson 155d55097f Merge branch '1.4.x' into 1.5.x 8 years ago
Andy Wilkinson 47de05b52c Update Devtools to ignore manifest Class-Path entries that do not exist
Closes gh-8623
8 years ago
Andy Wilkinson 3ec5041826 Merge branch '1.5.x' 8 years ago
Andy Wilkinson c55bfb00b1 Merge branch '1.4.x' into 1.5.x 8 years ago
Andy Wilkinson 456327260b Fail fast when a Zip64 jar is encountered
Previously, jars (either top-level or nested) in Zip64 format were
treated as normal jar files. This would lead to a failure later on
when an attempt was made to read an entry from the file.

This commit updates the loader to fail fast when it encounters a
Zip64 jar file. Such files are identified by the number of entries
in the central directory end record being 0xFFFF.

Closes gh-8735
8 years ago
Andy Wilkinson 7f870aa19a Merge branch '1.5.x' 8 years ago
Andy Wilkinson 94e9c9417d Merge branch '1.4.x' into 1.5.x 8 years ago
Andy Wilkinson b280e3092d Don't forward to welcome page that won't exist due to custom mapping
Previously, WelcomePageHandlerMapping would forward to index.html.
This assumed that the static path pattern was always /**. If it had
been customised to, for example, /foo/**, then the forward would still
be to index.html and a 404 would result as the page is actually
available at /foo/index.html.

At first glance, it would appear that the forward should be made to
foo/index.html. However, as it's a forward rather than a redirect,
any relative URLs in the index.html page would then be resolved using
/ whereas they should be resolved using /foo/. This could be addressed
by using a redirect rather than a forward, but we don't want to do
that as it's more invasive and would require a roundtrip back to the
client. Instead, this commit simply stops performing the forward when
the static path pattern is not /**.

Closes gh-8788
8 years ago
Andy Wilkinson 9c56003865 Merge branch '1.5.x' 8 years ago
Andy Wilkinson 4d71bfbf5c Merge branch '1.4.x' into 1.5.x 8 years ago
Andy Wilkinson 4b1e5e9c43 Improve diagnostics when loading a property source from a file fails
Closes gh-8294
8 years ago
Andy Wilkinson d61a748222 Merge branch '1.5.x' 8 years ago
Andy Wilkinson 6d8846d95b Merge branch '1.4.x' into 1.5.x 8 years ago
Andy Wilkinson 43f34546f6 Add .editorconfig to improve formatting when viewing on GitHub
Closes gh-8497
8 years ago
Andy Wilkinson f5d9ff1392 Upgrade to Mongo Driver Reactive Streams 1.3.0
Closes gh-8807
8 years ago
Stephane Nicoll 3915f37dae Merge branch '1.5.x' 8 years ago
Stephane Nicoll 5cc2e103f2 Disable unexpected datasource initialization
This commit restore the disabling of datasource initialization that was
accidently removed in db33a75 so that other tests aren't affected by it.
8 years ago
Stephane Nicoll 4c32d6a7de Merge branch '1.5.x' 8 years ago
Stephane Nicoll 0163731043 Automatically enable transaction management for Neo4j
This commit makes sure that `@EnableTransactionManagement` is
auto-configured with Neo4j. It actually reuses what was done in #8434,
making sure that the `Neo4jDataAutoConfiguration` is ordered properly.

Closes gh-8587
8 years ago
Stephane Nicoll db33a75484 Enable transaction management consistently
Previously to this commit, transaction management was only enabled when
a `DataSource` is configured. The processing of `@Transactional`
annotations are now enabled as long as a `PlatformTransactionManager` is
present.

Also, the `spring.aop.proxy-target-class` is now honoured if set, still
defaulting to CGLIB mode.

Closes gh-8434
8 years ago
Stephane Nicoll 13e5d98560 Merge pull request #8618 from eddumelendez:gh-8609
* pr/8618:
  Polish "Add @DataNeo4jTest" contribution
  Add @DataNeo4jTest
8 years ago
Stephane Nicoll b08016f15a Polish "Add @DataNeo4jTest" contribution
Closes gh-8618
8 years ago
Eddú Meléndez b6feb47574 Add @DataNeo4jTest
This commit adds test infrastructure for Neo4j repositories through
`@DataNeo4jTest`.

See gh-8618
8 years ago
Stephane Nicoll 4b42e68aa6 Merge pull request #8791 from izeye:patch-22
* pr/8791:
  Update doc for add-application-context-header
8 years ago
Johnny Lim 1ed5108639 Update doc for add-application-context-header
Closes gh-8791
8 years ago
Brian Clozel ba3b83c739 Fix dependency scope for reactor-test
This is a test dependency and should be marked as such.

Fixes gh-8789
8 years ago
Stephane Nicoll 4a8d353263 Merge branch '1.5.x' 8 years ago
Stephane Nicoll 751cd6e0b2 Merge pull request #8781 from ptamarit:short-commit-id-custom-length
* pr/8781:
  Polish "Use git.commit.id.abbrev if present" contribution
  Use git.commit.id.abbrev if present
8 years ago
Stephane Nicoll 52527c7298 Polish "Use git.commit.id.abbrev if present" contribution
Closes gh-8781
8 years ago
Pablo Tamarit 30b6166bc1 Use git.commit.id.abbrev if present
Currently GitProperties always shortens the property git.commit.id to an
hardcoded length of 7.

However, both the Maven plugin git-commit-id-plugin and the Gradle
plugin gradle-git-properties are now providing the property
git.commit.id.abbrev along with the propery git.commit.id.
Moreover, the Maven plugin allows to customize the length of the
abbreviated commit ID with the configuration abbrevLength. The Gradle
plugin doesn't allow (yet) to configure this length.

Closes gh-8773
8 years ago
Andy Wilkinson 5b2f0ea070 Revert "Add dep mgmt for fast-classpath-scanner while Neo4j uses LATEST"
This reverts commit 51a2d9b103.

See gh-8687
8 years ago
Andy Wilkinson f52b0b975a Update WebFlux auto-configuration following recent API changes 8 years ago
Andy Wilkinson 99aa155412 Update tests that use WebClient following changes to its API 8 years ago
Andy Wilkinson bf83e74d5f Start building against Reactor Bom Aluminium snapshots for SR2 again
See gh-8589
8 years ago
Stephane Nicoll 1e88e1faa5 Upgrade to Embedded Mongo 2.0.0
Closes gh-8769
8 years ago
Brian Clozel df2d6b370e Fix compilation error with latest webflux changes
See commit c5bcefbd in Spring Framework, which refactored
the RequestMappingHandlerAdapter.
8 years ago
Andy Wilkinson 4ca38d4563 Merge branch '1.5.x' 8 years ago
Andy Wilkinson 181cfd5ca8 Merge branch '1.4.x' into 1.5.x 8 years ago
Andy Wilkinson 9fa8f2e317 Tweak Checkstyle plugin config so violations are output even with -q
Closes gh-8767
8 years ago
Andy Wilkinson e683f8ace9 Revert "Start building against Reactor Bom Aluminium snapshots for SR2 again"
This reverts commit 9164265a54.

See gh-8589
8 years ago