Commit Graph

2078 Commits (dd83b58b052f530ab51369a71d145a0e4f371031)
 

Author SHA1 Message Date
Phillip Webb 8aa819cb79 Merge pull request #812 from maciejwalkowiak/conditionalOnPropertiesPresent
* conditionalOnPropertiesPresent:
  Add @ConditionalOnProperty annotation
11 years ago
Maciej Walkowiak 56b8faf31b Add @ConditionalOnProperty annotation
Add @ConditionalOnProperty which enables conditional bean creation when
all required properties are defined in the Environment.

Fixes gh-812
11 years ago
Christian Dupuis c5ec735afb Add unit test for (Mongo|Redis)HealthIndicator 11 years ago
Phillip Webb 506c0f50b9 Allow meta-data driven version overrides in Gradle
Add a `versionManagement` gradle configuration which can be used to
provide alternative version meta-data. Primarily added so that the
Spring IO platform can provide version overrides without causing a
cyclic build dependency.

Fixes gh-750
11 years ago
Phillip Webb 38fb8e6874 Fix broken documentation link 11 years ago
Phillip Webb 02674b32af Remove spring-data release train BOM
Temporarily remove the spring-data release train BOM since it cannot
be resolved until it is published to maven central.

The previous solution of adding an additional repository has been
reverted as it will pollute POMS for users that inherit from the
spring-boot-starter-parent POM.
11 years ago
Phillip Webb 1c5ebc72c5 Revert "Fix dependency management failure"
This reverts commit 1ef3d3bda9.
11 years ago
Dave Syer 14d3b46809 Add constants to SecurityProperties and ManagementServerProperties
For the convenience of users who want to selectively override the
access rules in an application without taking complete control of the
security configuration we now have some constants:

* SecurityProperties.ACCESS_OVERRIDE_ORDER for overriding just the
application endpoint access rules

* ManagementServerProperties.ACCESS_OVERRIDE_ORDER for overriding the
application endpoint and management endpoint access rules

Fixes gh-803
11 years ago
Dave Syer f04f265515 Remove some compiler warnings 11 years ago
Andy Wilkinson 8fbd8f3138 Remove spring-boot-starter-data-neo4j
The transitive dependency org.neo4j:neo4j-cypher-dsl:2.0.1 isn't
available in Maven Central. This was leading to frequent build breaks
so we've decided to remove the Neo4J starter until all of its
dependencies can be resolved from Maven Central.

Fixes #797
11 years ago
Andy Wilkinson f02a21f3fb Use the official JMS spec artifact 11 years ago
Christian Dupuis 127328a833 Rework HealthEndpoint and HealthIndicators
Refactored HealthEndpoint to be able to take multiple HealthIndicators. Extracted configuration of HealthIndicators out of EndpointAutoConfiguration and added new HealthIndicatorAutoConfiguration class.

Added HealthIndicators for Redis and Mongo.
11 years ago
Andy Wilkinson 4e9b2930df Update to GemFire 7.0.2
This brings Boot's dependency management into line with the version
of GemFire used by Spring Data GemFire in the Dijkstra release train
11 years ago
Andy Wilkinson e7b2fc5f40 Upgrade to AspectJ 1.8.0
Upgrade to latest version of AspectJ and provide dependency management
for all of its modules.
11 years ago
Dave Syer 894482df1a Initialize logback is it is present in CLI
This (empirically) fixes gh-726 using a new utility
(LogbackInitializer) in the loader tools. If anyone has enough
Gradle fu to understand where to put it (after the classpath is established
but before compilation) we could do the same thing in the Gradle plugin
(and that would fix gh-724).
11 years ago
Stephane Nicoll 1ef3d3bda9 Fix dependency management failure
All dependencies have recently moved to the spring-boot-dependencies
POM but that POM does not contain the repositories that are required to
download milestone artifacts.

