Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Codenarc] aggregateCodenarc causes gradle warnings after upgrading to v0.45.0 #469

Open
dmurat opened this issue Apr 18, 2021 · 12 comments

Comments

@dmurat
Copy link

dmurat commented Apr 18, 2021

After upgrading to kordamp 0.45.0, I start getting a warning from the aggregateCodenarc task when it is executed as part of the check task:

The configuration :cargotracker-booking-axon-api:codenarc was resolved without accessing the project in a safe manner.  This may happen when a configuration is resolved from a different project. This behaviour has been deprecated and is scheduled to be removed in Gradle 7.0. See https://docs.gradle.org/6.8.3/userguide/viewing_debugging_dependencies.html#sub:resolving-unsafe-configuration-resolution-errors for more details.
The configuration :cargotracker-booking-test-component:codenarc was resolved without accessing the project in a safe manner.  This may happen when a configuration is resolved from a different project. This behaviour has been deprecated and is scheduled to be removed in Gradle 7.0. See https://docs.gradle.org/6.8.3/userguide/viewing_debugging_dependencies.html#sub:resolving-unsafe-configuration-resolution-errors for more details.
The configuration :cargotracker-lib-axon-api:codenarc was resolved without accessing the project in a safe manner.  This may happen when a configuration is resolved from a different project. This behaviour has been deprecated and is scheduled to be removed in Gradle 7.0. See https://docs.gradle.org/6.8.3/userguide/viewing_debugging_dependencies.html#sub:resolving-unsafe-configuration-resolution-errors for more details.
...

If aggregateCodenarc is executed standalone, warnings do not appear.
If I revert back to the 0.44.0 version, warnings also disappear.

Tnx.

@aalmiray
Copy link
Collaborator

Could you provide more details on your current environment? gradle --version or gradlew --version if you're using the wrapper.

@dmurat
Copy link
Author

dmurat commented May 15, 2021

Here it is:

gw --version
Using gradle at '/Users/dmurat/work/dev/croz/klokwrk/klokwrk-project/gradlew' to run buildfile '/Users/dmurat/work/dev/croz/klokwrk/klokwrk-project/build.gradle':


------------------------------------------------------------
Gradle 6.9
------------------------------------------------------------

Build time:   2021-05-07 07:28:53 UTC
Revision:     afe2e24ababc7b0213ccffff44970aa18035fc0e

Kotlin:       1.4.20
Groovy:       2.5.12
Ant:          Apache Ant(TM) version 1.10.9 compiled on September 27 2020
JVM:          11.0.11 (Oracle Corporation 11.0.11+9-LTS-194)
OS:           Mac OS X 10.16 x86_64

@aalmiray
Copy link
Collaborator

I've cloned the klokwrk-project repository and updated the build to use 0.45.0 hwever I don't get the warnings you've reported

$ gm -version
Using gradle at '/Users/aalmiray/klokwrk-project/gradlew' to run buildFile '/Users/aalmiray/klokwrk-project/build.gradle':

------------------------------------------------------------
Gradle 6.9
------------------------------------------------------------

Build time:   2021-05-07 07:28:53 UTC
Revision:     afe2e24ababc7b0213ccffff44970aa18035fc0e

Kotlin:       1.4.20
Groovy:       2.5.12
Ant:          Apache Ant(TM) version 1.10.9 compiled on September 27 2020
JVM:          1.8.0_282 (Azul Systems, Inc. 25.282-b08)
OS:           Mac OS X 10.16 x86_64
$ git df
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
modified: buildSrc/gradle.properties
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
@ buildSrc/gradle.properties:20 @
#

# When updating, also update the version in "rootProject/gradle.properties"
gradleKordampPluginVersion = 0.44.0
gradleKordampPluginVersion = 0.45.0

# When updating, also update versions in "rootProject/gradle.properties" and in TestRetryDisablerPluginSpecification
gradleTestRetryPluginVersion = 1.2.1
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
modified: gradle.properties
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
@ gradle.properties:31 @
gradleJgitverPluginVersion = 0.9.1

# When updating, also update the version in "buildSrc/gradle.properties"
gradleKordampPluginVersion = 0.44.0
gradleKordampPluginVersion = 0.45.0

gradleMicronautPlugin = 1.5.0

@dmurat
Copy link
Author

dmurat commented May 27, 2021

Thank you for looking into this.

Which Gradle command did you use? I'm using

gw clean assemble testClasses testIntegrationClasses --parallel --exclude-task groovydoc
gw check --parallel --continue --exclude-task codenarcMain --exclude-task codenarcTest --exclude-task codenarcTestIntegration

@aalmiray
Copy link
Collaborator

I used gm check and gm build with full clean in between.

@dmurat
Copy link
Author

dmurat commented May 27, 2021

It looks like --parallel switch causes the trouble. Can you try with gm check --parallel?

@aalmiray
Copy link
Collaborator

Wiped the build cache. Cleaned the project. Gave it another no. No warnings.

$ gw check --parallel --continue
Using gradle at '/Users/aalmiray/klokwrk-project/gradlew' to run buildfile '/Users/aalmiray/klokwrk-project/build.gradle':

