Commit Graph

8552 Commits (899b851c6f249f8b5b02bc0f8fc1632e23233df0)
 

Author SHA1 Message Date
Andy Wilkinson 899b851c6f Remove META-INF/INDEX.LIST when repackaging a jar file
META-INF/INDEX.LIST files are pointless in an executable jar and
moving application classes from the root of the jar to
BOOT-INF/classes breaks the index, resulting in an
InvalidJarIndexException being thrown.

This commit updates the Repackager to automatically remove a
META-INF/INDEX.LIST file from a jar file that is being repackaged.

Closes gh-6601
8 years ago
Andy Wilkinson f4985abf3c Use factoryBeanObjectType attribute to find factory bean to replace
Previously, MockitoPostProcessor would fail to replace a factory bean
with a mock if the factory bean didn't return a matching type from
getObjectType(). This prevented Spring Data respoitories from being
replaced with a mock as Spring Data's repository factory beans
generally do not know the specific repository type that they will
produce when MockPostProcesser (a bean factory post-processor) is
running.

Spring Data has been updated to add a factoryBeanObjectType attribute
to its factory bean definitions. MockitoPostProcessor has been updated
to look for FactoryBeans with this attribute and to use its value
to determine whether or not the factory bean produces a bean of the
required type and, therefore, should be replaced with a mock.

Closes gh-6541
8 years ago
Stephane Nicoll 5fcadcee6e Polish documentation
Closes gh-6576
8 years ago
Stephane Nicoll 45bc63a725 Merge pull request #6589 from drumonii:doc-webjar-locator-jboss
* pr/6589:
  Document webjar-locator usage with JBoss
8 years ago
drumonii 80b5789d46 Document webjar-locator usage with JBoss
Closes gh-6589
8 years ago
Stephane Nicoll fc636c1db7 Merge pull request #6600 from nagarajasr:master
* pr/6600:
  Apply sytem properties on HttpClient
8 years ago
nagarajasr 0996615ac3 Apply sytem properties on HttpClient
Closes gh-6600
8 years ago
Stephane Nicoll 2a94e05775 Add a note about Jackson and Java6
See gh-6536
8 years ago
Andy Wilkinson 19cddd650d Merge branch '1.3.x' 8 years ago
Andy Wilkinson cec6015f8a Cope with null server or management port when creating curie provider
Previously, a NullPointerException would occur if
endpoints.docs.curies.enabled was true and the default value was being
used for either server.port or management.port.

EndpointWebMvcHypermediaManagementContextConfiguration has been
restructured to ensure that the DocsMvcEndpoint bean is defined before
the condition on its existence is evaluated. Previously this was
dependant on the class’s bean methods being processed in a particular
ordering, something that would be ok when using ASM but would vary when
using reflection.

Closes gh-6584
8 years ago
Andy Wilkinson a729d48bd3 Start building against Spring Data Hopper SR3 snapshots
Closes gh-6567
See gh-6583
8 years ago
Andy Wilkinson 1b42e1aaa3 Recommend setting spring.thymeleaf.mode: HTML when using Thymeleaf 3
Closes gh-6552
8 years ago
Stephane Nicoll 38e3b36605 Merge pull request #6580 from vpavic:cxf-reference
* pr/6580:
  Polish contribution
  Add reference to Apache CXF integration
8 years ago
Stephane Nicoll b4186e0c9d Polish contribution
Closes gh-6580
8 years ago
Vedran Pavic 98b4d00828 Add reference to Apache CXF integration
See gh-6580
8 years ago
Stephane Nicoll 3b4e4f175a Polish 8 years ago
Phillip Webb f38bd7af37 Extract GSON/Jackson config to inner classes
Update JsonTestersAutoConfiguration so that GSON and Jackson specific
configuration are inner classes. This should prevent ClassNotFound
exception when the libraries are not on the classpath.

Fixes gh-6502
8 years ago
Stephane Nicoll 80a1897ccb Remove useless postgresql alias
See gh-6534
8 years ago
Stephane Nicoll f07cb01012 Merge pull request #6492 from zhanhb:patch-1
* pr/6492:
  Fix `spring-boot-legacy` version
8 years ago
zhanhb 8d84123762 Fix `spring-boot-legacy` version
Closes gh-6492
8 years ago
Stephane Nicoll a1ed7c5fed Merge pull request #6534 from vpavic:gh-6533
* pr/6534:
  Polish contribution
  Fix aliases for database names in `JdbcSessionDatabaseInitializer`