This commit moves the default profile that is active by default at the
right place in the hierarchy so that it is applied there as well.
11 years ago
Andy Wilkinson 62ac51eead Upgrade to the Spring Data Dijkstra release train
In addition to the upgrade to Dijkstra (#743) Spring HATEOAS has been
upgraded to 0.11.0 (#801) and Mongo's Java driver has been upgraded to
2.12.1 (#689). In both cases this is the same version as is used by
Dijkstra RC1.

The new version of Mongo's Java driver changes the exception that's
thrown when Mongo isn't running and a connection attempt fails. The
Mongo sample has been updated accordingly.

RepositoryRestMvcAutoConfiguration has been updated to be configured
before JpaRepositoriesAutoConfiguration. This ensures that the
former's transitive import of SpringDataJacksonConfiguration takes
precedence over the latter's import of the same. This is necessary as
RepositoryRestMvcConfiguration requires a bean that's declared by
SpringDataJacksonConfiguration and, if JpaRepositoriesAutoConfiguration
is processed first, its conditions may cause the import
SpringDataJacksonConfiguration to be skipped causing instantiation
of RepositoryRestMvcConfiguration to fail.

Closes #689
Closes #743
11 years ago
Andy Wilkinson 638561d8f8 Remove dependency management for groovy-binary 11 years ago
Phillip Webb 75494d2f5e User hard-coded spring-boot.version
Replace the `spring-boot.version` property with a hard-coded value,
rather than relying on the parent version. Allows locally installed
snapshots to be used as the parents of projects with a different version
number.
11 years ago
Phillip Webb 32d2fc25c7 Polish 11 years ago
Andy Wilkinson 1fc6bbda4f Upgrade to Spring AMQP 1.3.2
Upgrade to latest release of Spring AMQP and provide dependency
management for all of its modules

Closes #799
11 years ago
Greg Turnquist 5eb08dc32e Upgrade to ActiveMQ 5.9.1
Closes #397 and #717
11 years ago
Dave Syer 9ba88cf6b4 Add JPA to flyway sample 11 years ago
Stephane Nicoll 15501eaafb Exclude support in the maven plugin
This commit provides several options to exclude one or more
dependencies:

* excludes allows to specify an arbitrary number of exclude sub
  element defining the groupId and artifactId of the dependency
  to exclude
* excludedGroupIds defines the comma separated list of groupIds
  to exclude
* excludeArtifactIds defines the comma separated list of artifactIds
  to exclude

While any artifact can be excluded, this is designed to exclude
provided-scoped dependencies that should not be bundled in the
executable jar/war.

The outcome of java -jar myapp.jar should be consistent with the run
goal: these exclusions are therefore applied to the classpath that
the run goal computes to launch the application.

This commit also adds some integration tests and updates the
plugin's documentation

Fixes gh-649, gh-650 and gh-674
11 years ago
Phillip Webb 28bd87cbae Update @EnableAutoConfiguration exclude example
Update documentation to use a real auto-configure class.

Fixes #791
11 years ago
Stephane Nicoll a0166076e0 Fix wrong import 11 years ago
Christian Dupuis 126fedc14a Add support for disabling crash commands
fixes #587 and #588
11 years ago
Christian Dupuis e5b6d7c756 EmbeddedDatabaseConfiguration -> EmbeddedDataSourceConfiguration in docs
fixes #791
11 years ago
Christian Dupuis 941c5560eb Remove duplicate hibernate-validator dependency from pom 11 years ago
Andy Wilkinson f4fc9bb1fb Upgrade to Groovy 2.3.0
Upgrade Boot to use Groovy 2.3.0 and provide dependency management
for all of Groovy's modules.

Closes #647
11 years ago
Phillip Webb 193381a626 Merge pull request #768 from snicoll/module-version-mgt
* module-version-mgt:
  Fixup reference guide following dependencies move
  Fixup POM harmonization
  Harmonized maven dependency management
11 years ago
Phillip Webb bce3eaefd0 Fixup reference guide following dependencies move
Update reference guide to indicate that spring-boot-dependencies should
be imported when not using the parent POM.
11 years ago
Phillip Webb a13404c670 Fixup POM harmonization
Fix POM harmonization so that the release process now
prepares the dependencies POM rather than starter-parent
11 years ago
Stephane Nicoll 33082fd56d Harmonized maven dependency management
This commit harmonizes the dependency management of internal modules
so that versions can be omitted everywhere. Update the maven coordinates
to provide the full groupId for consistency
11 years ago
Stephane Nicoll 789f506b5b Fix freemarker integration tests
Freemarker integration tests now use a random port so boot
builds properly when port 8080 is taken.
11 years ago
Phillip Webb 2c45399bf8 Add note for maven plugin documentation
Update the reference guide to add a call-out to the new generated
maven plugin site.

Finishes gh-772
11 years ago
Phillip Webb dd7391d07e Add missing @Since tag 11 years ago
Phillip Webb 2b715b2c86 Merge pull request #780 from tjf/1.0.x
* pull780:
  Add multi-datasource health indicator support
  Add CompositeHealthIndicator
11 years ago
Tyler Frederick 43bd42f0f5 Add multi-datasource health indicator support
Update EndpointAutoConfiguration to support multiple datasources.

Fixes gh-783
11 years ago
Tyler Frederick 697afe3842 Add CompositeHealthIndicator
Add CompositeHealthIndicator that allows multiple HealthIndicators
to be combined into a single result.

Fixes gh-782
11 years ago
Phillip Webb 5f02a67d8d Merge pull request #781 from gerjantd/docfix
* docfix:
  Minor documentation fixes
11 years ago
Ger-Jan te Dorsthorst 904804d717 Minor documentation fixes
Fixes gh-781
11 years ago
Stephane Nicoll a330cb9b8a Improve remote shell security documentation
Previous to this commit, the remote shell security configuration
described that a default password will be generated with no extra
configuration. Actually, when Spring Security is configured for the
application, the remote shell reuses that configuration by default.

It turns out that the default log message is confusing as it was
referring to "application endpoints". Updated that log to a more
generic log message and updated doc accordingly.

Fixes gh-779
11 years ago
Marcel Overdijk 0f738be114 Add specifying (fixed) date format via application properties
Fixes gh-778, Fixes gh-755
11 years ago
Marcel Overdijk 949871957b Fixed type sections to seconds (time-out)
Fixes gh-776
11 years ago
Phillip Webb 34b7bb20fd Add maven implicit plugin group ID
Add previously implicit <groupId>org.apache.maven.plugins</groupId>
to plugin declarations.
11 years ago
Phillip Webb 7f41dbd677 Resore code formatting 11 years ago
Phillip Webb 125ab9f738 Add docs to default build
Add spring-boot-docs to the default profile so that imports by default
into eclipse.
11 years ago
Phillip Webb 9942c52117 Remove exclude filtering from test-jars
Remove the filtering from test jars so Maven works in the same way
as eclipse. Test jar filtering has now been setup on the CI server
to prevent them from being published.

Fixes gh-754
11 years ago
Stephane Nicoll 62269e7a0b Memory settings for the full build 11 years ago