> Task :buildSrc:extractPluginRequests UP-TO-DATE
> Task :buildSrc:generatePluginAdapters UP-TO-DATE
> Task :buildSrc:compileJava UP-TO-DATE
> Task :buildSrc:compileGroovy UP-TO-DATE
> Task :buildSrc:compileGroovyPlugins UP-TO-DATE
> Task :buildSrc:pluginDescriptors UP-TO-DATE
> Task :buildSrc:processResources UP-TO-DATE
> Task :buildSrc:classes UP-TO-DATE
> Task :buildSrc:jar UP-TO-DATE
> Task :buildSrc:assemble UP-TO-DATE
> Task :buildSrc:pluginUnderTestMetadata UP-TO-DATE
> Task :buildSrc:compileTestJava NO-SOURCE
> Task :buildSrc:compileTestGroovy UP-TO-DATE
> Task :buildSrc:processTestResources NO-SOURCE
> Task :buildSrc:testClasses UP-TO-DATE
> Task :buildSrc:test UP-TO-DATE
> Task :buildSrc:validatePlugins UP-TO-DATE
> Task :buildSrc:check UP-TO-DATE
> Task :buildSrc:build UP-TO-DATE
[versioning] WARNING - the working copy has unstaged or uncommitted changes.
> Task :cargotracker-lib-axon-logging:processResources NO-SOURCE
> Task :cargotracker-lib-axon-cqrs:processResources NO-SOURCE
> Task :cargotracker-booking-domain-model:processResources NO-SOURCE
> Task :cargotracker-lib-axon-api:compileJava NO-SOURCE
> Task :cargotracker-lib-boundary-api:processResources NO-SOURCE
> Task :klokwrk-lib-spring-context:processResources NO-SOURCE
> Task :klokwrk-lang-groovy:compileJava NO-SOURCE
> Task :klokwrk-lib-jackson:compileJava NO-SOURCE
> Task :klokwrk-lib-jackson-springboot:processResources NO-SOURCE
> Task :klokwrk-lib-validation-springboot:compileJava NO-SOURCE
> Task :cargotracker-lib-web:processResources
> Task :klokwrk-lang-groovy-contracts-match:processResources
> Task :klokwrk-lib-archunit:processResources NO-SOURCE
> Task :klokwrk-lang-groovy:processResources
> Task :cargotracker-booking-commandside-test-support:processResources NO-SOURCE
> Task :klokwrk-lang-groovy-contracts-simple:processResources
> Task :klokwrk-lib-validation-validator:processResources NO-SOURCE
> Task :klokwrk-lib-validation-constraint:processResources
> Task :cargotracker-booking-queryside-rdbms-projection-model:processResources NO-SOURCE
> Task :klokwrk-lib-datasourceproxy:processResources NO-SOURCE
> Task :klokwrk-lib-datasourceproxy-springboot:processResources NO-SOURCE
> Task :klokwrk-lib-hibernate:compileJava NO-SOURCE
> Task :cargotracker-lib-axon-api:compileGroovy
> Task :cargotracker-lib-axon-api:processResources NO-SOURCE
> Task :cargotracker-lib-axon-api:classes
> Task :cargotracker-lib-axon-api:minpom
> Task :cargotracker-lib-axon-api:jar
> Task :klokwrk-lib-hibernate:compileGroovy
> Task :klokwrk-lib-hibernate:processResources NO-SOURCE
> Task :klokwrk-lib-hibernate:classes
> Task :klokwrk-lib-hibernate:minpom
> Task :klokwrk-lib-hibernate:jar
> Task :klokwrk-lib-jackson:compileGroovy
> Task :klokwrk-lib-jackson:processResources NO-SOURCE
> Task :klokwrk-lib-jackson:classes
> Task :klokwrk-lib-jackson:minpom
> Task :klokwrk-lib-jackson:jar
> Task :klokwrk-lib-jackson-springboot:compileJava NO-SOURCE
> Task :klokwrk-lib-validation-springboot:compileGroovy
> Task :klokwrk-lib-validation-springboot:processResources NO-SOURCE
> Task :klokwrk-lib-validation-springboot:classes
> Task :klokwrk-lib-validation-springboot:minpom
> Task :klokwrk-lib-validation-springboot:jar
> Task :klokwrk-lib-jackson-springboot:compileGroovy
> Task :klokwrk-lib-jackson-springboot:classes
> Task :klokwrk-lib-jackson-springboot:minpom
> Task :klokwrk-lib-jackson-springboot:jar
> Task :klokwrk-lang-groovy:compileGroovy
> Task :klokwrk-lang-groovy:classes
> Task :klokwrk-lang-groovy:minpom
> Task :klokwrk-lang-groovy:jar
> Task :klokwrk-lang-groovy-contracts-simple:compileJava NO-SOURCE
> Task :klokwrk-lang-groovy-contracts-simple:compileGroovy
> Task :klokwrk-lang-groovy-contracts-simple:classes
> Task :klokwrk-lang-groovy-contracts-simple:minpom
> Task :klokwrk-lang-groovy-contracts-simple:jar
> Task :klokwrk-lang-groovy-contracts-match:compileJava NO-SOURCE
> Task :klokwrk-lang-groovy-contracts-match:compileGroovy
> Task :klokwrk-lang-groovy-contracts-match:classes
> Task :klokwrk-lang-groovy-contracts-match:minpom
> Task :klokwrk-lang-groovy-contracts-match:jar
> Task :cargotracker-lib-boundary-api:compileJava NO-SOURCE
> Task :cargotracker-lib-boundary-api:compileGroovy
> Task :cargotracker-lib-boundary-api:classes
> Task :cargotracker-lib-boundary-api:minpom
> Task :cargotracker-lib-boundary-api:jar
> Task :cargotracker-lib-axon-cqrs:compileJava NO-SOURCE
> Task :cargotracker-lib-axon-cqrs:compileGroovy
> Task :cargotracker-lib-axon-cqrs:classes
> Task :cargotracker-lib-axon-cqrs:minpom
> Task :cargotracker-lib-axon-cqrs:jar
> Task :cargotracker-lib-axon-logging:compileJava NO-SOURCE
> Task :cargotracker-lib-axon-logging:compileGroovy
> Task :cargotracker-lib-axon-logging:classes
> Task :cargotracker-lib-axon-logging:minpom
> Task :cargotracker-lib-axon-logging:jar
> Task :klokwrk-lib-spring-context:compileJava NO-SOURCE
> Task :klokwrk-lib-spring-context:compileGroovy
> Task :klokwrk-lib-spring-context:classes
> Task :klokwrk-lib-spring-context:minpom
> Task :klokwrk-lib-spring-context:jar
> Task :cargotracker-lib-web:compileJava NO-SOURCE
> Task :cargotracker-lib-web:compileGroovy
> Task :cargotracker-lib-web:classes
> Task :cargotracker-lib-web:minpom
> Task :cargotracker-lib-web:jar
> Task :klokwrk-lib-validation-constraint:compileJava NO-SOURCE
> Task :klokwrk-lib-validation-constraint:compileGroovy
> Task :klokwrk-lib-validation-constraint:classes
> Task :klokwrk-lib-validation-constraint:minpom
> Task :klokwrk-lib-validation-constraint:jar
> Task :klokwrk-lib-archunit:compileJava NO-SOURCE
> Task :klokwrk-lib-archunit:compileGroovy
> Task :klokwrk-lib-archunit:classes
> Task :klokwrk-lib-archunit:minpom
> Task :klokwrk-lib-archunit:jar
> Task :klokwrk-lib-validation-validator:compileJava NO-SOURCE
> Task :klokwrk-lib-validation-validator:compileGroovy
> Task :klokwrk-lib-validation-validator:classes
> Task :klokwrk-lib-validation-validator:minpom
> Task :klokwrk-lib-validation-validator:jar
> Task :klokwrk-lib-datasourceproxy:compileJava NO-SOURCE
> Task :klokwrk-lib-datasourceproxy:compileGroovy
> Task :klokwrk-lib-datasourceproxy:classes
> Task :klokwrk-lib-datasourceproxy:minpom
> Task :klokwrk-lib-datasourceproxy:jar
> Task :klokwrk-lib-datasourceproxy-springboot:compileJava NO-SOURCE
> Task :klokwrk-lib-datasourceproxy-springboot:compileGroovy
> Task :klokwrk-lib-datasourceproxy-springboot:classes
> Task :klokwrk-lib-datasourceproxy-springboot:minpom
> Task :klokwrk-lib-datasourceproxy-springboot:jar
> Task :cargotracker-booking-test-component:codenarcMain NO-SOURCE
> Task :cargotracker-booking-test-component:codenarcTest NO-SOURCE
> Task :cargotracker-booking-axon-api:codenarcMain
> Task :aggregateCodenarc
> Task :cargotracker-booking-boundary-web:codenarcMain
> Task :cargotracker-booking-commandside-app:codenarcMain
> Task :cargotracker-booking-commandside-test-support:codenarcMain
> Task :cargotracker-booking-domain-model:codenarcMain
> Task :cargotracker-booking-queryside-app:codenarcMain
> Task :cargotracker-booking-rdbms-management-app:codenarcMain
> Task :cargotracker-booking-rdbms-management-app:codenarcTest NO-SOURCE
> Task :cargotracker-booking-rdbms-management-app:licenseGradle SKIPPED
> Task :cargotracker-booking-queryside-rdbms-projection-model:codenarcMain
> Task :cargotracker-booking-rdbms-management-app:licenseMain SKIPPED
> Task :cargotracker-booking-rdbms-management-app:licenseMaven SKIPPED
> Task :cargotracker-booking-rdbms-management-app:licenseTest SKIPPED
> Task :cargotracker-booking-rdbms-management-app:license UP-TO-DATE
> Task :cargotracker-booking-queryside-rdbms-projection-model:compileJava NO-SOURCE
> Task :cargotracker-booking-rdbms-management-app:bootBuildInfo
> Task :cargotracker-booking-rdbms-management-app:compileJava NO-SOURCE

> Task :cargotracker-booking-commandside-test-support:codenarcMain
CodeNarc completed: (p1=0; p2=0; p3=0) 26279ms

> Task :cargotracker-booking-commandside-test-support:codenarcTest NO-SOURCE
> Task :cargotracker-booking-commandside-test-support:licenseGradle SKIPPED
> Task :cargotracker-booking-commandside-test-support:licenseMain SKIPPED
> Task :cargotracker-booking-commandside-test-support:licenseMaven SKIPPED
> Task :cargotracker-booking-commandside-test-support:licenseTest SKIPPED
> Task :cargotracker-booking-commandside-test-support:license UP-TO-DATE
> Task :cargotracker-booking-commandside-test-support:processTestResources NO-SOURCE

> Task :cargotracker-booking-queryside-rdbms-projection-app:codenarcMain
CodeNarc completed: (p1=0; p2=0; p3=0) 25103ms

> Task :cargotracker-booking-domain-model:compileJava NO-SOURCE

> Task :cargotracker-booking-queryside-app:codenarcMain
CodeNarc completed: (p1=0; p2=0; p3=0) 26304ms

> Task :cargotracker-booking-test-component:codenarcTestIntegration
> Task :cargotracker-booking-test-component:licenseGradle SKIPPED
> Task :cargotracker-booking-test-component:licenseMain SKIPPED
> Task :cargotracker-booking-test-component:licenseMaven SKIPPED
> Task :cargotracker-booking-test-component:licenseTest SKIPPED
> Task :cargotracker-booking-test-component:licenseTestIntegration SKIPPED
> Task :cargotracker-booking-test-component:license UP-TO-DATE
> Task :cargotracker-booking-test-component:compileJava NO-SOURCE

