Commit Graph

166 Commits

Author SHA1 Message Date
Dave Syer
859e6c2ea8 Add spring-test to parents for samples 2013-08-02 14:44:45 +01:00
Dave Syer
4bb5de02e7 Switch back to SNAPSHOT for dev 2013-08-02 12:00:14 +01:00
Dave Syer
638a31f5e3 Fix poms for a milestone release 2013-08-02 12:00:14 +01:00
Dave Syer
19a880dff6 Move tools modules under spring-boot-tools 2013-08-02 12:00:14 +01:00
Dave Syer
68e5a7e887 Bump version to 0.5.0.M1 2013-08-02 12:00:14 +01: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
Dave Syer
92ff433dd0 Add samples to pom so they are part of reactor
(Might remove this later but getting ready for a release)
2013-07-31 15:13:24 +01:00
Dave Syer
5995b7727a Ops -> Actuator 2013-07-31 09:46:34 +01:00
Phillip Webb
3bb79db579 Renamed spring-boot-ups -> spring-boot-starter 2013-07-31 01:11:10 -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
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
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
Dave Syer
2098e23fca Change package names zero->boot
* actuator -> boot-ops
* cli -> boot-cli
* launcher -> boot-load
* autoconfig -> boot-config
* bootstrap -> boot-strap
* starters -> boot-up

