Commit Graph

1961 Commits

Author SHA1 Message Date
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
Dave Syer 06e364a9ff Monkey with JarUrlConnection to make it work when LANG unset
The problem all along has been in AsciiBytes, so the fix in
commit ce3aaf was just a stop gap for a system where multi-byte
characters are supported but the default encoding is not UTF-8 (e.g.
most Windows systems). The real solution is not to leave it to
chance and always pick an encoding for the JarEntry names (i.e.
in AsciiBytes).

Fixes gh-764
2014-05-02 15:03:16 +01:00
Dave Syer ded6a707db Drop starters for flyway and liquibase
They only add a single extra dependency, so not really
much value.

Fixes gh-770
2014-05-02 13:10:20 +01:00
Phillip Webb 5127614d59 Restore freeMarkerConfiguration for web
Restore `freemarker.template.Configuration` bean for the
FreeMarkerWebConfiguration. The @Bean method no longer uses a
@Condition since `FreeMarkerConfig` must already exist.
2014-05-02 13:07:52 +01:00
Phillip Webb 761b6e3229 Combine FreeMarkerAutoConfigurationTests
Combine and polish FreeMarkerAutoConfigurationTests and
FreeMarkerNonWebappTests
2014-05-02 13:07:52 +01:00
Phillip Webb b5451d54ee Polish 2014-05-02 13:07:52 +01:00
Dave Syer 8b251e546a Monkey with process forking for Windoze
There were several problems to fix. 1) a bug in the
JDK (1.7 up to 7_60):

https://bugs.openjdk.java.net/browse/JDK-8023130

which we can work around by detecting buggy VMs and not trying
to use inheritIO. 2) File<->URL conversion is platform dependent
and we shouldn't make any assumptions. The problem in this case
was that file URLs contain a ":" so they can 't be added to a
path in UNIX, but on Windows you need the absolute path with the
colon. Solution: use Files on the classpath for spring-boot:run.

Hopefully also fixes gh-767
2014-05-02 12:55:13 +01:00
Dave Syer 329010d29e Normalize paths in JvmUtils
Fixes problem in Windoze where file paths cannot be so easily
converted to URLs.

Fixes gh-767
2014-05-02 11:45:45 +01:00
Dave Syer b04304b691 Add @since 2014-05-02 11:22:19 +01:00
Gary Russell 9fc9523ce3 CLI Integration Sample Shutdown
Fixes gh-761

Also add some sugar to the println so that it stands
out a little against the logging.
2014-05-02 11:17:19 +01:00
Dave Syer f95ee7abc0 Downgrade Liquibase to 3.0.8
There are some issues with 3.1.1. Performance is one
(according to JIRA https://liquibase.jira.com/browse/CORE-1706),
but the biggest is that there is a package change for the main
ChangeLogHistoryService provider and it's package
(liquibase.channgelog) is not included in the service locator
scan by default. For some reason this only manifests itself
when using the SpringPackageScanClassResolver.

Fixes gh-687
2014-05-02 11:15:38 +01:00
Dave Syer 799f9edb0b Harmonize enabled flags for flyway and liquibase 2014-05-02 11:15:38 +01:00