> Task :cargotracker-booking-queryside-test-support:codenarcMain
CodeNarc completed: (p1=0; p2=0; p3=0) 21368ms

> Task :cargotracker-booking-queryside-test-support:codenarcTest NO-SOURCE
> Task :cargotracker-booking-queryside-test-support:licenseGradle SKIPPED
> Task :cargotracker-booking-queryside-test-support:licenseMain SKIPPED
> Task :cargotracker-booking-queryside-test-support:licenseMaven SKIPPED
> Task :cargotracker-booking-queryside-test-support:licenseTest SKIPPED
> Task :cargotracker-booking-queryside-test-support:license UP-TO-DATE
> Task :cargotracker-booking-queryside-test-support:compileJava NO-SOURCE
> Task :cargotracker-booking-test-component:compileGroovy NO-SOURCE
> Task :cargotracker-booking-test-component:processResources NO-SOURCE
> Task :cargotracker-booking-test-component:classes UP-TO-DATE
> Task :cargotracker-booking-test-component:compileTestJava NO-SOURCE
> Task :cargotracker-booking-test-component:compileTestGroovy NO-SOURCE
> Task :cargotracker-booking-test-component:processTestResources NO-SOURCE

> Task :cargotracker-booking-axon-api:codenarcMain
CodeNarc completed: (p1=0; p2=0; p3=0) 26278ms

> Task :cargotracker-booking-axon-api:codenarcTest NO-SOURCE
> Task :cargotracker-booking-axon-api:licenseGradle SKIPPED
> Task :cargotracker-booking-axon-api:licenseMain SKIPPED
> Task :cargotracker-booking-axon-api:licenseMaven SKIPPED
> Task :cargotracker-booking-axon-api:licenseTest SKIPPED
> Task :cargotracker-booking-axon-api:license UP-TO-DATE
> Task :cargotracker-booking-test-component:testClasses UP-TO-DATE
> Task :cargotracker-booking-axon-api:processResources NO-SOURCE

> Task :cargotracker-booking-commandside-app:codenarcMain
CodeNarc completed: (p1=0; p2=0; p3=0) 26336ms

> Task :cargotracker-booking-axon-api:processTestResources NO-SOURCE
> Task :cargotracker-booking-test-component:test NO-SOURCE
> Task :cargotracker-booking-test-component:check
> Task :cargotracker-booking-boundary-web:codenarcTest NO-SOURCE
> Task :cargotracker-booking-boundary-web:licenseGradle SKIPPED
> Task :cargotracker-booking-boundary-web:licenseMain SKIPPED
> Task :cargotracker-booking-boundary-web:licenseMaven SKIPPED
> Task :cargotracker-booking-boundary-web:licenseTest SKIPPED
> Task :cargotracker-booking-boundary-web:license UP-TO-DATE
> Task :cargotracker-booking-boundary-web:compileJava NO-SOURCE
> Task :cargotracker-booking-rdbms-management-app:compileGroovy
> Task :cargotracker-booking-rdbms-management-app:processResources
> Task :cargotracker-booking-rdbms-management-app:classes
> Task :cargotracker-booking-rdbms-management-app:compileTestJava NO-SOURCE
> Task :cargotracker-booking-rdbms-management-app:compileTestGroovy NO-SOURCE
> Task :cargotracker-booking-rdbms-management-app:processTestResources NO-SOURCE
> Task :cargotracker-booking-rdbms-management-app:testClasses UP-TO-DATE
> Task :cargotracker-booking-rdbms-management-app:test NO-SOURCE
> Task :cargotracker-booking-rdbms-management-app:check
> Task :cargotracker-booking-queryside-rdbms-projection-model:compileGroovy
> Task :cargotracker-booking-queryside-rdbms-projection-model:classes
> Task :cargotracker-booking-queryside-rdbms-projection-model:minpom
> Task :cargotracker-booking-queryside-rdbms-projection-model:jar
> Task :cargotracker-booking-queryside-rdbms-projection-model:codenarcTest NO-SOURCE
> Task :cargotracker-booking-queryside-rdbms-projection-model:licenseGradle SKIPPED
> Task :cargotracker-booking-queryside-rdbms-projection-model:licenseMain SKIPPED
> Task :cargotracker-booking-queryside-rdbms-projection-model:licenseMaven SKIPPED
> Task :cargotracker-booking-queryside-rdbms-projection-model:licenseTest SKIPPED
> Task :cargotracker-booking-queryside-rdbms-projection-model:license UP-TO-DATE
> Task :cargotracker-booking-queryside-rdbms-projection-model:compileTestJava NO-SOURCE
> Task :cargotracker-booking-queryside-rdbms-projection-model:compileTestGroovy NO-SOURCE
> Task :cargotracker-booking-queryside-rdbms-projection-model:processTestResources NO-SOURCE
> Task :cargotracker-booking-queryside-rdbms-projection-model:testClasses UP-TO-DATE
> Task :cargotracker-booking-queryside-rdbms-projection-model:test NO-SOURCE
> Task :cargotracker-booking-queryside-rdbms-projection-model:check
> Task :cargotracker-booking-boundary-web:compileGroovy
> Task :cargotracker-booking-boundary-web:processResources NO-SOURCE
> Task :cargotracker-booking-boundary-web:classes
> Task :cargotracker-booking-boundary-web:compileTestJava NO-SOURCE
> Task :cargotracker-booking-boundary-web:compileTestGroovy NO-SOURCE
> Task :cargotracker-booking-boundary-web:processTestResources NO-SOURCE
> Task :cargotracker-booking-boundary-web:testClasses UP-TO-DATE
> Task :cargotracker-booking-boundary-web:test NO-SOURCE
> Task :cargotracker-booking-boundary-web:check
> Task :cargotracker-booking-boundary-web:minpom
> Task :cargotracker-booking-boundary-web:jar
> Task :cargotracker-booking-queryside-test-support:compileGroovy
> Task :cargotracker-booking-queryside-test-support:processResources NO-SOURCE
> Task :cargotracker-booking-queryside-test-support:classes
> Task :cargotracker-booking-queryside-test-support:compileTestJava NO-SOURCE
> Task :cargotracker-booking-queryside-test-support:compileTestGroovy NO-SOURCE
> Task :cargotracker-booking-queryside-test-support:processTestResources NO-SOURCE
> Task :cargotracker-booking-queryside-test-support:testClasses UP-TO-DATE
> Task :cargotracker-booking-queryside-test-support:test NO-SOURCE
> Task :cargotracker-booking-queryside-test-support:check
> Task :cargotracker-booking-domain-model:compileGroovy
> Task :cargotracker-booking-domain-model:classes
> Task :cargotracker-booking-domain-model:minpom
> Task :cargotracker-booking-domain-model:jar
> Task :cargotracker-booking-axon-api:compileJava NO-SOURCE
> Task :cargotracker-booking-axon-api:compileGroovy
> Task :cargotracker-booking-axon-api:classes
> Task :cargotracker-booking-axon-api:compileTestJava NO-SOURCE
> Task :cargotracker-booking-axon-api:compileTestGroovy NO-SOURCE
> Task :cargotracker-booking-axon-api:testClasses UP-TO-DATE
> Task :cargotracker-booking-axon-api:test NO-SOURCE
> Task :cargotracker-booking-axon-api:check
> Task :cargotracker-booking-axon-api:minpom
> Task :cargotracker-booking-axon-api:jar
> Task :cargotracker-booking-commandside-test-support:compileJava NO-SOURCE
> Task :cargotracker-booking-commandside-test-support:compileGroovy
> Task :cargotracker-booking-commandside-test-support:classes
> Task :cargotracker-booking-commandside-test-support:minpom
> Task :cargotracker-booking-commandside-test-support:jar
> Task :cargotracker-booking-commandside-test-support:compileTestJava NO-SOURCE
> Task :cargotracker-booking-commandside-test-support:compileTestGroovy NO-SOURCE
> Task :cargotracker-booking-commandside-test-support:testClasses UP-TO-DATE
> Task :cargotracker-booking-commandside-test-support:test NO-SOURCE
> Task :cargotracker-booking-commandside-test-support:check
> Task :cargotracker-lib-axon-api:codenarcMain
> Task :cargotracker-lib-axon-api:codenarcTest NO-SOURCE
> Task :cargotracker-lib-axon-api:licenseGradle SKIPPED
> Task :cargotracker-lib-axon-api:licenseMain SKIPPED
> Task :cargotracker-lib-axon-api:licenseMaven SKIPPED
> Task :cargotracker-lib-axon-api:licenseTest SKIPPED
> Task :cargotracker-lib-axon-api:license UP-TO-DATE
> Task :cargotracker-lib-axon-api:compileTestJava NO-SOURCE
> Task :cargotracker-lib-axon-api:compileTestGroovy NO-SOURCE
> Task :cargotracker-lib-axon-api:processTestResources NO-SOURCE
> Task :cargotracker-lib-axon-api:testClasses UP-TO-DATE
> Task :cargotracker-lib-axon-api:test NO-SOURCE
> Task :cargotracker-lib-axon-api:check
> Task :cargotracker-booking-queryside-rdbms-projection-app:codenarcTest
> Task :cargotracker-lib-axon-logging:codenarcMain
> Task :cargotracker-lib-axon-cqrs:codenarcMain
> Task :klokwrk-lang-groovy-contracts-match:codenarcMain
> Task :cargotracker-booking-domain-model:codenarcTest
> Task :cargotracker-booking-domain-model:licenseGradle SKIPPED
> Task :cargotracker-booking-domain-model:licenseMain SKIPPED
> Task :cargotracker-booking-domain-model:licenseMaven SKIPPED
> Task :cargotracker-booking-domain-model:licenseTest SKIPPED
> Task :cargotracker-booking-domain-model:license UP-TO-DATE
> Task :cargotracker-booking-domain-model:compileTestJava NO-SOURCE

