Did you find a solution to this?  I have the exact same problem.  Excluding 
tests with gradlew -x test doesn't work.

On Monday, October 12, 2020 at 8:44:29 PM UTC-6 RM2020 wrote:

> Hi, I am using following https://github.com/apereo/cas/releases/tag/v6.2.3 
> release to
> do my first *gradlew.bat clean build *tasks and I get following message. 
> How do I resolve this?
>
> > Task :api:cas-server-core-api-configuration-model:checkstyleMain
> [ant:checkstyle] [ERROR] 
> C:\Users\rm\Downloads\cas-6.2.3\api\cas-server-core-api-configuration-model\src\main\java\org\apereo\cas\configuration\CasConfigurationProperties.java:63:
>  
> Configuration classes for tests must be marked with @TestConfiguration 
> [useTestConfiguration]
>
> > Task :api:cas-server-core-api-configuration-model:checkstyleMain FAILED
>
> FAILURE: Build failed with an exception.
>
> * What went wrong:
> Execution failed for task 
> ':api:cas-server-core-api-configuration-model:checkstyleMain'.
> > Checkstyle rule violations were found. See the report at: 
> file:///C:/Users/rm/Downloads/cas-6.2.3/api/cas-server-core-api-configuration-model/build/reports/checkstyle/main.html
>   Checkstyle files with violations: 1
>   Checkstyle violations by severity: [error:1]
>
>
> * Try:
> Run with --stacktrace option to get the stack trace. Run with --info or 
> --debug option to get more log output. Run with --scan to get full insights.
>
> * Get more help at https://help.gradle.org
>
> Deprecated Gradle features were used in this build, making it incompatible 
> with Gradle 7.0.
> Use '--warning-mode all' to show the individual deprecation warnings.
> See 
> https://docs.gradle.org/6.6.1/userguide/command_line_interface.html#sec:command_line_warnings
>
> BUILD FAILED in 3m 39s
> 47 actionable tasks: 34 executed, 13 up-to-date
>
>

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/9be62e47-5386-443b-afa0-b486eb058e86n%40apereo.org.

Reply via email to