8 years ago
Stephane Nicoll 90c67daec1 Polish contribution
Closes gh-6534
8 years ago
Vedran Pavic b5e2bff1a4 Fix aliases for database names in `JdbcSessionDatabaseInitializer`
See gh-6354
8 years ago
Stephane Nicoll 81094e4b23 Merge branch '1.3.x' 8 years ago
Stephane Nicoll f186008d1f Fix Groovy version in INSTALL.txt
This commit uses maven filtering to set the Groovy version rather than an
hard-coded value that can be easily outdated.

Closes gh-6530
8 years ago
Stephane Nicoll 9cb95f423c Fix typo
Closes gh-6518
8 years ago
Stephane Nicoll 3f14bdc01d Add missing type condition on JdbcTemplateAutoConfiguration
Closes gh-6499
8 years ago
Brian Clozel d62827373d Fix Bean Condition on GsonTester FactoryBean
This commit fixes the `@ConditionalOnClass` typo on the GsonTester
FactoryBean, which was testing for `ObjectMapper` instead of `Gson`.

This means that the next condition `@ConditionalOnBean(Gson.class)`
throws a `ClassNotFoundException: com.google.gson.Gson` since it's
trying to load that class to check for an existing Bean of that type.

Fixes gh-6502
8 years ago
Phillip Webb c7a23eae56 Fixup version numbers following release 8 years ago
Spring Buildmaster 334baaeffd Next development version 8 years ago
Phillip Webb 405299a95a Generate empty spring-boot-docs jar
Update spring-boot-docs so that an empty jar file is produced. The
code is only needed for documentation includes and if included in the
deployed jar seems to prevent promotion to Maven Central.

Fixes gh-6495
8 years ago
Stephane Nicoll 9bb6b8a012 Upgrade to Spring Framework 4.3.2.RELEASE
Closes gh-6318
8 years ago
Stephane Nicoll b214ed5eda Merge branch '1.3.x' 8 years ago
Stephane Nicoll 29cd3c42e1 Fixup version numbers following release 8 years ago
Spring Buildmaster a89ef5df6e Next Development Version 8 years ago
Phillip Webb d7e1ccc690 Improve configuration properties logging
Update ConfigurationPropertiesBindingPostProcessor with improved logging
when multiple PropertySourcesPlaceholderConfigurer beans are found.

See gh-6457
8 years ago
Phillip Webb 5d9836b3b1 Refine unmapped property support
Replace `@UnmappedPropertyValue` with a `skip` attribute on
`@PropertyMapping` so that any default attribute value can be skipped.

Closes gh-6455
8 years ago
Phillip Webb ac1ad2a145 Polish 8 years ago
Andy Wilkinson 2469f0ba28 Clarify effect of @EnableWebSecurity when Actuator's being used
Closes gh-6490
8 years ago
Stephane Nicoll bf8ae27a47 Merge pull request #6486 from otrosien:patch-1
* pr/6486:
  Add WireMock Spring Boot starter reference
8 years ago
Oliver Trosien fe80aa6ec5 Add WireMock Spring Boot starter reference
Closes gh-6486
8 years ago
Andy Wilkinson 267532b0c5 Merge pull request #6487 from Johnny Lim
* gh-6487:
  Polish
8 years ago
Johnny Lim 9627d0ed66 Polish
Closes gh-6487
8 years ago
Stephane Nicoll eb444f547f Fix typo 8 years ago
Phillip Webb 162b9e84a3 Polish 8 years ago
Phillip Webb 618e6d6bf4 Merge pull request #6461 from bijukunjummen/gradle-debug-fix
* pr/6461:
  Update Gradle remote debug documentation
8 years ago
Biju Kunjummen d7a1730b50 Update Gradle remote debug documentation
Update the documentation to reference the `bootRun` command rather
than `run`.

Closes gh-6461
8 years ago
Phillip Webb 753a7e1d33 Document how to to customize the TestRestTemplate
Update the reference documentation and add some additional Javadoc to
provide hints on how to customize the `TestRestTemplate`.

Fixes gh-6465
8 years ago
Phillip Webb 0660f52abb Merge pull request #6482 from chadluo/patch-1
* patch-1:
  Unescape quotation marks in JavaDoc
8 years ago
Chad 18dd125059 Unescape quotation marks in JavaDoc
Closes gh-6482
8 years ago