> Task :cargotracker-booking-queryside-app:codenarcTest
CodeNarc completed: (p1=0; p2=0; p3=0) 13811ms

> Task :cargotracker-booking-commandside-app:codenarcTest
CodeNarc completed: (p1=0; p2=0; p3=0) 13924ms

> Task :cargotracker-lib-boundary-api:codenarcMain
> Task :klokwrk-lang-groovy:codenarcMain
> Task :cargotracker-lib-web:codenarcMain
> Task :cargotracker-booking-domain-model:compileTestGroovy
> Task :cargotracker-booking-domain-model:processTestResources NO-SOURCE
> Task :cargotracker-booking-domain-model:testClasses

> Task :cargotracker-booking-domain-model:test
✔ Test org.klokwrk.cargotracker.booking.domain.model.UnLoCodeFunctionSpecification [Tests: 12/12/0/0] [Time: 0.305 s]
✔ Test org.klokwrk.cargotracker.booking.domain.model.UnLoCodeSpecification [Tests: 4/4/0/0] [Time: 0.015 s]
✔ Test org.klokwrk.cargotracker.booking.domain.model.InternationalizedNameSpecification [Tests: 3/3/0/0] [Time: 0.029 s]
✔ Test org.klokwrk.cargotracker.booking.domain.model.LocationSpecification [Tests: 6/6/0/0] [Time: 0.023 s]
✔ Test Gradle Test Run :cargotracker-booking-domain-model:test [Tests: 25/25/0/0]

> Task :cargotracker-booking-domain-model:check
> Task :klokwrk-lang-groovy-contracts-simple:codenarcMain
> Task :cargotracker-booking-queryside-rdbms-projection-app:codenarcTestIntegration
> Task :cargotracker-booking-queryside-rdbms-projection-app:licenseGradle SKIPPED
> Task :cargotracker-booking-queryside-rdbms-projection-app:licenseMain SKIPPED
> Task :cargotracker-booking-queryside-rdbms-projection-app:licenseMaven SKIPPED
> Task :cargotracker-booking-queryside-rdbms-projection-app:licenseTest SKIPPED
> Task :cargotracker-booking-queryside-rdbms-projection-app:licenseTestIntegration SKIPPED
> Task :cargotracker-booking-queryside-rdbms-projection-app:license UP-TO-DATE
> Task :cargotracker-booking-queryside-rdbms-projection-app:bootBuildInfo
> Task :cargotracker-booking-queryside-rdbms-projection-app:compileJava NO-SOURCE
> Task :cargotracker-lib-axon-logging:codenarcTest
> Task :cargotracker-lib-axon-logging:licenseGradle SKIPPED
> Task :cargotracker-lib-axon-logging:licenseMain SKIPPED
> Task :cargotracker-lib-axon-logging:licenseMaven SKIPPED
> Task :cargotracker-lib-axon-logging:licenseTest SKIPPED
> Task :cargotracker-lib-axon-logging:license UP-TO-DATE
> Task :cargotracker-lib-axon-logging:compileTestJava NO-SOURCE
> Task :cargotracker-lib-axon-cqrs:codenarcTest
> Task :cargotracker-lib-axon-cqrs:licenseGradle SKIPPED
> Task :cargotracker-lib-axon-cqrs:licenseMain SKIPPED
> Task :cargotracker-lib-axon-cqrs:licenseMaven SKIPPED
> Task :cargotracker-lib-axon-cqrs:licenseTest SKIPPED
> Task :cargotracker-lib-axon-cqrs:license UP-TO-DATE
> Task :cargotracker-lib-axon-cqrs:compileTestJava NO-SOURCE

> Task :klokwrk-lang-groovy-contracts-match:codenarcTest
CodeNarc completed: (p1=0; p2=0; p3=0) 10232ms

> Task :klokwrk-lang-groovy-contracts-match:licenseGradle SKIPPED
> Task :klokwrk-lang-groovy-contracts-match:licenseMain SKIPPED
> Task :klokwrk-lang-groovy-contracts-match:licenseMaven SKIPPED
> Task :klokwrk-lang-groovy-contracts-match:licenseTest SKIPPED
> Task :klokwrk-lang-groovy-contracts-match:license UP-TO-DATE
> Task :klokwrk-lang-groovy-contracts-match:compileTestJava NO-SOURCE
> Task :cargotracker-booking-queryside-rdbms-projection-app:compileGroovy
> Task :cargotracker-booking-queryside-rdbms-projection-app:processResources
> Task :cargotracker-booking-queryside-rdbms-projection-app:classes
> Task :cargotracker-booking-queryside-rdbms-projection-app:compileTestJava NO-SOURCE

> Task :cargotracker-lib-boundary-api:codenarcTest
CodeNarc completed: (p1=0; p2=0; p3=0) 10304ms

> Task :cargotracker-lib-boundary-api:licenseGradle SKIPPED
> Task :cargotracker-lib-boundary-api:licenseMain SKIPPED
> Task :cargotracker-lib-boundary-api:licenseMaven SKIPPED
> Task :cargotracker-lib-boundary-api:licenseTest SKIPPED
> Task :cargotracker-lib-boundary-api:license UP-TO-DATE
> Task :cargotracker-lib-boundary-api:compileTestJava NO-SOURCE

> Task :cargotracker-booking-commandside-app:codenarcTestIntegration
CodeNarc completed: (p1=0; p2=0; p3=0) 10723ms

> Task :cargotracker-booking-commandside-app:licenseGradle SKIPPED
> Task :cargotracker-booking-commandside-app:licenseMain SKIPPED
> Task :cargotracker-booking-commandside-app:licenseMaven SKIPPED
> Task :cargotracker-booking-commandside-app:licenseTest SKIPPED
> Task :cargotracker-booking-commandside-app:licenseTestIntegration SKIPPED
> Task :cargotracker-booking-commandside-app:license UP-TO-DATE
> Task :cargotracker-booking-commandside-app:bootBuildInfo
> Task :cargotracker-booking-commandside-app:compileJava NO-SOURCE
> Task :cargotracker-lib-axon-cqrs:compileTestGroovy
> Task :cargotracker-lib-axon-cqrs:processTestResources NO-SOURCE
> Task :cargotracker-lib-axon-cqrs:testClasses

> Task :cargotracker-lib-web:codenarcTest
CodeNarc completed: (p1=0; p2=0; p3=0) 11101ms

> Task :cargotracker-lib-web:licenseGradle SKIPPED
> Task :cargotracker-lib-web:licenseMain SKIPPED
> Task :cargotracker-lib-web:licenseMaven SKIPPED
> Task :cargotracker-lib-web:licenseTest SKIPPED
> Task :cargotracker-lib-web:license UP-TO-DATE
> Task :cargotracker-lib-web:compileTestJava NO-SOURCE

> Task :cargotracker-booking-queryside-app:codenarcTestIntegration
CodeNarc completed: (p1=0; p2=0; p3=0) 11260ms

