spring-security icon indicating copy to clipboard operation
spring-security copied to clipboard

Outdated CONTRIBUTING.adoc?

Open ch4mpy opened this issue 2 years ago • 0 comments

Describe the bug Following CONTRIBUTING.adoc is not enough to get an IDE ready to run unit-tests and contribute.

I could not get porject build and unit-tests run from Spring Too Suite 4 for Eclipse.

It seems that Kotlin resources were added and that referenced Groovy plugin version does not evolve with Eclipse releases.

Is Spring team is using only IntelliJ? Wouldn't pointing contributors to IntelliJ community edition be easier?

Also resources to configure IDEs with required code-formatting and import oredering rules would be of great help.

To Reproduce

Here is what I did

  • Download Spring Tools 4 for Eclipse
  • Gradle plugins seem already included in Spring Tools 4 for Eclipse. Nothing to do there.
  • Go to Help -> Install New Software... -> Add... and put there the URL retrieved from https://github.com/groovy/groovy-eclipse/wiki and matching the version found in Help -> About Spring Tool Suite 4 -> click Eclipse.org icon -> Eclipse Platform (installed just the "required" features)
  • install https://marketplace.eclipse.org/content/mylyn (resuired for Kotlin plugin install to succeed)
  • install https://marketplace.eclipse.org/content/kotlin-plugin-eclipse
  • import spring-security

Here are some of the reported errors:

Description	Resource	Path	Location	Type
One or more cycles were detected in the build path of project 'spring-security-config'. The paths towards the cycle and cycle are:
spring-security-config->{spring-security-ldap, spring-security-test}
->{spring-security-config, spring-security-ldap, spring-security-test}	spring-security-config		Build path	Build Path Problem
One or more cycles were detected in the build path of project 'spring-security-itest-context'. The paths towards the cycle and cycle are:
spring-security-itest-context->{spring-security-config, spring-security-ldap, spring-security-test}	spring-security-itest-context		Build path	Build Path Problem
One or more cycles were detected in the build path of project 'spring-security-itest-ldap-embedded-apacheds-default'. The paths towards the cycle and cycle are:
spring-security-itest-ldap-embedded-apacheds-default->{spring-security-ldap, spring-security-test}
spring-security-itest-ldap-embedded-apacheds-default->{spring-security-config, spring-security-ldap, spring-security-test}	spring-security-itest-ldap-embedded-apacheds-default		Build path	Build Path Problem
One or more cycles were detected in the build path of project 'spring-security-itest-ldap-embedded-mode-apacheds'. The paths towards the cycle and cycle are:
spring-security-itest-ldap-embedded-mode-apacheds->{spring-security-ldap, spring-security-test}
spring-security-itest-ldap-embedded-mode-apacheds->{spring-security-config, spring-security-ldap, spring-security-test}	spring-security-itest-ldap-embedded-mode-apacheds		Build path	Build Path Problem
One or more cycles were detected in the build path of project 'spring-security-itest-ldap-embedded-mode-unboundid'. The paths towards the cycle and cycle are:
spring-security-itest-ldap-embedded-mode-unboundid->{spring-security-ldap, spring-security-test}
spring-security-itest-ldap-embedded-mode-unboundid->{spring-security-config, spring-security-ldap, spring-security-test}	spring-security-itest-ldap-embedded-mode-unboundid		Build path	Build Path Problem
One or more cycles were detected in the build path of project 'spring-security-itest-ldap-embedded-none'. The paths towards the cycle and cycle are:
spring-security-itest-ldap-embedded-none->{spring-security-ldap, spring-security-test}
spring-security-itest-ldap-embedded-none->{spring-security-config, spring-security-ldap, spring-security-test}	spring-security-itest-ldap-embedded-none		Build path	Build Path Problem
One or more cycles were detected in the build path of project 'spring-security-itest-ldap-embedded-unboundid-default'. The paths towards the cycle and cycle are:
spring-security-itest-ldap-embedded-unboundid-default->{spring-security-ldap, spring-security-test}
spring-security-itest-ldap-embedded-unboundid-default->{spring-security-config, spring-security-ldap, spring-security-test}	spring-security-itest-ldap-embedded-unboundid-default		Build path	Build Path Problem
One or more cycles were detected in the build path of project 'spring-security-itest-web'. The paths towards the cycle and cycle are:
spring-security-itest-web->{spring-security-ldap, spring-security-test}
spring-security-itest-web->{spring-security-config, spring-security-ldap, spring-security-test}	spring-security-itest-web		Build path	Build Path Problem
One or more cycles were detected in the build path of project 'spring-security-ldap'. The paths towards the cycle and cycle are:
->{spring-security-ldap, spring-security-test}
->{spring-security-config, spring-security-ldap, spring-security-test}	spring-security-ldap		Build path	Build Path Problem
One or more cycles were detected in the build path of project 'spring-security-test'. The paths towards the cycle and cycle are:
->{spring-security-ldap, spring-security-test}
->{spring-security-config, spring-security-ldap, spring-security-test}	spring-security-test		Build path	Build Path Problem

Expected behavior Project imported and build, unit-tests ready to run from IDE.

Code format and import order rules configured correctly.

ch4mpy avatar Aug 07 '22 00:08 ch4mpy