Phillip Webb
a10abffe9f
Add MultiPartConfigFactory
...
Issue: #55528242
2013-09-05 17:14:09 -07:00
Phillip Webb
71946f9d83
Update WebMvcAutoConfiguration conditional bean
...
Change WebMvcAutoConfiguration to use WebMvcConfigurationSupport instead
of HanderAdapter as the @ConditionalOnMissingBean. This allows MVC to
be auto-configured even if you define additional HanderAdapters.
Issue: #55493342
2013-09-05 17:14:09 -07:00
Phillip Webb
d4fe320254
Update trace logging to include Hibernate SQL
2013-09-05 17:14:09 -07:00
Phillip Webb
6858c3987e
Use Hibernate ImprovedNamingStrategy by default
...
Update HibernateJpaAutoConfiguration to use the ImprovedNamingStrategy
for better table and column names.
Issue: #55261888
2013-09-05 17:14:08 -07:00
Phillip Webb
7e3cb50a22
Polish
2013-09-05 17:14:08 -07:00
Phillip Webb
021fe45d83
Exclude spring-data-rest package from being stored
...
Update AutoConfigurationUtils to specifically exclude spring-data-rest
packages from being stored. This prevent missing class errors caused
when Spring Boot attempts to use @ComponentScan packages as the source
for JPA entities and reads annotations that are not on the classpath.
Issue: #55489346
2013-09-05 17:14:08 -07:00
Phillip Webb
fc841e0269
Move inner class to end of file for consistency
2013-09-05 17:14:08 -07:00
Phillip Webb
3fc8752a37
Update autoconfigure README.md with --debug info
2013-09-05 17:13:36 -07:00
Phillip Webb
840fdeb50f
Create common SpringBootCondition base class
...
Create a new SpringBootCondition that will log why a condition has
or has not been applied. The removes the need for ConditionLogUtils
and simplifies many of the existing condition implementations.
Issue: #55203236
2013-09-05 17:13:36 -07:00
Phillip Webb
c9b3af09b4
Support --debug and --trace increased logging
...
Update LoggingApplicationContextInitializer to detect the presence of
'--debug' and '--trace' arguments to increase log output.
Using '--debug' will set 'org.springframework.boot' loggers to DEBUG.
Using '--trace' will set 'org.springframework', 'org.apache.tomcat' and
'org.eclipse.jetty' loggers to TRACE.
Issue: #55202588
2013-09-05 17:13:36 -07:00
Phillip Webb
87b0cea6f6
Pass args to SpringApplicationInitializers
...
Change SpringApplicationInitializer interface to include run() args.
Allow initializers to make additional configurations based on the user
supplied arguments.
Issue: #55202588
2013-09-05 17:13:36 -07:00
Phillip Webb
76bda7e3b4
Rename SpringApplication.defaultCommandLineArgs
...
Rename SpringApplication.defaultCommandLineArgs to defaultArgs for
consistency with the run() method arguments.
Issue: #55202844
2013-09-05 17:13:36 -07:00
Phillip Webb
5b77028f04
Support programmatic setting of log levels
...
Provide a common way to programmatically set log levels regardless of
the underlying log implementation.
Issue: #55202588
2013-09-05 17:13:35 -07:00
Phillip Webb
5446a20a90
Add managed dependency to Spring Data Mongo
2013-09-05 17:13:35 -07:00
Phillip Webb
0fdafa885f
Upgrade to Spring Data 1.3.4
2013-09-05 17:13:35 -07:00
Phillip Webb
4e83826b41
Polish
2013-09-05 17:13:35 -07:00
Phillip Webb
82ed7a676d
Readme for auto-configuration
2013-09-05 17:13:35 -07:00
Phillip Webb
1ff76459db
Polish ConditionalOn annotations
...
Update ConditionalOn annotations :
- Use consistent attribute names for OnClass and OnMissingClass
- Update javadoc
- Rename tests to reflect the annotation rather than the interface
2013-08-12 23:00:07 -07:00
Phillip Webb
8e347cddff
Merge pull request #23 from chanwit/master
...
# By Chanwit Kaewkasi
* pull23:
Fix a line ending issue for building on Windows
2013-08-12 09:26:02 -07:00
Phillip Webb
e7689fd7c9
Revert "Add repository declarations to parent poms"
...
This reverts commit e8430f6119 .
2013-08-12 09:10:39 -07:00
Phillip Webb
81541643fd
Fix accidentally committed errors in README.md
2013-08-10 11:40:26 -07:00
Phillip Webb
878ff13620
Documentation updates
2013-08-09 15:34:04 -07:00
Phillip Webb
ce5e145afa
Add Libraries.NONE static final
2013-08-09 15:33:37 -07:00
Phillip Webb
0b7256e7f9
Fix compile failure on JDK 6
2013-08-09 13:01:39 -07:00
Phillip Webb
00fc04c01e
Simplify OnBeanCondition
...
Merge OnMissingBeanCondition into OnBeanCondition and simplify code.
Polish on bean conditions
2013-08-09 12:36:20 -07:00
Phillip Webb
82320b3525
Simplify OnWebApplicationCondition
...
Merge OnNotWebApplicationCondition into OnWebApplicationCondition and
simplify code.
2013-08-09 12:35:43 -07:00
Phillip Webb
7525eb31f1
Simplify OnClassCondition
...
Merge OnMissingClassCondition into OnClassCondition and simplify code.
2013-08-09 12:34:14 -07:00
Phillip Webb
cf655945aa
Polish
2013-08-09 12:28:54 -07:00
Phillip Webb
d8eadfddff
Limit Servlet Listener registration
...
Limit Servlet Listener registration to the specific supported types.
Issue: #54112999
2013-08-08 05:08:55 -07:00
Phillip Webb
f25b9e109f
Remove trailing whitespace from bash script
2013-08-08 05:07:44 -07:00
Phillip Webb
f5bae04714
Ignore websocket sample for now
2013-08-07 23:09:08 -07:00
Phillip Webb
b5e81ff42d
Fix broken test dependencies
2013-08-07 22:52:26 -07:00
Phillip Webb
eb69732fbb
Reinstate integration tests
2013-08-07 22:34:09 -07:00
Phillip Webb
8a33c39f0b
Polish AutoConfigurationSorter
2013-08-07 16:29:41 -07:00
Phillip Webb
91a56f7bb7
Merge pull request #13 from jotomo/patch-1
...
# By Johannes Mockenhaupt
# Via Johannes Mockenhaupt
* patch-1:
Fix broken links to samples.
2013-08-06 16:52:01 -07:00
Phillip Webb
1b370b54b6
Update README.md brew instructions
2013-08-06 09:25:32 -07:00
Phillip Webb
c0aec14af1
Fix URLs in README.md
2013-08-06 01:45:40 -07:00
Phillip Webb
f4c129a063
Don't use snapshot repos for CLI test
...
Update SampleIntegrationTests to only use local maven repo when
running integration tests.
2013-08-06 01:22:59 -07:00
Phillip Webb
e773db2401
Remove unused test resources
2013-08-06 00:22:02 -07:00
Phillip Webb
5189d9d3e6
Don't generate dependency reduced POM
2013-08-06 00:14:49 -07:00
Phillip Webb
80e254c4b6
Update spring-starter-parent src
2013-08-06 00:11:11 -07:00
Phillip Webb
3600533fad
Add helper to set version
2013-08-06 00:07:27 -07:00
Phillip Webb
d86bf66645
Add parent relativePath
...
Update sample applications to correctly refer to parent relativePath.
2013-08-06 00:02:31 -07:00
Phillip Webb
4e11ae1671
Documentation
...
Various updates to README.md files.
2013-08-05 22:36:22 -07:00
Phillip Webb
40a9176937
Restructure distribution content
...
Include LICENCE and INSTALL text files and ensure that .bat file is
not set with executable Unix file permissions.
2013-08-05 22:31:28 -07:00
Phillip Webb
7c4c68ce90
Merge pull request #10 from dling/master
...
# By Daniel Ling
# Via Daniel Ling
* pull10:
Fix code typos in README
2013-08-05 17:08:45 -07:00
Phillip Webb
54cb7b39c9
Change assembly name to '-bin' and add tar.gz
2013-08-05 15:54:38 -07:00
Phillip Webb
f08b283b08
Implement CLI --version command
2013-08-05 15:37:11 -07:00
Phillip Webb
02f0c2b639
Get the version to clean from the pom.xml
2013-08-05 15:33:57 -07:00
Phillip Webb
aaebb3f3fb
Improve Ivy resolution
...
Refactor GrapeEngineCustomizer to improve ivy resolution times by
failing early when resolution is known to fail.
2013-08-05 15:25:16 -07:00
Phillip Webb
e5918b6756
Restore grapes cleaner
2013-08-05 14:53:19 -07:00
Phillip Webb
be57881598
Exclude commons-logging from test dependencies
2013-08-05 14:26:12 -07:00
Phillip Webb
77455ec3dc
Fix CLI test failures
2013-08-05 13:48:14 -07:00
Phillip Webb
4038b39496
Add OutputCapture test class
2013-08-05 13:48:14 -07:00
Phillip Webb
174427881a
Revert "Attempt to sort out logging dependencies"
...
This reverts commit e99d2199d8 .
The main spring-boot project should not have compile scope dependencies
to any org.slf4j artifacts.
2013-08-05 13:48:14 -07:00
Phillip Webb
7d3ac266e8
Fix GrapesCleaner to work with renamed artifacts
2013-08-05 13:48:14 -07:00
Phillip Webb
05171f6a75
Inherit profile activation spring-snapshot-build
...
Inherit default profile activation for spring-snapshot-build in the
spring-boot-starter-parent from the spring-boot-parent.
Allow sample projects to work correctly in eclipse.
2013-08-05 13:48:14 -07:00
Phillip Webb
6bb628adb4
Indicate downloading dependencies progress in CLI
...
Update CLI to show a "Downloading Dependencies..." message if the
initial dependency resolution takes more than 3 seconds. Whilst
downloading dots are appended to the message.
Issue: #54589094
2013-08-05 08:51:39 -07:00
Phillip Webb
8a4b4bd155
Add spring.bat start script for Windows
2013-08-04 14:20:26 -07:00
Phillip Webb
8a19e48e21
Polish and simplify spring bash script
2013-08-04 14:20:03 -07:00
Phillip Webb
a9700c92f3
Fix a few problems with spring start script
...
Fixed a few issues with the spring start script, mainly around symlinks.
Test on OSX, Ubuntu and Windows (Cygwin) with and would symlinks.
2013-08-04 08:58:07 -07:00
Phillip Webb
94855bf4ec
Correct directory permissions in dist zip
2013-08-04 07:21:22 -07:00
Phillip Webb
45206d6050
Merge pull request #9 from olivergierke/master
...
# By Oliver Gierke
* pull9:
Cleanups Spring Data JPA example.
2013-08-02 22:29:32 -07:00
Phillip Webb
c1344683ab
Fixup sample links in README.md
2013-08-02 22:07:13 -07:00
Phillip Webb
1db22aca5c
Rework POM structure
...
Rework main build POM to be an aggregator pom that does not inherit
from any parent. Introduce new spring-boot-dependencies module to
act as a parent for both spring-boot-starter-parent and
spring-boot-parent.
2013-08-02 21:58:24 -07:00
Phillip Webb
fda537d3b9
Polish
2013-08-02 01:00:00 -07:00
Phillip Webb
e1c6860a41
Documentation
2013-08-02 00:34:53 -07:00
Phillip Webb
5a7236625b
Do not use property placeholder in config names
...
Update ConfigFileApplicationContextInitializer so that the names
property defaults to `${spring.config.name},application`. This allows
application.properties files to be loaded even when property placeholder
expansion is not enabled.
Issue: #54462910
2013-08-01 23:33:18 -07:00
Phillip Webb
448e3283bc
Polish
2013-08-01 23:33:07 -07:00
Phillip Webb
6ada4553ae
Change binding exceptionIfInvalid default to true
...
Issue: #54462302
2013-08-01 11:10:04 -07:00
Phillip Webb
88bc6c0b56
Update Javadoc following source logic change
...
Update Javadoc to indicate the sources are used in addition to those
specified on construction. Also renamed member variables and fixed
log output.
Issue: #54185750
2013-08-01 10:52:38 -07:00
Phillip Webb
25f31b6358
Polish RegistrationBean logic
2013-08-01 00:24:52 -07:00
Phillip Webb
d835ee548d
Documentation
2013-08-01 00:24:24 -07:00
Phillip Webb
57f62a5a20
Remove samples from main POM
2013-08-01 00:10:56 -07:00
Phillip Webb
bd5e49fc84
Revert "Remove integration tests project"
...
Turns out the maven-plugin still causes issues.
This reverts commit 1ccdf2f6cf .
2013-08-01 00:09:49 -07:00
Phillip Webb
1ccdf2f6cf
Remove integration tests project
...
Remove no longer required integration tests project. Samples can
now be called as part of the build since the maven plugin is no
longer an extension.
2013-07-31 13:30:48 -07:00
Phillip Webb
5450af70e0
Ops -> Actuator
2013-07-31 13:20:26 -07:00
Phillip Webb
c83400d265
Move conditions from boot to autoconfigure
...
Issue: #54393078
2013-07-31 12:58:47 -07:00
Phillip Webb
4c067a89fe
Ops -> Actuator
2013-07-31 12:57:25 -07:00
Phillip Webb
d1ceed2f7d
Polish banner
2013-07-31 12:11:09 -07:00
Phillip Webb
b65625bec3
Ensure registerShutdownHook is called for apps
2013-07-31 01:55:29 -07:00
Phillip Webb
9cf59050d3
Documentation
2013-07-31 01:14:07 -07:00
Phillip Webb
ec36efd50f
Rename Spring Bootstrap -> Spring Boot
2013-07-31 01:11:10 -07:00
Phillip Webb
3bb79db579
Renamed spring-boot-ups -> spring-boot-starter
2013-07-31 01:11:10 -07:00
Phillip Webb
0fee00f0d7
Add gradle example builds
...
Add gradle example builds to spring-boot-sample-tomcat and
spring-boot-sample-traditional.
Issue: #53129653
2013-07-30 00:06:35 -07:00
Phillip Webb
2752177fba
Add spring-boot-gradle-plugin
...
Develop gradle plugin that can repackage JAR/WAR archives so that
they can be launched using 'java -jar'
Issue: #53129653
2013-07-30 00:06:35 -07:00
Phillip Webb
0db6799def
Polish spring-boot-loader-tools
...
Issue: #53129653
2013-07-30 00:06:35 -07:00
Phillip Webb
826f42746a
Fix package name for boot-loader-tools
...
Issue: #53129653
2013-07-30 00:06:35 -07:00
Phillip Webb
d1c31445ec
Fixup various spring-boot-loader-tools issues
...
Fix compression of existing jars to detect nested zip entries and
use the STORED method.
Also fixed various test errors.
Issue: #53129653
2013-07-30 00:06:35 -07:00
Phillip Webb
14062964e0
Remove v[N/A] log output
2013-07-30 00:06:35 -07:00
Phillip Webb
82f16a0430
Ignore eclipse generated markdown files
2013-07-30 00:06:34 -07:00
Phillip Webb
6fd6d3a73e
Rename maven 'package' goal to 'repackage'
2013-07-29 14:52:30 -07:00
Phillip Webb
36c3ceab97
Include servlet support for index.html resources
...
Issue: #54228642
2013-07-29 13:03:42 -07:00
Phillip Webb
772cc851a0
Polish WebMvcAutoConfiguration resource locations
2013-07-29 12:48:48 -07:00
Phillip Webb
728829ba81
Revert welcome file defaults
...
Revert welcome file default that break existing tests.
Issue: #54228642
2013-07-29 12:42:37 -07:00
Phillip Webb
c951989421
Ignore failure to close zip errors
...
Issue: Issue: #53129653
2013-07-29 11:41:07 -07:00
Phillip Webb
5e4238f38a
Create spring-loader-tools project
...
Create spring-loader-tools containing utilities that can be used
with both Maven and Gradle plugings.
Refactored existing Maven plugin to use the new project.
Issue: #53129653
2013-07-28 23:49:20 -07:00
Phillip Webb
65a9953c86
Fix a new remaining 'zero' and 'bootstrap' terms
...
Issue: #54095231
2013-07-26 14:14:51 -07:00
Phillip Webb
b665a2bb1d
Renamed packages
...
Issue: #54095231
2013-07-26 14:11:04 -07:00
Phillip Webb
3f2bb03fb8
Renamed some projects and polish POMs
...
Issue: #54095231
2013-07-26 12:31:37 -07:00