> Task :cargotracker-booking-queryside-app:licenseGradle SKIPPED
> Task :cargotracker-booking-queryside-app:licenseMain SKIPPED
> Task :cargotracker-booking-queryside-app:licenseMaven SKIPPED
> Task :cargotracker-booking-queryside-app:licenseTest SKIPPED
> Task :cargotracker-booking-queryside-app:licenseTestIntegration SKIPPED
> Task :cargotracker-booking-queryside-app:license UP-TO-DATE
> Task :cargotracker-booking-queryside-app:bootBuildInfo
> Task :cargotracker-booking-queryside-app:compileJava NO-SOURCE
> Task :klokwrk-lang-groovy:codenarcTest
> Task :klokwrk-lang-groovy:licenseGradle SKIPPED
> Task :klokwrk-lang-groovy:licenseMain SKIPPED
> Task :klokwrk-lang-groovy:licenseMaven SKIPPED
> Task :klokwrk-lang-groovy:licenseTest SKIPPED
> Task :klokwrk-lang-groovy:license UP-TO-DATE
> Task :klokwrk-lang-groovy:compileTestJava NO-SOURCE
> Task :cargotracker-lib-axon-logging:compileTestGroovy
> Task :cargotracker-lib-axon-logging:processTestResources NO-SOURCE
> Task :cargotracker-lib-axon-logging:testClasses
> Task :klokwrk-lang-groovy-contracts-match:compileTestGroovy
> Task :klokwrk-lang-groovy-contracts-match:processTestResources NO-SOURCE
> Task :klokwrk-lang-groovy-contracts-match:testClasses
> Task :cargotracker-lib-boundary-api:compileTestGroovy
> Task :cargotracker-lib-boundary-api:processTestResources NO-SOURCE
> Task :cargotracker-lib-boundary-api:testClasses
> Task :cargotracker-booking-queryside-rdbms-projection-app:compileTestGroovy
> Task :cargotracker-booking-queryside-rdbms-projection-app:processTestResources NO-SOURCE
> Task :cargotracker-booking-queryside-rdbms-projection-app:testClasses

> Task :klokwrk-lib-archunit:codenarcMain
CodeNarc completed: (p1=0; p2=0; p3=0) 10394ms

> Task :cargotracker-lib-web:compileTestGroovy
> Task :cargotracker-lib-web:processTestResources
> Task :cargotracker-lib-web:testClasses

> Task :klokwrk-lang-groovy-contracts-simple:codenarcTest
CodeNarc completed: (p1=0; p2=0; p3=0) 6820ms

> Task :klokwrk-lang-groovy-contracts-simple:licenseGradle SKIPPED
> Task :klokwrk-lang-groovy-contracts-simple:licenseMain SKIPPED
> Task :klokwrk-lang-groovy-contracts-simple:licenseMaven SKIPPED
> Task :klokwrk-lang-groovy-contracts-simple:licenseTest SKIPPED
> Task :klokwrk-lang-groovy-contracts-simple:license UP-TO-DATE
> Task :klokwrk-lang-groovy-contracts-simple:compileTestJava NO-SOURCE
> Task :klokwrk-lang-groovy-contracts-simple:compileTestGroovy
> Task :klokwrk-lang-groovy-contracts-simple:processTestResources NO-SOURCE
> Task :klokwrk-lang-groovy-contracts-simple:testClasses

> Task :cargotracker-lib-boundary-api:test
✔ Test org.klokwrk.cargotracker.lib.boundary.api.metadata.response.ResponseMetaDataSpecification [Tests: 1/1/0/0] [Time: 0.790 s]
✔ Test Gradle Test Run :cargotracker-lib-boundary-api:test [Tests: 1/1/0/0]

> Task :cargotracker-lib-boundary-api:check

> Task :klokwrk-lang-groovy-contracts-match:test
✔ Test org.klokwrk.lang.groovy.contracts.match.ContractsMatchBaseSpecification [Tests: 5/5/0/0] [Time: 1.305 s]

> Task :cargotracker-lib-axon-cqrs:test
✔ Test org.klokwrk.cargotracker.lib.axon.cqrs.querygateway.QueryGatewayAdapterSpecification [Tests: 8/8/0/0] [Time: 1.738 s]
✔ Test org.klokwrk.cargotracker.lib.axon.cqrs.messagehandler.CommandHandlerTraitSpecification [Tests: 2/2/0/0] [Time: 0.157 s]
✔ Test org.klokwrk.cargotracker.lib.axon.cqrs.messagehandler.QueryHandlerTraitSpecification [Tests: 2/2/0/0] [Time: 0.055 s]
✔ Test org.klokwrk.cargotracker.lib.axon.cqrs.commandgateway.CommandGatewayAdapterSpecification [Tests: 6/6/0/0] [Time: 0.113 s]
✔ Test Gradle Test Run :cargotracker-lib-axon-cqrs:test [Tests: 18/18/0/0]

> Task :cargotracker-lib-axon-cqrs:check

> Task :klokwrk-lang-groovy-contracts-match:test
✔ Test org.klokwrk.lang.groovy.contracts.match.ContractsMatchSpecification [Tests: 6/6/0/0] [Time: 3.104 s]
✔ Test Gradle Test Run :klokwrk-lang-groovy-contracts-match:test [Tests: 11/11/0/0]

> Task :klokwrk-lang-groovy-contracts-match:check

> Task :cargotracker-lib-axon-logging:test
✔ Test org.klokwrk.cargotracker.lib.axon.logging.LoggingCommandHandlerEnhancerDefinitionSpecification [Tests: 5/5/0/0] [Time: 5.603 s]

> Task :cargotracker-booking-queryside-app:compileGroovy
> Task :cargotracker-booking-queryside-app:processResources
> Task :cargotracker-booking-queryside-app:classes
> Task :cargotracker-booking-queryside-app:compileTestJava NO-SOURCE

> Task :cargotracker-lib-web:test
✔ Test org.klokwrk.cargotracker.lib.web.util.ClientIpAddressExtractorSpecification [Tests: 4/4/0/0] [Time: 1.102 s]

> Task :cargotracker-booking-commandside-app:compileGroovy
> Task :cargotracker-booking-commandside-app:processResources
> Task :cargotracker-booking-commandside-app:classes
> Task :cargotracker-booking-commandside-app:compileTestJava NO-SOURCE
> Task :klokwrk-lib-archunit:codenarcTest
> Task :klokwrk-lib-archunit:licenseGradle SKIPPED
> Task :klokwrk-lib-archunit:licenseMain SKIPPED
> Task :klokwrk-lib-archunit:licenseMaven SKIPPED
> Task :klokwrk-lib-archunit:licenseTest SKIPPED
> Task :klokwrk-lib-archunit:license UP-TO-DATE
> Task :klokwrk-lib-archunit:compileTestJava NO-SOURCE
> Task :klokwrk-lang-groovy:compileTestGroovy
> Task :klokwrk-lang-groovy:processTestResources NO-SOURCE
> Task :klokwrk-lang-groovy:testClasses

> Task :cargotracker-lib-axon-logging:test
✔ Test org.klokwrk.cargotracker.lib.axon.logging.LoggingQueryHandlerEnhancerDefinitionSpecification [Tests: 2/2/0/0] [Time: 1.144 s]
✔ Test org.klokwrk.cargotracker.lib.axon.logging.AxonMessageHelperSpecification [Tests: 8/8/0/0] [Time: 0.236 s]

> Task :cargotracker-booking-queryside-app:compileTestGroovy
> Task :cargotracker-booking-queryside-app:processTestResources NO-SOURCE
> Task :cargotracker-booking-queryside-app:testClasses

> Task :cargotracker-lib-web:test
✔ Test org.klokwrk.cargotracker.lib.web.spring.mvc.ResponseFormattingDomainExceptionHandlerSpecification [Tests: 3/3/0/0] [Time: 1.577 s]

> Task :cargotracker-booking-commandside-app:compileTestGroovy
> Task :cargotracker-booking-commandside-app:processTestResources NO-SOURCE
> Task :cargotracker-booking-commandside-app:testClasses
> Task :klokwrk-lib-archunit:compileTestGroovy
> Task :klokwrk-lib-archunit:processTestResources NO-SOURCE
> Task :klokwrk-lib-archunit:testClasses

> Task :klokwrk-lang-groovy-contracts-simple:test
✔ Test org.klokwrk.lang.groovy.contracts.simple.ContractsSimpleSpecification [Tests: 5/5/0/0] [Time: 4.192 s]
✔ Test Gradle Test Run :klokwrk-lang-groovy-contracts-simple:test [Tests: 5/5/0/0]

