Commit Graph

14 Commits

Author SHA1 Message Date
Gerrit Meier
b54798ca55 Allow if-nesting with depth of 4.
Yes, it brings a congnitive challenge right now,
but on the other hand the refactoring of the
`DefaultNeo4jEntityConverter#createInstanceOfRelationships`
is a challenge on its own.
2023-12-12 17:26:43 +01:00
Michael Simons
d824e5d432 DATAGRAPH-1359 - Run Checkstyle in verify phase.
Checkstyle is configured to run in the validation phase in spring-data-parent, spring-data-neo4j used to use validate as well. Also, spring-data-neo4j has checkstyle configured to check the test sources as well. The later is done in test-compile.

So checkstyle was executed indeed twice during validation, once for the sources and once for the test-compile.

This commit changes spring-data-neo4j’s configuration to run in verify, after tests ran. This makes checkstyle only run once.

For a quick look if all sources are correct, one can use ` ./mvnw checkstyle:check@verify` before running a full blown `./mvnw verify`. While the Java compiler now can flag invalid code immediate, checkstyle will discover the rest only afterwards.

While working on this a flaw in the combine.self="override" attribute was discovered: It works of course only for the maven configurational attributes, not for the checkstyle rules themselve. Therefor the `io.spring.nohttp.checkstyle.check.NoHttpCheck` has been added to the local configuration as well.

In the process of the bug fix, the sort pom plugin has been applied with the configuration as already available.
2020-08-20 14:28:03 +02:00
Michael Simons
7804bdcd15 DATAGRAPH-1354 - Use same check style import conventions as Spring Boot.
This avoids mostly star and static imports.
It allows the CypherDSL elements to be imported statically.
2020-08-07 08:16:51 +02:00
Gerrit Meier
74faebf0da DATAGRAPH-1333 - Migrate documentation and apply SD formatting. 2020-07-27 15:09:57 +02:00
Michael Simons
070d664c8a DATAGRAPH-1333 - Migrate SDN/RX to SDN
Replace SDN with the new library Spring Data Neo4j RX as the new Spring Data Neo4j 6.0.
2020-07-08 15:34:09 +02:00
Gerrit Meier
b9c41bc9b1 Checkstyle fail on system out.
closes #235
2020-05-06 22:29:46 +02:00
Gerrit Meier
256927e9ea Move to Spring's NonNull annotation.
Change all org.intellij NotNull annotation to Spring's NonNull.
2020-04-03 12:11:27 +02:00
Michael Simons
86408f02eb Update license header to extend to 2020. 2020-01-28 16:02:32 +01:00
Michael Simons
0fc7dde2c7 Add Kotlin extensions aliasing reserved keywords and operators.
This adds extensions for `as` and `in` and closes #37.
2019-09-16 18:35:58 +02:00
Michael Simons
c7b1b9fcad Always use Spring JCL for logging. 2019-07-24 12:17:02 +02:00
Michael Simons
aaecb5712d Prevent usage of shaded libraries. 2019-07-17 18:10:23 +02:00
Gerrit Meier
e4014f343b Introduce strict JavaDoc checks.
* check for empty at-clauses.
* add more return statements.
* add missing since JavaDoc annotation.
2019-06-12 16:48:04 +02:00
Michael Simons
87988851cd Use https URLs everywhere. 2019-04-02 09:19:26 +02:00
Michael Simons
8d656aff85 Create project draft for sdn-rx. 2019-02-05 22:44:07 +01:00