[#54095231] [bs-253] Refactor Zero->Boot
2013-07-26 14:13:41 +01:00
Dave Syer
683ddbf525 Add Reactor autoconfiguration
* Make Rector @Autowirable
* Create a ConsumerBeanPostProcessor so users can add
@On and @Reply to bean methods
* Added groovy auto compiler and script sample

[#53955419] [bs-250]
2013-07-24 18:02:50 +01:00
Dave Syer
d639763bd7 Another attempt at making the ui sample work 2013-07-23 15:47:26 +01:00
Phillip Webb
1eca022073 Add JSP-API to tomcat starter
Add JSP API jar dependency to tomcat starter. Primarily to prevent
log warnings.
2013-07-19 08:50:14 -07:00
Dave Syer
fff2a804bc Add springcli.properties for version labels
[Fixes #53030591] [bs-191] Use filtering in maven build
2013-07-18 16:33:12 +01:00
Dave Syer
6fd6afc7a3 Upgrade Spring Security to 3.2.0
Existing users should update their dependencies to
spring-security-config instead of *-javaconfig.

[Fixes #53472823] [bs-234]
2013-07-18 13:36:56 +01:00
Dave Syer
789e75d2e5 [bs-170] Out of the box support for thymeleaf security dialect
[Fixes #52121649]
2013-07-15 09:59:14 +01:00
Phillip Webb
dc1b787a01 Support color log output
Rework logback formatting to include ansi color output. Also added
support for JUL over SLF4J to ensure that tomcat logging looks OK.

Issue: #53249833
2013-07-13 21:05:07 -07:00
Phillip Webb
8f62222419 Generate default manifest for all projects 2013-07-12 00:44:16 -07:00
Phillip Webb
d8d8b7643b Upgrade various dependency versions 2013-07-10 15:58:23 -07:00
Dave Syer
36cbb39dec [bs-194] Restore udev in maven
Also tidy up some TODOs

[Fixes #53030439]
2013-07-10 17:03:26 +01:00
Dave Syer
d260fa6456 [bs-173] Upgrade Thymeleaf layout dialect
[Fixes #52629385]
2013-07-10 11:10:15 +01:00
Dave Syer
5b78ebe6e3 Add plugin repos to bootstrap profile 2013-07-09 10:22:42 +01:00
Dave Syer
30802e542f Fix intergration tests spelling 2013-07-09 10:16:39 +01:00
Phillip Webb
cd51f357a3 Further maven module restructure 2013-07-08 13:42:44 -07:00
Phillip Webb
346a0bace7 Minor pom tweaks
Fix warnings and include sonar support.
2013-07-08 13:42:42 -07:00
Phillip Webb
40bf334871 Restructure projects layout 2013-07-08 13:42:39 -07:00
Phillip Webb
56bfa30b2c Add setup profile
Add a setup profile allowing the maven plugin to be build alone.
Required to prevent 'unresolveable build extension' errors on a
fresh checkout.

Issue: #52091115
2013-06-20 17:24:47 -07:00
Phillip Webb
19b392bb3d Develop bootstrap maven plugin
Develop a maven plugin that can be used to package executable jar/war
archives. The plugin is intended to be used as a drop-in replacement
for the standard maven-jar-plugin. To use the plugin declare it with
<extensions>true</extensions> then set the project type to
'executable-jar' or 'executable-war'.

Configuration options for 'executable-war' generation are intentionally
much more limited then the standard maven-war-plugin (for example
overlays are not supported). It is anticipated that builds requiring
complex configuration will continue to use the standard plugin in
combination with a custom assembly.

Issue: #52091115
2013-06-20 14:36:11 -07:00
Dave Syer
1f17ac3e34 Add some security managed dependencies 2013-06-14 15:32:47 +01:00
Phillip Webb
7d7dc5107d Use Spring 4.0 snapshot 2013-06-12 15:42:55 -07:00
Phillip Webb
ced99ff18c Polish pom.xml
Polish pom.xml formatting and pull version numbers into parent pom
when possible.
2013-06-12 15:42:55 -07:00
Dave Syer
7bd1aeb514 Add global properties for versions 2013-06-07 14:14:22 +01:00
Dave Syer
7b0ec252dd Revert to Spring 4.0.0.M1 2013-06-05 09:31:15 +01:00
Dave Syer
3c34326208 [bs-141] Add Bootstrap WebApplicationInitializer got traditional wars
[#50806851] [bs-141] First class escape hatch from jar to war for web applications
2013-06-01 14:43:55 +01:00
Dave Syer
3ba5f56808 [bs-138] Add @OnManagementContext for management beans
User adds @OnManagementContext to a bean or @Configuration and
it should be included in the management context (if there is one)
whether it is the main context or a child.

Makes it easy to secure the management endpoints and keep
the rest open (see actuator-ui-sample).

[#50721675]
2013-05-30 08:43:50 +01:00
Dave Syer
a71bb1c972 [bs-120] Support for groovy templates
* Added GroovyTemplate.template() utility and static import in webapp CLI, so

        @RequestMapping("/")
        @ResponseBody
        String home(Model model) {
           template "home.html", model
        }

    renders the template in /templates/home.html

[Fixes #49832753]
2013-05-21 15:28:00 +01:00
Dave Syer
2861ad4106 [bs-122] Support for Spring Data DomainClassConverter
[#49906951]
2013-05-18 16:52:17 +01:00
Dave Syer
50f3a2c614 Add logging to BasicDataSourceConfiguration 2013-05-17 12:11:42 +01:00
Dave Syer
83b5240a0f Add some dependencies 2013-05-17 11:54:52 +01:00
Dave Syer
430ec347fd Tweak dependency versions 2013-05-16 16:38:59 +01:00
Dave Syer
6d21ff71ba Add some dependencies to starters 2013-05-16 12:13:53 +01:00
Dave Syer
53078c320e [bs-118], [bs-119]: add UI builder features
* MessageSource created automatically (location
spring.messages.basename:messages)
* Thymeleaf configured automatically to look for
templates in classpath:/templates
* Added static resource handlers for classpath:/static
and classpath:/

[Fixes #49832165] [bs-118] Support for thymeleaf templates
2013-05-15 15:58:18 +01:00
Phillip Webb
0bc2b5673c Use Spring 4.0 now that bootstrap branch is merged 2013-05-08 20:53:56 -07:00
Phillip Webb
e7a67ba2a8 Use commons-logging for bootstrap dependencies
Update main bootstrap modules to use Apache commons-logging rather than
SLF4J.
2013-05-08 13:37:23 -07:00
Phillip Webb
2f3b30e49f Example pom.xml Javadoc config for Java 8
Include commented out config showing how the maven build Javadoc
section can be modified to work with Java 8.
2013-05-08 13:26:08 -07:00
Dave Syer
a5810af882 Add mvn deployment gumf 2013-05-08 10:53:37 +01:00
Dave Syer
694a1dd408 Bump version to 0.5.0.BUILD-SNAPSHOT 2013-05-08 10:07:22 +01:00
Dave Syer
c19c483ab8 Add deployment metadata 2013-05-08 10:06:14 +01:00
Dave Syer
59287f1d89 Add bootstrap profile with repositories 2013-05-08 10:00:23 +01:00
Dave Syer
b897f35cad [bs-85] New name for production-ready features = "actuator"
[#49047535]
2013-05-08 09:03:59 +01:00
Dave Syer
eb7bc64e75 [bs-86] New name for "applications" - "starters"
[#49047569]
2013-05-08 08:36:33 +01:00
Dave Syer
b94aaa321d [bs-98] Add tomcat JDBC to parent pom
[#49393511] [bs-98] Add support for Tomcat database pool
2013-05-07 16:54:54 +01:00
Dave Syer
81d0f14080 [bs-52] ensure "mvn exec:java" works in trad web sample
[#48386505] [bs-52] Support for running "traditional" webapps in place
2013-05-07 09:51:03 +01:00
Dave Syer
b462bc6e6c [bs-96] Switch off m2e errors about /eclipse path
* Uploaded m2e eclipse baggage to http://static.springsource.org
* Changed location in parent pom
* Removed all main.basedir properties from poms

[Fixes #49285987]
2013-05-07 07:37:47 +01:00
Dave Syer
380b1748c9 Changes to applications poms:
* Suport maven-exec-plugin in the same way as the shade plugin, so
        $ mvn exec:java
    is all you need to do to run an app
* Update README
* Fix dependencies to nail Spring version
2013-05-03 17:09:37 +01:00
Dave Syer
504d96eb51 [bs-92] Add simple main wrapper for SpringApplication
* Added Spring class
* Used in demo project in README
* Also fixed cycle in spring-bootstrap jar

[Fixes #49121565]
2013-05-02 15:37:47 +01:00
Dave Syer
833b13bbbc [bs-80] Add configurable / switchable web request trace logging (headers etc)
* Added a bean post processor for the Spring Security filter chain
(so you only get traces by default if security is on)
* Every request is logged at trace level if the dump requests flag is
on
* Requests are also dumped to a TraceRepository for later analysis (very
useful for tracing problems in real time when a support call comes in)

[Fixes #48976001]
2013-04-30 15:24:27 +01:00
Dave Syer
bcf86b320e [bs-72], [bs-75] Add Batch plugin features
* Auto config in main bootstrap jar
* Compiler enhancements in groovy cli
* Sample script in cli samples

[Fixes #48716881], [Fixes #48788313]
2013-04-26 07:01:37 +01:00
Dave Syer
a2d328ae3a [bs-73] Anonymous classes cannot be used in @Bean definitions in .groovy scripts
* Added a test for each of the classes loaded by the SpringApplication
* If it's an anonymous class or looks like a Groovy closure we ignore it
* The CLI sample job.groovy also modified to take advantage

[Fixes #48718891]
2013-04-25 16:02:44 +01:00
Dave Syer
fb6b224470 Fast forward existing prototype work 2013-04-24 10:02:07 +01:00