> Task :klokwrk-lang-groovy-contracts-simple:check

> Task :cargotracker-lib-axon-logging:test
✔ Test org.klokwrk.cargotracker.lib.axon.logging.LoggingEventHandlerEnhancerDefinitionSpecification [Tests: 2/2/0/0] [Time: 2.323 s]

> Task :klokwrk-lib-datasourceproxy:codenarcMain

> Task :cargotracker-lib-axon-logging:test
✔ Test org.klokwrk.cargotracker.lib.axon.logging.LoggingEventSourcingHandlerEnhancerDefinitionSpecification [Tests: 2/2/0/0] [Time: 1.094 s]
✔ Test Gradle Test Run :cargotracker-lib-axon-logging:test [Tests: 19/19/0/0]

> Task :cargotracker-lib-axon-logging:check

> Task :cargotracker-booking-queryside-rdbms-projection-app:test
✔ Test org.klokwrk.cargotracker.booking.queryside.rdbms.projection.architecture.BookingQuerySideRdbmsProjectionAppArchitectureSpecification [Tests: 2/2/0/0] [Time: 7.623 s]

> Task :klokwrk-lib-datasourceproxy-springboot:codenarcMain

> Task :klokwrk-lang-groovy:test
✔ Test org.klokwrk.lang.groovy.extension.MapMergeDeepExtensionSpecification [Tests: 10/10/0/0] [Time: 0.598 s]
✔ Test org.klokwrk.lang.groovy.extension.PropertiesExtensionSpecification [Tests: 4/4/0/0] [Time: 0.145 s]
✔ Test org.klokwrk.lang.groovy.contracts.base.ContractsBaseSpecification [Tests: 4/4/0/0] [Time: 0.233 s]

> Task :klokwrk-lib-hibernate:codenarcMain

> Task :cargotracker-lib-web:test
✔ Test org.klokwrk.cargotracker.lib.web.spring.mvc.ResponseFormattingResponseBodyAdviceSpecification [Tests: 3/3/0/0] [Time: 5.708 s]

> Task :cargotracker-booking-queryside-rdbms-projection-app:test
✔ Test org.klokwrk.cargotracker.booking.queryside.rdbms.projection.architecture.BookingQuerySideRdbmsProjectionAppDependenciesSpecification [Tests: 2/2/0/0] [Time: 2.825 s]
✔ Test Gradle Test Run :cargotracker-booking-queryside-rdbms-projection-app:test [Tests: 4/4/0/0]

> Task :cargotracker-booking-queryside-rdbms-projection-app:check

> Task :klokwrk-lang-groovy:test
✔ Test org.klokwrk.lang.groovy.transform.options.RelaxedPropertyHandlerSpecification [Tests: 3/3/0/0] [Time: 1.678 s]
✔ Test org.klokwrk.lang.groovy.transform.KwrkMapConstructorDefaultPostCheckAstTransformationSpecification [Tests: 7/7/0/0] [Time: 0.642 s]

> Task :cargotracker-lib-web:test
✔ Test org.klokwrk.cargotracker.lib.web.spring.mvc.ResponseFormattingSpringMvcExceptionHandlerSpecification [Tests: 2/2/0/0] [Time: 0.379 s]
✔ Test org.klokwrk.cargotracker.lib.web.spring.mvc.ResponseFormattingConstraintViolationExceptionHandlerSpecification [Tests: 2/2/0/0] [Time: 1.052 s]
✔ Test org.klokwrk.cargotracker.lib.web.spring.mvc.ResponseFormattingUnknownExceptionHandlerSpecification [Tests: 2/2/0/0] [Time: 0.043 s]
✔ Test Gradle Test Run :cargotracker-lib-web:test [Tests: 16/16/0/0]

> Task :cargotracker-lib-web:check

> Task :klokwrk-lib-archunit:test
✔ Test org.klokwrk.lib.archunit.ArchUnitUtilsSpecification [Tests: 3/3/0/0] [Time: 1.850 s]

> Task :klokwrk-lang-groovy:test
✔ Test org.klokwrk.lang.groovy.transform.KwrkMapConstructorNoArgHideableAstTransformationSpecification [Tests: 9/9/0/0] [Time: 0.393 s]
✔ Test org.klokwrk.lang.groovy.transform.KwrkImmutableSpecification [Tests: 10/10/0/0] [Time: 0.179 s]
✔ Test org.klokwrk.lang.groovy.constructor.support.PostMapConstructorCheckableSpecification [Tests: 3/3/0/0] [Time: 0.010 s]
✔ Test Gradle Test Run :klokwrk-lang-groovy:test [Tests: 50/50/0/0]

> Task :klokwrk-lang-groovy:check

> Task :klokwrk-lib-archunit:test
✔ Test org.klokwrk.lib.archunit.HexagonalCqrsEsArchitectureSpecification [Tests: 12/12/0/0] [Time: 1.391 s]
✔ Test Gradle Test Run :klokwrk-lib-archunit:test [Tests: 15/15/0/0]

> Task :klokwrk-lib-archunit:check

> Task :cargotracker-booking-commandside-app:test
✔ Test org.klokwrk.cargotracker.booking.commandside.architecture.BookingCommandSideAppArchitectureSpecification [Tests: 5/5/0/0] [Time: 3.306 s]
✔ Test org.klokwrk.cargotracker.booking.commandside.architecture.BookingCommandSideAppDependenciesSpecification [Tests: 2/2/0/0] [Time: 1.576 s]
✔ Test org.klokwrk.cargotracker.booking.commandside.feature.cargobooking.application.service.CargoBookingFactoryServiceSpecification [Tests: 7/7/0/0] [Time: 0.150 s]

> Task :cargotracker-booking-queryside-app:test
✔ Test org.klokwrk.cargotracker.booking.queryside.architecture.BookingQuerySideAppDependenciesSpecification [Tests: 2/2/0/0] [Time: 4.323 s]
✔ Test org.klokwrk.cargotracker.booking.queryside.architecture.BookingQuerySideAppArchitectureSpecification [Tests: 2/2/0/0] [Time: 0.759 s]
✔ Test org.klokwrk.cargotracker.booking.queryside.feature.cargosummary.application.port.in.FetchCargoSummaryQueryRequestSpecification [Tests: 2/2/0/0] [Time: 1.354 s]
✔ Test Gradle Test Run :cargotracker-booking-queryside-app:test [Tests: 6/6/0/0]

> Task :cargotracker-booking-queryside-app:check
> Task :klokwrk-platform-base:check UP-TO-DATE
> Task :klokwrk-platform-micronaut:check UP-TO-DATE
> Task :klokwrk-platform-spring-boot:check UP-TO-DATE
> Task :klokwrk-lib-jackson:codenarcMain

> Task :cargotracker-booking-commandside-app:test
✔ Test org.klokwrk.cargotracker.booking.commandside.feature.cargobooking.application.port.in.BookCargoRequestSpecification [Tests: 2/2/0/0] [Time: 1.217 s]
✔ Test org.klokwrk.cargotracker.booking.commandside.domain.aggregate.CargoAggregateSpecification [Tests: 3/3/0/0] [Time: 0.292 s]
✔ Test Gradle Test Run :cargotracker-booking-commandside-app:test [Tests: 19/19/0/0]

> Task :cargotracker-booking-commandside-app:check

> Task :klokwrk-lib-datasourceproxy:codenarcTest
CodeNarc completed: (p1=0; p2=0; p3=0) 11210ms

> Task :klokwrk-lib-datasourceproxy:licenseGradle SKIPPED
> Task :klokwrk-lib-datasourceproxy:licenseMain SKIPPED
> Task :klokwrk-lib-datasourceproxy:licenseMaven SKIPPED
> Task :klokwrk-lib-datasourceproxy:licenseTest SKIPPED
> Task :klokwrk-lib-datasourceproxy:license UP-TO-DATE
> Task :klokwrk-lib-datasourceproxy:compileTestJava NO-SOURCE
> Task :klokwrk-lib-datasourceproxy:compileTestGroovy
> Task :klokwrk-lib-datasourceproxy:processTestResources NO-SOURCE
> Task :klokwrk-lib-datasourceproxy:testClasses

> Task :klokwrk-lib-jackson-springboot:codenarcMain
CodeNarc completed: (p1=0; p2=0; p3=0) 11331ms

