Commit Graph

1972 Commits

Author SHA1 Message Date
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.
2014-05-08 13:57:32 +01:00
Phillip Webb 1c5ebc72c5 Revert "Fix dependency management failure"
This reverts commit 1ef3d3bda9.
2014-05-08 13:57:32 +01:00
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
2014-05-08 05:32:43 -07:00
Dave Syer f04f265515 Remove some compiler warnings 2014-05-08 05:32:43 -07:00
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
2014-05-08 13:22:49 +01:00
Andy Wilkinson f02a21f3fb Use the official JMS spec artifact 2014-05-08 12:13:04 +01:00
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
2014-05-08 11:16:10 +01:00
Andy Wilkinson e7b2fc5f40 Upgrade to AspectJ 1.8.0
Upgrade to latest version of AspectJ and provide dependency management
for all of its modules.
2014-05-07 16:01:59 +01:00
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).
2014-05-07 07:21:48 -07:00
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.
2014-05-07 15:51:12 +02:00
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
2014-05-07 13:44:28 +01:00
Andy Wilkinson 638561d8f8 Remove dependency management for groovy-binary 2014-05-07 12:01:01 +01:00
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.
2014-05-07 11:02:43 +01:00
Phillip Webb 32d2fc25c7 Polish 2014-05-07 11:01:02 +01:00
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
2014-05-07 10:45:06 +01:00
Greg Turnquist 5eb08dc32e Upgrade to ActiveMQ 5.9.1
Closes #397 and #717
2014-05-07 10:21:57 +01:00
Dave Syer 9ba88cf6b4 Add JPA to flyway sample 2014-05-06 18:03:15 -07:00
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
2014-05-06 15:15:28 +02:00
Phillip Webb 28bd87cbae Update @EnableAutoConfiguration exclude example
Update documentation to use a real auto-configure class.

Fixes #791
2014-05-06 14:05:39 +01:00
Stephane Nicoll a0166076e0 Fix wrong import 2014-05-06 14:56:24 +02:00
Christian Dupuis 126fedc14a Add support for disabling crash commands
fixes #587 and #588
2014-05-06 13:32:29 +02:00
Christian Dupuis e5b6d7c756 EmbeddedDatabaseConfiguration -> EmbeddedDataSourceConfiguration in docs
fixes #791
2014-05-06 12:45:38 +02:00
Christian Dupuis 941c5560eb Remove duplicate hibernate-validator dependency from pom 2014-05-06 12:38:53 +02:00
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
2014-05-06 10:06:32 +01:00
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
2014-05-05 14:30:07 +01:00
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.
2014-05-05 14:29:01 +01:00
Phillip Webb a13404c670 Fixup POM harmonization
Fix POM harmonization so that the release process now
prepares the dependencies POM rather than starter-parent
2014-05-05 14:29:01 +01:00
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
2014-05-05 14:29:01 +01:00
Stephane Nicoll 789f506b5b Fix freemarker integration tests
Freemarker integration tests now use a random port so boot
builds properly when port 8080 is taken.
2014-05-05 14:50:48 +02:00
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
2014-05-05 12:04:21 +01:00
Phillip Webb dd7391d07e Add missing @Since tag 2014-05-05 11:45:34 +01:00
Phillip Webb 2b715b2c86 Merge pull request #780 from tjf/1.0.x
* pull780:
  Add multi-datasource health indicator support
  Add CompositeHealthIndicator
2014-05-05 11:44:24 +01:00
Tyler Frederick 43bd42f0f5 Add multi-datasource health indicator support
Update EndpointAutoConfiguration to support multiple datasources.

Fixes gh-783
2014-05-05 11:36:55 +01:00
Tyler Frederick 697afe3842 Add CompositeHealthIndicator
Add CompositeHealthIndicator that allows multiple HealthIndicators
to be combined into a single result.

Fixes gh-782
2014-05-05 11:24:11 +01:00
Phillip Webb 5f02a67d8d Merge pull request #781 from gerjantd/docfix
* docfix:
  Minor documentation fixes
2014-05-05 10:47:42 +01:00
Ger-Jan te Dorsthorst 904804d717 Minor documentation fixes
Fixes gh-781
2014-05-05 10:46:29 +01:00
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
2014-05-05 11:12:27 +02:00
Marcel Overdijk 0f738be114 Add specifying (fixed) date format via application properties
Fixes gh-778, Fixes gh-755
2014-05-04 11:53:11 +01:00
Marcel Overdijk 949871957b Fixed type sections to seconds (time-out)
Fixes gh-776
2014-05-04 11:52:52 +01:00
Phillip Webb 34b7bb20fd Add maven implicit plugin group ID
Add previously implicit <groupId>org.apache.maven.plugins</groupId>
to plugin declarations.
2014-05-02 23:03:31 +01:00
Phillip Webb 7f41dbd677 Resore code formatting 2014-05-02 22:53:25 +01:00
Phillip Webb 125ab9f738 Add docs to default build
Add spring-boot-docs to the default profile so that imports by default
into eclipse.
2014-05-02 21:57:59 +01:00
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
2014-05-02 21:56:24 +01:00
Stephane Nicoll 62269e7a0b Memory settings for the full build 2014-05-02 22:32:34 +02:00
Stephane Nicoll bf4b347a96 Fix build failure
Commit e26e06d5dd broke the full build as the generated zip file for
the size is not generated. Actually, the site plugin has a jar goal that
is exactly meant for what we need to do.

This commit removes the use of the assembly plugin and invokes the
jar goal of the site plugin when the full profile is enabled.

Relates to #749
2014-05-02 22:21:43 +02:00
Dave Syer 1b7d8d9ade Add SignalUtils to handle OS interrupts
Extract into a utility to be shared between Shell and RunMojo

Fixes gh-773
2014-05-02 20:17:22 +01:00
Stephane Nicoll 888703cf26 Add maven plugin documentation
This commit adds the generated site for the maven plugin alongside
the developer guide and javadoc. The maven plugin is available in
the "/maven-plugin" context.

The advanced information described in the developer guide have
been migrated to the plugin site as most the information is taken
from the code itself, which avoids duplication.

Fixes #749
2014-05-02 17:12:56 +01:00
Phillip Webb a3b422ffc8 Upgrade to Spring 4.0.4
Fixes gh-759
2014-05-02 17:11:03 +01:00
Dave Syer 41395d08e3 Upgrade flyway to 3.0
Fixes gh-771
2014-05-02 15:52:08 +01:00
Dave Syer 7e3614e6e0 Fix samples that need jdbc and don't import it 2014-05-02 15:15:39 +01:00