Commit Graph

47 Commits (main)

Author SHA1 Message Date
Stephane Nicoll 5663aaa7ec Polish "Improve project setup for IntelliJ IDEA"
See gh-29446
1 year ago
Vedran Pavic 3889b1e855 Improve project setup for IntelliJ IDEA
This commit improves project setup for IntelliJ IDEA by adding code
style and inspection profile project files to version control.

See gh-29446
1 year ago
Andy Wilkinson 444474926c Configure JTA tests to write logs beneath build/
Closes gh-26440
4 years ago
Phillip Webb 45275e6586 Merge branch '2.2.x' into 2.3.x
Closes gh-23264
4 years ago
mathieufortin01 6bf1bd5712 Ignore Visual Studio Code Files
See gh-19041
4 years ago
Nelson Osacky e41a53cf85 Add Gradle Enterprise Extension
This adds build caching and build scans.

The changes required disabling scans when using the maven invoker
plugin in order to not cause duplicate build scans when invoking other
maven builds. There is also an empty `.mvn` folder in the
spring-boot-starters project to prevent duplicate build scans as well
since there is no way to pass properties to the maven-javadoc-plugin.

The checkstyle plugin was causing a cache miss with the
`propertyExpansion` because it contains an absolute path. The absolute
path is now ignored and instead the files are added as inputs to the
checkstyle plugin. This only enables the local build cache. The remote
cache is not yet enabled.

On my local machine:

./mvnw clean install build times go from about 30 minutes to about 10 minutes.
./mvnw clean install -Pfull build times go from about 60 minutes to about 13 minutes.

See gh-22089
4 years ago
Phillip Webb e9e4a34e62 Merge branch '2.2.x' into 2.3.x 5 years ago
Dave Syer b59b48e40e Ignore 'attach_pid' files 5 years ago
Andy Wilkinson ce99db1902 Port the build to Gradle
Closes gh-19609
Closes gh-19608
5 years ago
Phillip Webb eb0eb492b4 Don't ignore `build` folders
Closes gh-19318
5 years ago
Madhura Bhave 74912ee126 Remove setting.xml from .gitignore
Closes gh-17309
5 years ago
Raja Kolli e5f8c685e2 Ignore Spring tool suite 4 cache
Closes gh-11971
7 years ago
Phillip Webb a5c74e51ca Ignore gradle name cache 7 years ago
Phillip Webb 0419d42b7c Ignore secrets.yml
Ignore `secrets.yml` so that if can be used to hold sensitive
credentials.

See gh-9316
7 years ago
Phillip Webb 258c442e9a Ignore flattened POMs
Ignore flattened POM files which will be generated once the build has
been reworked.

See gh-9316
7 years ago
Johnny Lim d330dc4832 Sort entries in .gitignore
Closes gh-10069
7 years ago
Raja Kolli d2ed8d6344 Remove duplicate entry in .gitignore
Closes gh-9772
7 years ago
Phillip Webb c66da65e23 Refine ApplicationHome detection logic
Update the detection logic used in ApplicationHome to:
- Deal with `!/` elements in URLs so that `BOOT-INF/classes` packaging
  works as expected.
- Use the `start-class` when no explicit source class is provided to
  prevent accidentally picking a home next to a `spring-boot.jar` that
  happens to be on the classpath.
- Ignore search logic when running from a unit test.

Fixes gh-6129
9 years ago
Phillip Webb f51d9d3b99 Ignore dump.rdb files 9 years ago
Dave Syer ff8a4d0f9d Merge branch '1.0.x'
Conflicts: MessageSourceAutoConfiguration.java
9 years ago
Dave Syer 089cda7af4 Add generated file to .gitignore 9 years ago
Phillip Webb c8137ef3f8 Remove `data` from .gitignore
Not sure why it's there but it's far too broad.
10 years ago
sopov.ivan ab8d40026e Add Eclipse 4.5 new workspace folder to .gitignore
Closes gh-3375
10 years ago
Greg Turnquist 53f67a448f Auto-configure Spring Security OAuth2 when detected on the classpath
* Automatically spin up Authorization Server and Resource Server
* Automatically configures method level security included OAuth2Expression handler
* Wrote extensive unit tests verifying default behavior as well as the auto-configuration backing off when custom Authorization/Resource servers are included
* Created org.springframework.boot.security.oauth2 subpackage to contain it
* Can also disable either resource of authorization server completely with a single property for each
* Print out the auto-generated secrets and other settings
* Added spring-boot-sample-secure-oauth2 to provide a sample that can be run and poked with curl as well as some automated tests.
* Make users ask for which servers to install by adding @Enable*
* User has to @EnableGlobalMethodSecurity instead of using properties files

Add Spring Security OAuth2 support to Spring Boot CLI

* Triggered from either @EnableAuthorizationServer or @EnableResourceServer
* Needs to have @EnableGlobalMethodSecurity to allow picking the annotation model.
* By default, comes with import support for @PreAuthorize, @PreFilter, @PostAuthorize, and @PostFilter via a single start import
* Also need import support for the enable annotations mentioned above.
* Added extra test case and sample (oauth2.groovy)
10 years ago
Phillip Webb 0174476ff1 Merge branch '1.1.x' into 1.2.x 10 years ago
Phillip Webb 50e1f80581 Remove .factorypath files 10 years ago
Dave Syer 6ad626de49 Allows /configprops endpoint to show nested properties
Including maps and lists. Beans with no metadata (in
/META-INF/*spring-configuration-metadata.json) are just serialized
as they come (so might have problems like cycles). Serialization
errors are caught and rendered as an "error" for that bean. Any
problems can be fixed by preparing metadata and specifying which
properties are to be rendered that way.

Fixes gh-1746, fixes gh-1921
10 years ago
Andy Wilkinson 1864d79077 Polish Undertow contribution
Closes gh-1779
10 years ago
sopov.ivan c501b889af Add support for using Undertow as an embedded container
See gh-1779
10 years ago
Phillip Webb e02dbbc16d Add some .gitignore entries 10 years ago
Phillip Webb 28cf21dbf9 Add .jar to git ignore
Hopefully preventing any accidental commits.
11 years ago
Dave Syer 8436627598 Allow tests to System.exit() by default
Otherwise the ApplicationContext stays alive and if it's a
server app the JVM does not exit at the end of "spring test".
User can override with "spring test foo.groovy --nohup"
(which we have to do in our unit tests).
11 years ago
Dave Syer f5ad4be2c1 Add basic build.xml to actuator sample
$ ant -lib ivy-2.2.jar

(substitute the location of your actual ivy jar)

    $ java -jar target/*.jar

Fixes gh-140
11 years ago
Dave Syer e789840b3c Adjust db type if postgres 11 years ago
Dave Syer 6bfc888a58 Remove missing links 11 years ago
Greg Turnquist 2e5fc2b36f Ignore IntelliJ build stuff 11 years ago
Greg Turnquist 5801e422cf [BS-48] Add autoconfigured JMS support
* Add ability to detect spring-jms on the path and create a JmsTemplate with
  ActiveMQConnectionFactory
* Create tests showing autoconfigured JmsTemplate with ActiveMQ, but prove it
  backs off if a separate ConnectionFactory exists.
* Add support to spring-boot-cli to that it detects JmsTemplate, DefaultMessageListenerContainer,
  or SimpleMessageListenerContainer, and turns on autoconfiguration as well as
  add proper @Grab's and import statements.
* Write a jms.groovy test showing proper CLI support

Simplify ActiveMQ configuration

Update ActiveMQ to 5.7.0
11 years ago
Phillip Webb a33425920b Rework POMs to support automated CI release 11 years ago
Dave Syer 9ad0c59592 Add MANIFEST.MF to ignores 11 years ago
Dave Syer ec3c5b5321 Add auto compile tweaks for reactor 11 years ago
Phillip Webb 82f16a0430 Ignore eclipse generated markdown files 11 years ago
Dave Syer 6c3fd2b2d0 [bs-232] Use "jar" packaging instead of custom "executable-jar"
[Fixes #53376257]
12 years ago
Phillip Webb 40bf334871 Restructure projects layout 12 years ago
Dave Syer 10573d2c74 Remove dependency-reduced-pom.xml 12 years ago
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
12 years ago
Dave Syer 8bfe07c730 Use HttpStatus in ErrorPage 12 years ago
Dave Syer fb6b224470 Fast forward existing prototype work 12 years ago