> Task :klokwrk-lib-datasourceproxy-springboot:codenarcTest
> Task :klokwrk-lib-datasourceproxy-springboot:licenseGradle SKIPPED
> Task :klokwrk-lib-datasourceproxy-springboot:licenseMain SKIPPED
> Task :klokwrk-lib-datasourceproxy-springboot:licenseMaven SKIPPED
> Task :klokwrk-lib-datasourceproxy-springboot:licenseTest SKIPPED
> Task :klokwrk-lib-datasourceproxy-springboot:license UP-TO-DATE
> Task :klokwrk-lib-datasourceproxy-springboot:compileTestJava NO-SOURCE
> Task :klokwrk-lib-datasourceproxy-springboot:compileTestGroovy
> Task :klokwrk-lib-datasourceproxy-springboot:processTestResources
> Task :klokwrk-lib-datasourceproxy-springboot:testClasses

> Task :klokwrk-lib-datasourceproxy:test
✔ Test org.klokwrk.lib.datasourceproxy.Slf4jFilterableQueryLoggingListenerSpecification [Tests: 9/9/0/0] [Time: 0.635 s]

> Task :aggregateCodenarc
CodeNarc completed: (p1=0; p2=0; p3=0) 14152ms

> Task :check

> Task :klokwrk-lib-datasourceproxy:test
✔ Test Gradle Test Run :klokwrk-lib-datasourceproxy:test [Tests: 9/9/0/0]

> Task :klokwrk-lib-datasourceproxy:check

> Task :klokwrk-lib-hibernate:codenarcTest
CodeNarc completed: (p1=0; p2=0; p3=0) 12496ms

> Task :klokwrk-lib-hibernate:licenseGradle SKIPPED
> Task :klokwrk-lib-hibernate:licenseMain SKIPPED
> Task :klokwrk-lib-hibernate:licenseMaven SKIPPED
> Task :klokwrk-lib-hibernate:licenseTest SKIPPED
> Task :klokwrk-lib-hibernate:license UP-TO-DATE
> Task :klokwrk-lib-hibernate:compileTestJava NO-SOURCE
> Task :klokwrk-lib-hibernate:compileTestGroovy
> Task :klokwrk-lib-hibernate:processTestResources NO-SOURCE
> Task :klokwrk-lib-hibernate:testClasses

> Task :klokwrk-lib-spring-context:codenarcMain
CodeNarc completed: (p1=0; p2=0; p3=0) 12815ms

> Task :klokwrk-lib-validation-constraint:codenarcMain
> Task :klokwrk-lib-validation-constraint:codenarcTest NO-SOURCE
> Task :klokwrk-lib-validation-constraint:licenseGradle SKIPPED
> Task :klokwrk-lib-validation-constraint:licenseMain SKIPPED
> Task :klokwrk-lib-validation-constraint:licenseMaven SKIPPED
> Task :klokwrk-lib-validation-constraint:licenseTest SKIPPED
> Task :klokwrk-lib-validation-constraint:license UP-TO-DATE
> Task :klokwrk-lib-validation-constraint:compileTestJava NO-SOURCE
> Task :klokwrk-lib-validation-constraint:compileTestGroovy NO-SOURCE
> Task :klokwrk-lib-validation-constraint:processTestResources NO-SOURCE
> Task :klokwrk-lib-validation-constraint:testClasses UP-TO-DATE
> Task :klokwrk-lib-validation-constraint:test NO-SOURCE
> Task :klokwrk-lib-validation-constraint:check

> Task :klokwrk-lib-validation-springboot:codenarcMain
CodeNarc completed: (p1=0; p2=0; p3=0) 12352ms

> Task :klokwrk-lib-hibernate:test
✔ Test org.klokwrk.lib.hibernate.dialect.PostgreSqlAxonDialectSpecification [Tests: 3/3/0/0] [Time: 0.419 s]
✔ Test Gradle Test Run :klokwrk-lib-hibernate:test [Tests: 3/3/0/0]

> Task :klokwrk-lib-hibernate:check

> Task :klokwrk-lib-validation-validator:codenarcMain
CodeNarc completed: (p1=0; p2=0; p3=0) 11829ms

> Task :klokwrk-lib-datasourceproxy-springboot:test
✔ Test org.klokwrk.lib.datasourceproxy.springboot.DataSourceProxyBeanPostProcessorCustomSetupSpecification [Tests: 2/2/0/0] [Time: 3.131 s]

> Task :klokwrk-tool-gradle-source-repack:codenarcMain
> Task :klokwrk-lib-jackson:codenarcTest
> Task :klokwrk-lib-jackson:licenseGradle SKIPPED
> Task :klokwrk-lib-jackson:licenseMain SKIPPED
> Task :klokwrk-lib-jackson:licenseMaven SKIPPED
> Task :klokwrk-lib-jackson:licenseTest SKIPPED
> Task :klokwrk-lib-jackson:license UP-TO-DATE
> Task :klokwrk-lib-jackson:compileTestJava NO-SOURCE
> Task :klokwrk-lib-jackson:compileTestGroovy
> Task :klokwrk-lib-jackson:processTestResources NO-SOURCE
> Task :klokwrk-lib-jackson:testClasses

> Task :klokwrk-lib-datasourceproxy-springboot:test
✔ Test org.klokwrk.lib.datasourceproxy.springboot.DataSourceProxyBeanPostProcessorDefaultSetupSpecification [Tests: 6/6/0/0] [Time: 1.540 s]
✔ Test Gradle Test Run :klokwrk-lib-datasourceproxy-springboot:test [Tests: 8/8/0/0]

> Task :klokwrk-lib-datasourceproxy-springboot:check

> Task :klokwrk-lib-jackson-springboot:codenarcTest
CodeNarc completed: (p1=0; p2=0; p3=0) 8169ms

> Task :klokwrk-lib-jackson-springboot:licenseGradle SKIPPED
> Task :klokwrk-lib-jackson-springboot:licenseMain SKIPPED
> Task :klokwrk-lib-jackson-springboot:licenseMaven SKIPPED
> Task :klokwrk-lib-jackson-springboot:licenseTest SKIPPED
> Task :klokwrk-lib-jackson-springboot:license UP-TO-DATE
> Task :klokwrk-lib-jackson-springboot:compileTestJava NO-SOURCE
> Task :klokwrk-lib-jackson-springboot:compileTestGroovy
> Task :klokwrk-lib-jackson-springboot:processTestResources
> Task :klokwrk-lib-jackson-springboot:testClasses

> Task :klokwrk-lib-jackson:test
✔ Test org.klokwrk.lib.jackson.databind.deser.StringSanitizingDeserializerSpecification [Tests: 2/2/0/0] [Time: 0.656 s]
✔ Test org.klokwrk.lib.jackson.databind.ser.GStringSerializerSpecification [Tests: 1/1/0/0] [Time: 0.068 s]
✔ Test Gradle Test Run :klokwrk-lib-jackson:test [Tests: 3/3/0/0]

> Task :klokwrk-lib-jackson:check

> Task :klokwrk-lib-spring-context:codenarcTest
CodeNarc completed: (p1=0; p2=0; p3=0) 6239ms

> Task :klokwrk-lib-spring-context:licenseGradle SKIPPED
> Task :klokwrk-lib-spring-context:licenseMain SKIPPED
> Task :klokwrk-lib-spring-context:licenseMaven SKIPPED
> Task :klokwrk-lib-spring-context:licenseTest SKIPPED
> Task :klokwrk-lib-spring-context:license UP-TO-DATE
> Task :klokwrk-lib-spring-context:compileTestJava NO-SOURCE
> Task :klokwrk-lib-spring-context:compileTestGroovy
> Task :klokwrk-lib-spring-context:processTestResources NO-SOURCE
> Task :klokwrk-lib-spring-context:testClasses

> Task :klokwrk-lib-validation-validator:codenarcTest
CodeNarc completed: (p1=0; p2=0; p3=0) 5437ms

> Task :klokwrk-lib-validation-validator:licenseGradle SKIPPED
> Task :klokwrk-lib-validation-validator:licenseMain SKIPPED
> Task :klokwrk-lib-validation-validator:licenseMaven SKIPPED
> Task :klokwrk-lib-validation-validator:licenseTest SKIPPED
> Task :klokwrk-lib-validation-validator:license UP-TO-DATE
> Task :klokwrk-lib-validation-validator:compileTestJava NO-SOURCE

