Andy Wilkinson
2dce4aa42b
Merge branch '2.2.x' into 2.3.x
...
Closes gh-24009
2020-11-03 14:04:08 +00:00
Andy Wilkinson
30a0ccab02
Remove use of @PostConstruct from main code
...
When running on Java 11 (where `@PostConstruct` is no longer part of
the JRE) and without a dependency on jakarta-annotation-api,
`@PostContruct` annotions are silently dropped. This leads to obscure and
hard-to-track down changes in the behaviour of our auto-configuration
as the `@PostConstruct`-annotated methods are not invoked.
To allow users to run on Java 11 without having jakarta-annotation-api
on the classpath, this commit removes use of `@PostConstruct` from main
code. A Checkstyle rule has also been added to prevent its usage in
main code from being reintroduced.
Closes gh-23723
2020-11-03 13:59:38 +00:00
Stephane Nicoll
652561c274
Review checkstyle rule to prevent non BDD mockito imports
...
Closes gh-20902
2020-09-01 11:50:14 +02:00
Stephane Nicoll
a149edcfd7
Merge branch '2.2.x' into 2.3.x
...
Closes gh-23077
2020-08-25 14:06:12 +02:00
Stephane Nicoll
066471b1d9
Merge branch '2.1.x' into 2.2.x
...
Closes gh-23076
2020-08-25 14:05:07 +02:00
dreis2211
7bf32e9bb1
Disallow Apache Commons Lang & Lang3 imports
...
See gh-23071
2020-08-25 14:03:37 +02:00
Andy Wilkinson
38db129146
Remove checkstyle config made redundant by ee758fa6
...
Closes gh-21473
2020-05-15 18:22:13 +01:00
dreis2211
b0eea26260
Prevent shaded imports from Datastax
...
See gh-20967
2020-04-15 09:21:56 +02:00
Andy Wilkinson
ce99db1902
Port the build to Gradle
...
Closes gh-19609
Closes gh-19608
2020-01-10 14:15:35 +00:00
Andy Wilkinson
dd4377e69c
Merge branch '2.1.x'
...
Closes gh-18912
2019-11-07 09:33:11 +00:00
Andy Wilkinson
d1ead884c4
Fix @ServletComponentScan with a component index
...
Previously @ServletComponentScan did not work when there was a
component index on the classpath as it made an assumption about
the concrete type of the BeanDefinitions produced by scanning that
does not hold true when an index is present.
This commit updates the scanning and the handlers to correct the
assumpution by working with a bean definition type that is produced
by scanning both when there is and when there is not an index present.
To prevent the problem from reoccuring, a test that uses and index
has been added and the import of ScannedGenericBeanDefinition is now
prohibited by Checkstyle.
Closes gh-18910
2019-11-07 09:20:19 +00:00
Andy Wilkinson
cf62dc862b
Polish "Correct Mono import in LegacyHealthEndpointCompatibilityConfiguration"
...
See gh-18571
2019-10-14 09:34:53 +01:00
dreis2211
d8de6fff53
Polish
...
See gh-18557
2019-10-12 16:55:07 +01:00
dreis2211
0f0278e69b
Migrate ModifiedClassPath tests to JUnit 5
...
Migrate the remaining JUnit 4 tests to JUnit 5, making use of the
new `ModifiedClassPathExtension`.
See gh-17491
2019-07-15 00:31:03 +01:00
Andy Wilkinson
a40bc64f6e
Merge branch '2.1.x'
...
Closes gh-17463
2019-07-09 15:14:41 +01:00
Andy Wilkinson
c5241f0e82
Remove accidental usage of com.hazelcast.util.Base64
...
Closes gh-17461
2019-07-09 15:03:31 +01:00
Phillip Webb
605599138e
Merge branch '2.1.x'
2019-06-28 23:56:02 -07:00
Phillip Webb
92bff3c328
Merge branch '2.0.x' into 2.1.x
2019-06-28 23:42:28 -07:00
Phillip Webb
cfeb0239b7
Merge branch '1.5.x' into 2.0.x
2019-06-28 23:28:34 -07:00
Phillip Webb
b3d5cd538d
Add JUnit 5 checkstyle rules
...
Add a rule to enforce JUnit 5 usage and conventions.
Closes gh-17093
2019-06-10 16:16:45 -07:00
Phillip Webb
ccfbd03482
Merge branch '2.0.x' into 2.1.x
2019-06-04 02:07:14 -07:00
Phillip Webb
5fba43aa31
Merge branch '1.5.x' into 2.0.x
2019-06-04 00:05:57 -07:00
Phillip Webb
d057f49618
Restore JUnit assert checkstyle restrictions
...
Closes gh-16949
2019-05-29 16:14:55 -07:00
Spring Operator
a5dba01cb9
Use HTTPS for external links from XML files where possible
...
See gh-16314
2019-03-26 13:52:17 +00:00
Johnny Lim
62cd4a1344
Use the latest DTD declaration for Checkstyle
...
Closes gh-16269
2019-03-20 10:15:22 +01:00
Stephane Nicoll
10f58b3f7b
Prevent imports on org.testcontainers.shaded.*
...
See gh-15950
2019-02-14 15:34:03 +01:00
Phillip Webb
838602f0b1
Restore BDD mockito checkstyle rules
2019-01-11 16:42:02 -08:00
Phillip Webb
befec76866
Add logging checkstye rule
...
Add checkstyle rule to ensure SLF4J is not used.
Closes gh-14911
2018-10-24 22:48:42 -07:00
Phillip Webb
d76bba5e6f
Migrate from ExpectedException rule to AssertJ
...
Replace ExpectedException JUnit rules with AssertJ exception
assertions.
Closes gh-14336
2018-10-02 10:55:28 -07:00
Phillip Webb
3ff20b2440
Restore import-control checkstyle
...
Restore checkstyle import control and fix a few violations in the
process.
Closes gh-14660
2018-10-02 10:30:14 -07:00
Phillip Webb
63b64b4efa
Fix checkstyle import regex patterns
...
Update checkstyle rules to fix import regex patterns for both packages
and classes.
2018-10-02 09:15:24 -07:00
Stephane Nicoll
68380b68ef
Polish "Replace commons-codec Base64 usage"
...
Closes gh-13378
2018-06-06 09:26:59 +02:00
Phillip Webb
2274ac5214
Move spring-javaformat plugins to root POM
...
Relocate spring-javaformat plugins to the root of the project.
Closes gh-13306
2018-06-04 17:25:19 -07:00