Commit Graph

47 Commits

Author SHA1 Message Date
Stephane Nicoll
5663aaa7ec Polish "Improve project setup for IntelliJ IDEA"
See gh-29446
2023-07-24 14:42:23 +02:00
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
2023-07-24 14:34:53 +02:00
Andy Wilkinson
444474926c Configure JTA tests to write logs beneath build/
Closes gh-26440
2021-05-14 11:40:43 +01:00
Phillip Webb
45275e6586 Merge branch '2.2.x' into 2.3.x
Closes gh-23264
2020-09-13 22:49:21 -07:00
mathieufortin01
6bf1bd5712 Ignore Visual Studio Code Files
See gh-19041
2020-09-13 22:13:20 -07:00
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
2020-07-24 11:47:24 +01:00
Phillip Webb
e9e4a34e62 Merge branch '2.2.x' into 2.3.x 2020-06-08 10:50:53 -07:00
Dave Syer
b59b48e40e Ignore 'attach_pid' files 2020-06-08 10:50:07 -07:00
Andy Wilkinson
ce99db1902 Port the build to Gradle
Closes gh-19609
Closes gh-19608
2020-01-10 14:15:35 +00:00
Phillip Webb
eb0eb492b4 Don't ignore build folders
Closes gh-19318
2019-12-05 21:52:31 -08:00
Madhura Bhave
74912ee126 Remove setting.xml from .gitignore
Closes gh-17309
2019-06-26 11:50:51 -07:00
Raja Kolli
e5f8c685e2 Ignore Spring tool suite 4 cache
Closes gh-11971
2018-02-09 09:48:54 +01:00
Phillip Webb
a5c74e51ca Ignore gradle name cache 2018-02-08 18:02:58 -08:00
Phillip Webb
0419d42b7c Ignore secrets.yml
Ignore `secrets.yml` so that if can be used to hold sensitive
credentials.

See gh-9316
2017-10-04 16:04:43 -07:00
Phillip Webb
258c442e9a Ignore flattened POMs
Ignore flattened POM files which will be generated once the build has
been reworked.

See gh-9316
2017-10-04 16:04:43 -07:00
Johnny Lim
d330dc4832 Sort entries in .gitignore
Closes gh-10069
2017-08-25 10:22:57 +02:00
Raja Kolli
d2ed8d6344 Remove duplicate entry in .gitignore
Closes gh-9772
2017-07-17 17:59:42 +02:00
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
2016-06-09 20:45:37 -07:00
Phillip Webb
f51d9d3b99 Ignore dump.rdb files 2016-05-02 16:43:11 -07:00
Dave Syer
ff8a4d0f9d Merge branch '1.0.x'
Conflicts: MessageSourceAutoConfiguration.java
2015-08-21 17:13:19 +01:00
Dave Syer
089cda7af4 Add generated file to .gitignore 2015-08-21 15:31:20 +01:00
Phillip Webb
c8137ef3f8 Remove data from .gitignore
Not sure why it's there but it's far too broad.
2015-07-07 15:03:21 -07:00
sopov.ivan
ab8d40026e Add Eclipse 4.5 new workspace folder to .gitignore
Closes gh-3375
2015-07-01 05:33:57 -07:00
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)
2015-05-26 06:34:43 +01:00
Phillip Webb
0174476ff1 Merge branch '1.1.x' into 1.2.x 2015-03-02 12:12:57 -08:00
Phillip Webb
50e1f80581 Remove .factorypath files 2015-03-02 12:12:06 -08:00
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
2014-11-19 14:10:01 +00:00
Andy Wilkinson
1864d79077 Polish Undertow contribution
Closes gh-1779
2014-11-18 21:20:34 +00:00
sopov.ivan
c501b889af Add support for using Undertow as an embedded container
See gh-1779
2014-11-18 21:20:34 +00:00
Phillip Webb
e02dbbc16d Add some .gitignore entries 2014-11-07 09:54:09 -08:00
Phillip Webb
28cf21dbf9 Add .jar to git ignore
Hopefully preventing any accidental commits.
2014-05-30 23:46:30 +01:00
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).
2014-05-28 17:36:55 +01:00
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
2013-12-23 14:50:58 +00:00
Dave Syer
e789840b3c Adjust db type if postgres 2013-10-23 08:36:31 -04:00
Dave Syer
6bfc888a58 Remove missing links 2013-10-09 12:43:15 -04:00
Greg Turnquist
2e5fc2b36f Ignore IntelliJ build stuff 2013-09-19 09:49:56 +01:00
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
2013-09-18 17:52:14 +01:00
Phillip Webb
a33425920b Rework POMs to support automated CI release 2013-09-05 22:05:29 -07:00
Dave Syer
9ad0c59592 Add MANIFEST.MF to ignores 2013-09-05 17:15:10 -07:00
Dave Syer
ec3c5b5321 Add auto compile tweaks for reactor 2013-07-31 09:21:16 +01:00
Phillip Webb
82f16a0430 Ignore eclipse generated markdown files 2013-07-30 00:06:34 -07:00
Dave Syer
6c3fd2b2d0 [bs-232] Use "jar" packaging instead of custom "executable-jar"
[Fixes #53376257]
2013-07-16 14:38:24 +01:00
Phillip Webb
40bf334871 Restructure projects layout 2013-07-08 13:42:39 -07:00
Dave Syer
10573d2c74 Remove dependency-reduced-pom.xml 2013-05-17 16:10:59 +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
Dave Syer
8bfe07c730 Use HttpStatus in ErrorPage 2013-05-08 15:33:25 +01:00
Dave Syer
fb6b224470 Fast forward existing prototype work 2013-04-24 10:02:07 +01:00