> Task :klokwrk-lib-validation-springboot:codenarcTest
CodeNarc completed: (p1=0; p2=0; p3=0) 5663ms

> Task :klokwrk-lib-validation-springboot:licenseGradle SKIPPED
> Task :klokwrk-lib-validation-springboot:licenseMain SKIPPED
> Task :klokwrk-lib-validation-springboot:licenseMaven SKIPPED
> Task :klokwrk-lib-validation-springboot:licenseTest SKIPPED
> Task :klokwrk-lib-validation-springboot:license UP-TO-DATE
> Task :klokwrk-lib-validation-springboot:compileTestJava NO-SOURCE
> Task :klokwrk-lib-validation-springboot:compileTestGroovy
> Task :klokwrk-lib-validation-springboot:processTestResources
> Task :klokwrk-lib-validation-springboot:testClasses

> Task :klokwrk-tool-gradle-source-repack:codenarcTest
CodeNarc completed: (p1=0; p2=0; p3=0) 4288ms

> Task :klokwrk-tool-gradle-source-repack:licenseGradle SKIPPED
> Task :klokwrk-tool-gradle-source-repack:licenseMain SKIPPED
> Task :klokwrk-tool-gradle-source-repack:licenseMaven SKIPPED
> Task :klokwrk-tool-gradle-source-repack:licenseTest SKIPPED
> Task :klokwrk-tool-gradle-source-repack:license UP-TO-DATE
> Task :klokwrk-lib-validation-validator:compileTestGroovy
> Task :klokwrk-lib-validation-validator:processTestResources NO-SOURCE
> Task :klokwrk-lib-validation-validator:testClasses
> Task :klokwrk-tool-gradle-source-repack:compileJava

> Task :klokwrk-lib-spring-context:test
✔ Test org.klokwrk.lib.spring.context.MessageSourceResolvableHelperSpecification [Tests: 14/14/0/0] [Time: 0.505 s]
✔ Test Gradle Test Run :klokwrk-lib-spring-context:test [Tests: 14/14/0/0]

> Task :klokwrk-lib-spring-context:check

> Task :klokwrk-lib-validation-validator:test
✔ Test org.klokwrk.lib.validation.validator.NotBlankWhenNullableConstraintValidatorSpecification [Tests: 4/4/0/0] [Time: 0.967 s]
✔ Test org.klokwrk.lib.validation.validator.UuidFormatConstraintValidatorSpecification [Tests: 5/5/0/0] [Time: 0.102 s]
✔ Test org.klokwrk.lib.validation.validator.UnLoCodeFormatConstraintValidatorSpecification [Tests: 5/5/0/0] [Time: 0.066 s]
✔ Test Gradle Test Run :klokwrk-lib-validation-validator:test [Tests: 14/14/0/0]

> Task :klokwrk-lib-validation-validator:check
> Task :klokwrk-tool-gradle-source-repack:compileGroovy
> Task :klokwrk-tool-gradle-source-repack:processResources
> Task :klokwrk-tool-gradle-source-repack:classes
> Task :klokwrk-tool-gradle-source-repack:compileTestJava NO-SOURCE

> Task :klokwrk-lib-jackson-springboot:test
✔ Test org.klokwrk.lib.jackson.springboot.EssentialJacksonCustomizerCustomSetupSpecification [Tests: 9/9/0/0] [Time: 3.989 s]
✔ Test org.klokwrk.lib.jackson.springboot.EssentialJacksonCustomizerDefaultSetupSpecification [Tests: 8/8/0/0] [Time: 0.098 s]
✔ Test org.klokwrk.lib.jackson.springboot.EssentialJacksonCustomizerBehaviorSpecification [Tests: 12/12/0/0] [Time: 0.428 s]
✔ Test Gradle Test Run :klokwrk-lib-jackson-springboot:test [Tests: 29/29/0/0]

> Task :klokwrk-lib-jackson-springboot:check

> Task :klokwrk-lib-validation-springboot:test
✔ Test org.klokwrk.lib.validation.springboot.ValidationServiceDefaultSetupSpecification [Tests: 3/3/0/0] [Time: 2.241 s]

> Task :klokwrk-tool-gradle-source-repack:compileTestGroovy
> Task :klokwrk-tool-gradle-source-repack:processTestResources
> Task :klokwrk-tool-gradle-source-repack:testClasses

> Task :klokwrk-lib-validation-springboot:test
✔ Test org.klokwrk.lib.validation.springboot.ValidationServiceCustomSetupSpecification [Tests: 3/3/0/0] [Time: 0.558 s]
✔ Test Gradle Test Run :klokwrk-lib-validation-springboot:test [Tests: 6/6/0/0]

> Task :klokwrk-lib-validation-springboot:check

> Task :klokwrk-tool-gradle-source-repack:test
✔ Test org.klokwrk.tool.gradle.source.repack.GradleSourceRepackCommandSpecification [Tests: 11/11/0/0] [Time: 2.254 s]
✔ Test org.klokwrk.tool.gradle.source.repack.repackager.GradleSourceRepackagerSpecification [Tests: 4/4/0/0] [Time: 0.034 s]
✔ Test org.klokwrk.tool.gradle.source.repack.downloader.GradleDownloaderSpecification [Tests: 8/8/0/0] [Time: 0.158 s]
✔ Test org.klokwrk.tool.gradle.source.repack.checksum.GradleSha256CheckerSpecification [Tests: 2/2/0/0] [Time: 0.008 s]
✔ Test Gradle Test Run :klokwrk-tool-gradle-source-repack:test [Tests: 25/25/0/0]

> Task :klokwrk-tool-gradle-source-repack:check

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.9/userguide/command_line_interface.html#sec:command_line_warnings

BUILD SUCCESSFUL in 1m 54s
192 actionable tasks: 192 executed

@dmurat
Copy link
Author

dmurat commented May 28, 2021

Still, it looks like there are some warnings present :-)

There is

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.9/userguide/command_line_interface.html#sec:command_line_warnings

at the end of the output.

If you run (without any cleaning) gm check --parallel --warning-mode all, I believe you will get them.

@aalmiray
Copy link
Collaborator

Indeed. I can verify that the warnings only occur when --parallel is given. The only reference to configurations is at https://github.com/kordamp/kordamp-gradle-plugins/blob/master/plugins/codenarc-gradle-plugin/src/main/groovy/org/kordamp/gradle/plugin/codenarc/CodenarcPlugin.groovy#L235

It may be the case that the --parallel flag triggers an internal check mechanism by Gradle that does not trigger in sequential mode. I would had expected the warning to be consistent regardless of parallelism.

@dmurat
Copy link
Author

dmurat commented May 28, 2021

Yes, very unexpected that it depends on --parallel flag. Still, warnings do not appear in kordamp 0.44.0. Looks like some change in 0.45.0 is the cause.
I will try various Gradle versions and some modifications in my scripts. Do you, maybe, have any other suggestions on how to proceed?

@aalmiray
Copy link
Collaborator

I don't see a significant change in 0.45.0 when compared to 0.44.0 that would make Codenarc tasks emit the warning

v0.44.0...v0.45.0

@dmurat
Copy link
Author

dmurat commented May 28, 2021

Here is what I was able to find:

  • also happens on 0.44.0 but is not triggered by check as the aggregateCodenarc task is dependent on check since the 0.45.0 version

  • to reproduce with 0.44.0

    gw aggregateCodenarc --parallel --warning-mode all
    
  • also happens for aggregateGroovydoc (warnings for different configurations) on 0.44.0 version

    gw aggregateGroovydoc --parallel --warning-mode all
    
  • from other aggregate tasks that I commonly use, does not happen for aggregateAllTestReports nor for aggregateJacocoReport

To my understanding, when running in parallel mode, any request from the root project for configuration resolving in child modules
will result in a warning. I believe such behavior is allowed for root project (which is the case for kordamp aggregate tasks) but is not
enforced when running in parallel mode. The problem is in org.gradle.api.internal.artifacts.configurations.DefaultConfiguration class,
at the line 585 (Gradle version 6.9):

  if (!owner.getModel().hasMutableState()) {

This branch will be entered for submodules when running in parallel mode, but will not when running in serial mode.
When the branch is entered, a warning is produced.

dmurat added a commit to croz-ltd/klokwrk-project that referenced this issue Jun 2, 2021
Task 'aggregateCodenarc' is excluded as it causes Gradle warnings during parallel execution.
Related to kordamp/kordamp-gradle-plugins#469
Problem is not reported to Gradle yet.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants