Bump org.spockframework:spock-bom from 2.3-groovy-3.0 to 2.3-groovy-4.0 #134
build.taddiken.net / Jenkins
failed
Mar 11, 2024 in 2m 25s
Quickcheck: error in 'sh' step
Quickcheck / Shell Script
Error in sh
step, with arguments ./gradlew quickCheck
.
script returned exit code 1
Build log
+ ./gradlew quickCheck
Welcome to Gradle 8.5!
Here are the highlights of this release:
- Support for running on Java 21
- Faster first use with Kotlin DSL
- Improved error and warning messages
For more details see https://docs.gradle.org/8.5/release-notes.html
Starting a Gradle Daemon (subsequent builds will be faster)
Type-safe project accessors is an incubating feature.
> Task :build-logic:code-style:checkKotlinGradlePluginConfigurationErrors
> Task :build-logic:conventions:checkKotlinGradlePluginConfigurationErrors
> Task :build-logic:release-plugin:checkKotlinGradlePluginConfigurationErrors
> Task :build-logic:verify-publication:checkKotlinGradlePluginConfigurationErrors
> Task :build-logic:conventions:extractPrecompiledScriptPluginPlugins FROM-CACHE
> Task :build-logic:code-style:generateExternalPluginSpecBuilders FROM-CACHE
> Task :build-logic:verify-publication:generateExternalPluginSpecBuilders FROM-CACHE
> Task :build-logic:release-plugin:generateExternalPluginSpecBuilders FROM-CACHE
> Task :build-logic:verify-publication:extractPrecompiledScriptPluginPlugins FROM-CACHE
> Task :build-logic:code-style:extractPrecompiledScriptPluginPlugins FROM-CACHE
> Task :build-logic:release-plugin:extractPrecompiledScriptPluginPlugins FROM-CACHE
> Task :build-logic:conventions:generateScriptPluginAdapters FROM-CACHE
> Task :build-logic:code-style:compilePluginsBlocks FROM-CACHE
> Task :build-logic:conventions:pluginDescriptors
> Task :build-logic:verify-publication:compilePluginsBlocks FROM-CACHE
> Task :build-logic:release-plugin:compilePluginsBlocks FROM-CACHE
> Task :build-logic:verify-publication:generatePrecompiledScriptPluginAccessors FROM-CACHE
> Task :build-logic:release-plugin:generatePrecompiledScriptPluginAccessors FROM-CACHE
> Task :build-logic:verify-publication:generateScriptPluginAdapters FROM-CACHE
> Task :build-logic:release-plugin:generateScriptPluginAdapters FROM-CACHE
> Task :build-logic:conventions:processResources
> Task :build-logic:code-style:generatePrecompiledScriptPluginAccessors FROM-CACHE
> Task :build-logic:code-style:generateScriptPluginAdapters FROM-CACHE
> Task :build-logic:verify-publication:compileKotlin FROM-CACHE
> Task :build-logic:code-style:compileKotlin FROM-CACHE
> Task :build-logic:code-style:compileJava NO-SOURCE
> Task :build-logic:verify-publication:compileJava NO-SOURCE
> Task :build-logic:release-plugin:compileKotlin FROM-CACHE
> Task :build-logic:verify-publication:compileGroovy NO-SOURCE
> Task :build-logic:release-plugin:compileJava NO-SOURCE
> Task :build-logic:verify-publication:pluginDescriptors
> Task :build-logic:code-style:pluginDescriptors
> Task :build-logic:release-plugin:pluginDescriptors
> Task :build-logic:code-style:processResources
> Task :build-logic:code-style:classes
> Task :build-logic:release-plugin:processResources
> Task :build-logic:release-plugin:classes
> Task :build-logic:verify-publication:processResources
> Task :build-logic:verify-publication:classes
> Task :build-logic:conventions:generateExternalPluginSpecBuilders FROM-CACHE
> Task :build-logic:conventions:compilePluginsBlocks FROM-CACHE
> Task :build-logic:code-style:jar
> Task :build-logic:verify-publication:jar
> Task :build-logic:release-plugin:jar
> Task :build-logic:conventions:generatePrecompiledScriptPluginAccessors FROM-CACHE
> Task :build-logic:conventions:compileKotlin FROM-CACHE
> Task :build-logic:conventions:compileJava NO-SOURCE
> Task :build-logic:conventions:classes
> Task :build-logic:conventions:jar
> Task :build-logic:accept-tos:checkKotlinGradlePluginConfigurationErrors
> Task :build-logic:accept-tos:generateExternalPluginSpecBuilders FROM-CACHE
> Task :build-logic:accept-tos:extractPrecompiledScriptPluginPlugins FROM-CACHE
> Task :build-logic:accept-tos:compilePluginsBlocks FROM-CACHE
> Task :build-logic:accept-tos:generatePrecompiledScriptPluginAccessors FROM-CACHE
> Task :build-logic:accept-tos:generateScriptPluginAdapters FROM-CACHE
> Task :build-logic:accept-tos:compileKotlin FROM-CACHE
> Task :build-logic:accept-tos:compileJava NO-SOURCE
> Task :build-logic:accept-tos:pluginDescriptors
> Task :build-logic:accept-tos:processResources
> Task :build-logic:accept-tos:classes
> Task :build-logic:accept-tos:jar
> Configure project :
The current version is: 2.5.1-PR-134
> Task :restrict-imports-gradle-plugin:checkKotlinGradlePluginConfigurationErrors
> Task :restrict-imports-enforcer-rule:processResources NO-SOURCE
> Task :restrict-imports-enforcer-rule:clearTempRepo UP-TO-DATE
> Task :restrict-imports-gradle-plugin:compileFunctionalTestKotlin NO-SOURCE
> Task :restrict-imports-gradle-plugin:compileFunctionalTestJava NO-SOURCE
> Task :spotlessInternalRegisterDependencies
> Task :readme:spotlessDocumentation FROM-CACHE
> Task :readme:spotlessDocumentationCheck UP-TO-DATE
> Task :test-coverage:spotlessDocumentation FROM-CACHE
> Task :test-coverage:spotlessDocumentationCheck UP-TO-DATE
> Task :spotlessDocumentation FROM-CACHE
> Task :test-coverage:spotlessGroovy FROM-CACHE
> Task :spotlessDocumentationCheck UP-TO-DATE
> Task :test-coverage:spotlessGroovyCheck UP-TO-DATE
> Task :readme:spotlessGroovy FROM-CACHE
> Task :readme:spotlessGroovyCheck UP-TO-DATE
> Task :test-coverage:spotlessMisc FROM-CACHE
> Task :test-coverage:spotlessMiscCheck UP-TO-DATE
> Task :test-coverage:spotlessCheck UP-TO-DATE
> Task :restrict-imports-enforcer-rule-core:compileJava FROM-CACHE
> Task :readme:spotlessMisc FROM-CACHE
> Task :test-coverage:quickCheck UP-TO-DATE
> Task :readme:spotlessMiscCheck UP-TO-DATE
> Task :readme:spotlessCheck UP-TO-DATE
> Task :readme:quickCheck UP-TO-DATE
> Task :spotlessGroovy FROM-CACHE
> Task :spotlessGroovyCheck UP-TO-DATE
> Task :restrict-imports-enforcer-rule:generatePomFileForMavenPublication
> Task :restrict-imports-enforcer-rule-core:processResources
> Task :restrict-imports-enforcer-rule-core:classes
> Task :restrict-imports-enforcer-rule-maven-it:spotlessDocumentation FROM-CACHE
> Task :restrict-imports-enforcer-rule-maven-it:spotlessDocumentationCheck UP-TO-DATE
> Task :spotlessMisc FROM-CACHE
> Task :spotlessMiscCheck UP-TO-DATE
> Task :spotlessCheck UP-TO-DATE
> Task :quickCheck UP-TO-DATE
> Task :restrict-imports-enforcer-rule-maven-it:spotlessGroovy FROM-CACHE
> Task :restrict-imports-enforcer-rule-maven-it:spotlessGroovyCheck UP-TO-DATE
> Task :restrict-imports-enforcer-rule-maven-it:spotlessMisc FROM-CACHE
> Task :restrict-imports-enforcer-rule-maven-it:spotlessMiscCheck UP-TO-DATE
> Task :restrict-imports-enforcer-rule-maven-it:spotlessCheck UP-TO-DATE
> Task :restrict-imports-enforcer-rule-maven-it:quickCheck UP-TO-DATE
> Task :restrict-imports-enforcer-rule-core:jar
> Task :restrict-imports-enforcer-rule:compileJava FROM-CACHE
> Task :restrict-imports-enforcer-rule-core:compileTestJava FROM-CACHE
> Task :restrict-imports-enforcer-rule:classes UP-TO-DATE
> Task :restrict-imports-enforcer-rule:compileTestJava FROM-CACHE
> Task :restrict-imports-gradle-plugin:compileFunctionalTestGroovy FAILED
> Task :restrict-imports-enforcer-rule:javadoc
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule/src/main/java/org/apache/maven/plugins/enforcer/BannedImportGroupDefinition.java:13: warning: no comment
public class BannedImportGroupDefinition implements BannedImportGroupDefinitionInterface {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule/src/main/java/org/apache/maven/plugins/enforcer/BannedImportGroupDefinition.java:13: warning: use of default constructor, which does not provide a comment
public class BannedImportGroupDefinition implements BannedImportGroupDefinitionInterface {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule/src/main/java/org/apache/maven/plugins/enforcer/BannedImportGroupDefinition.java:34: warning: no comment
public BannedImportGroup createGroupFromPluginConfiguration(List<NotFixable> globalNotFixables) {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule/src/main/java/org/apache/maven/plugins/enforcer/NotFixableDefinition.java:9: warning: no comment
public final class NotFixableDefinition {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule/src/main/java/org/apache/maven/plugins/enforcer/NotFixableDefinition.java:9: warning: use of default constructor, which does not provide a comment
public final class NotFixableDefinition {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule/src/main/java/org/apache/maven/plugins/enforcer/NotFixableDefinition.java:47: warning: no comment
public List<String> getAllowedImport() {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule/src/main/java/org/apache/maven/plugins/enforcer/NotFixableDefinition.java:19: warning: no comment
public String getIn() {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule/src/main/java/org/apache/maven/plugins/enforcer/NotFixableDefinition.java:27: warning: no comment
public void setAllowedImport(String allowedImport) {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule/src/main/java/org/apache/maven/plugins/enforcer/NotFixableDefinition.java:38: warning: no comment
public void setAllowedImports(List<String> allowedImports) {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule/src/main/java/org/apache/maven/plugins/enforcer/NotFixableDefinition.java:34: warning: no comment
public void setBecause(String because) {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule/src/main/java/org/apache/maven/plugins/enforcer/NotFixableDefinition.java:23: warning: no comment
public void setIn(String in) {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule/src/main/java/org/apache/maven/plugins/enforcer/RestrictImports.java:39: warning: use of default constructor, which does not provide a comment
public class RestrictImports implements EnforcerRule, EnforcerRule2, BannedImportGroupDefinitionInterface {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule/src/main/java/org/apache/maven/plugins/enforcer/RestrictImports.java:280: warning: no comment
public final void setExcludedSourceRoot(File excludedSourceRoot) {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule/src/main/java/org/apache/maven/plugins/enforcer/RestrictImports.java:289: warning: no comment
public final void setExcludedSourceRoots(List<File> excludedSourceRoots) {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule/src/main/java/org/apache/maven/plugins/enforcer/RestrictImports.java:313: warning: no comment
public void setFailBuild(boolean failBuild) {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule/src/main/java/org/apache/maven/plugins/enforcer/RestrictImports.java:266: warning: no comment
public void setGroups(List<BannedImportGroupDefinition> groups) {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule/src/main/java/org/apache/maven/plugins/enforcer/RestrictImports.java:272: warning: no comment
public final void setIncludeCompileCode(boolean includeCompileCode) {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule/src/main/java/org/apache/maven/plugins/enforcer/RestrictImports.java:276: warning: no comment
public final void setIncludeTestCode(boolean includeTestCode) {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule/src/main/java/org/apache/maven/plugins/enforcer/RestrictImports.java:296: warning: no comment
public void setNotFixable(NotFixableDefinition notFixable) {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule/src/main/java/org/apache/maven/plugins/enforcer/RestrictImports.java:304: warning: no comment
public final void setNotFixables(List<NotFixableDefinition> notFixables) {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule/src/main/java/org/apache/maven/plugins/enforcer/RestrictImports.java:343: warning: no comment
public void setParallel(boolean parallel) {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule/src/main/java/org/apache/maven/plugins/enforcer/RestrictImports.java:208: warning: no comment
public void setParseFullCompilationUnit(boolean parseFullCompilationUnit) {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule/src/main/java/org/apache/maven/plugins/enforcer/RestrictImports.java:328: warning: no comment
public void setSkip(boolean skip) {
^
23 warnings
> Task :restrict-imports-enforcer-rule-core:javadoc
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/analyze/AnalyzeResult.java:124: warning: no main description
* @return Whether warnings were detected while analysing compile or code.
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/analyze/AnalyzeResult.java:134: warning: no main description
* @return Whether warnings were detected while analysing compile code.
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/analyze/AnalyzeResult.java:142: warning: no main description
* @return Whether warnings were detected while analysing test code.
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/analyze/AnalyzeResult.java:192: warning: no comment
public static class Builder {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/analyze/AnalyzeResult.java:32: warning: no comment
public static Builder builder() {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/analyze/AnalyzeResult.java:234: warning: no comment
public AnalyzeResult build() {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/analyze/AnalyzeResult.java:229: warning: no comment
public Builder withAnalysedFileCount(int analysedFiles) {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/analyze/AnalyzeResult.java:224: warning: no comment
public Builder withDuration(long duration) {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/analyze/AnalyzeResult.java:207: warning: no comment
public Builder withMatches(MatchedFile.Builder... matches) {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/analyze/AnalyzeResult.java:202: warning: no comment
public Builder withMatches(Collection<MatchedFile> matches) {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/analyze/AnalyzeResult.java:218: warning: no comment
public Builder withMatchesInTestCode(MatchedFile.Builder... matches) {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/analyze/AnalyzeResult.java:213: warning: no comment
public Builder withMatchesInTestCode(Collection<MatchedFile> matches) {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/analyze/AnalyzerSettings.java:107: warning: no comment
public static final class Builder {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/analyze/AnalyzerSettings.java:38: warning: no comment
public static Builder builder() {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/analyze/AnalyzerSettings.java:42: warning: no comment
public Charset getSourceFileCharset() {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/analyze/AnalyzerSettings.java:46: warning: no comment
public Collection<Path> getSrcDirectories() {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/analyze/AnalyzerSettings.java:50: warning: no comment
public Collection<Path> getTestDirectories() {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/analyze/AnalyzerSettings.java:54: warning: no comment
public boolean isParallel() {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/analyze/AnalyzerSettings.java:154: warning: no comment
public AnalyzerSettings build() {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/analyze/AnalyzerSettings.java:144: warning: no comment
public Builder enableParallelAnalysis(boolean parallel) {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/analyze/AnalyzerSettings.java:149: warning: no comment
public Builder withParseFullCompilationUnit(boolean parseFullCompilationUnit) {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/analyze/AnalyzerSettings.java:139: warning: no comment
public Builder withSourceFileCharset(Charset sourceFileCharset) {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/analyze/AnalyzerSettings.java:124: warning: no comment
public Builder withSrcDirectories(Path... srcDirectories) {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/analyze/AnalyzerSettings.java:119: warning: no comment
public Builder withSrcDirectories(Collection<Path> srcDirectories) {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/analyze/AnalyzerSettings.java:134: warning: no comment
public Builder withTestDirectories(Path... testDirectories) {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/analyze/AnalyzerSettings.java:129: warning: no comment
public Builder withTestDirectories(Collection<Path> testDirectories) {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/parser/Annotation.java:25: warning: no comment
public String getMessage() {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/parser/Annotation.java:21: warning: no comment
public static Annotation withMessage(String message) {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/analyze/BannedImportGroup.java:129: warning: no comment
public static class Builder {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/analyze/BannedImportGroup.java:49: warning: no comment
public boolean basePackageMatches(String fqcn) {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/analyze/BannedImportGroup.java:41: warning: no comment
public static Builder builder() {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/analyze/BannedImportGroup.java:83: warning: no comment
public boolean exclusionMatches(String fqcn) {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/analyze/BannedImportGroup.java:65: warning: no comment
public List<PackagePattern> getAllowedImports() {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/analyze/BannedImportGroup.java:53: warning: no comment
public List<PackagePattern> getBannedImports() {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/analyze/BannedImportGroup.java:45: warning: no comment
public List<PackagePattern> getBasePackages() {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/analyze/BannedImportGroup.java:79: warning: no comment
public List<PackagePattern> getExclusions() {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/analyze/BannedImportGroup.java:93: warning: no comment
public Optional<String> getReason() {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/analyze/BannedImportGroup.java:57: warning: no comment
public Optional<PackagePattern> ifImportIsBanned(String fqcn, String importName) {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/analyze/BannedImportGroup.java:166: warning: no comment
public Builder withAllowedImports(String... allowedImports) {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/analyze/BannedImportGroup.java:161: warning: no comment
public Builder withAllowedImports(List<PackagePattern> allowedImports) {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/analyze/BannedImportGroup.java:156: warning: no comment
public Builder withBannedImports(String... bannedImports) {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/analyze/BannedImportGroup.java:151: warning: no comment
public Builder withBannedImports(List<PackagePattern> bannedImports) {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/analyze/BannedImportGroup.java:147: warning: no comment
public Builder withBasePackages(String... basePackages) {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/analyze/BannedImportGroup.java:142: warning: no comment
public Builder withBasePackages(List<PackagePattern> basePackages) {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/analyze/BannedImportGroup.java:176: warning: no comment
public Builder withExclusions(String... exclusions) {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/analyze/BannedImportGroup.java:171: warning: no comment
public Builder withExclusions(List<PackagePattern> exclusions) {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/analyze/BannedImportGroup.java:186: warning: no comment
public Builder withNotFixables(NotFixable... notFixables) {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/analyze/BannedImportGroup.java:190: warning: no comment
public Builder withNotFixables(List<NotFixable> notFixables) {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/analyze/BannedImportGroup.java:181: warning: no comment
public Builder withReason(String reason) {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/analyze/BannedImportGroups.java:95: warning: no comment
public static final class Builder {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/analyze/BannedImportGroups.java:26: warning: no comment
public static Builder builder() {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/analyze/BannedImportGroups.java:95: warning: use of default constructor, which does not provide a comment
public static final class Builder {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/analyze/BannedImportGroups.java:113: warning: no comment
public BannedImportGroups build() {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/analyze/BannedImportGroups.java:103: warning: no comment
public Builder withGroup(BannedImportGroup group) {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/analyze/BannedImportGroups.java:108: warning: no comment
public Builder withGroup(BannedImportGroup.Builder groupBuilder) {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/analyze/BannedImportGroups.java:98: warning: no comment
public Builder withGroups(Collection<BannedImportGroup> groups) {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/parser/ImportStatement.java:19: warning: no comment
public ImportStatement(String importName, int line, ImportType importType) {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/parser/ImportStatement.java:58: warning: no comment
public String getFqcn() {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/parser/lang/JavaLanguageSupport.java:18: warning: no comment
public class JavaLanguageSupport implements LanguageSupport {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/parser/lang/JavaLanguageSupport.java:18: warning: use of default constructor, which does not provide a comment
public class JavaLanguageSupport implements LanguageSupport {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/parser/lang/KotlinGroovyLanguageSupport.java:15: warning: no comment
public class KotlinGroovyLanguageSupport implements LanguageSupport {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/parser/lang/KotlinGroovyLanguageSupport.java:15: warning: use of default constructor, which does not provide a comment
public class KotlinGroovyLanguageSupport implements LanguageSupport {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/analyze/MatchedFile.java:93: warning: no main description
* @return
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/analyze/MatchedFile.java:93: warning: no description for @return
* @return
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/analyze/MatchedFile.java:133: warning: no comment
public static class Builder {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/analyze/MatchedFile.java:103: warning: no comment
public boolean hasBannedImports() {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/analyze/MatchedFile.java:99: warning: no comment
public boolean hasWarning() {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/analyze/MatchedFile.java:183: warning: no comment
public Builder withFailedToParse(boolean failedToParse) {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/analyze/MatchedFile.java:174: warning: no comment
public Builder withWarnings(Warning... warnings) {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/analyze/MatchedFile.java:178: warning: no comment
public Builder withWarnings(List<Warning> warnings) {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/analyze/MatchedImport.java:43: warning: no comment
public PackagePattern getMatchedBy() {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/analyze/MatchedImport.java:39: warning: no comment
public String getMatchedString() {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/formatting/MatchFormatter.java:17: warning: no comment
String formatMatches(AnalyzeResult analyzeResult);
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/formatting/MatchFormatter.java:13: warning: no comment
static MatchFormatter getInstance() {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/analyze/NotFixable.java:7: warning: no comment
public final class NotFixable {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/analyze/NotFixable.java:29: warning: no comment
public void checkConsistency() {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/analyze/NotFixable.java:21: warning: no comment
public boolean matchesFqcn(String fqcn) {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/analyze/NotFixable.java:25: warning: no comment
public boolean matchesImport(String importName) {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/analyze/NotFixable.java:17: warning: no comment
public static NotFixable of(PackagePattern in, List<PackagePattern> imports) {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/parser/ParsedFile.java:96: warning: no comment
public String getFqcn() {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/parser/ParsedFile.java:92: warning: no comment
public Collection<ImportStatement> getImports() {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/parser/ParsedFile.java:88: warning: no comment
public Path getPath() {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/util/Preconditions.java:3: warning: no comment
public final class Preconditions {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/util/Preconditions.java:5: warning: no comment
public static void checkArgument(boolean condition) {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/util/Preconditions.java:9: warning: no comment
public static void checkArgument(boolean condition, String message, Object... args) {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/util/Preconditions.java:15: warning: no comment
public static void checkState(boolean condition) {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/util/Preconditions.java:19: warning: no comment
public static void checkState(boolean condition, String message, Object... args) {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/util/StringRepresentation.java:7: warning: no comment
public final class StringRepresentation {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/util/StringRepresentation.java:24: warning: no comment
public StringRepresentation add(String attribute, Object value) {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/util/StringRepresentation.java:20: warning: no comment
public static StringRepresentation ofInstance(Object instance) {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/util/StringRepresentation.java:16: warning: no comment
public static StringRepresentation ofType(Class<?> type) {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/analyze/Warning.java:28: warning: no comment
public String getMessage() {
^
/var/jenkins_home/workspace/ict-imports-enforcer-rule_PR-134/restrict-imports-enforcer-rule-core/src/main/java/de/skuzzle/enforcer/restrictimports/analyze/Warning.java:24: warning: no comment
public static Warning withMessage(String message) {
^
93 warnings
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':restrict-imports-gradle-plugin:compileFunctionalTestGroovy'.
> Could not resolve all files for configuration ':restrict-imports-gradle-plugin:functionalTestCompileClasspath'.
> Could not resolve org.codehaus.groovy:groovy:3.0.17.
Required by:
project :restrict-imports-gradle-plugin > org.codehaus.groovy:groovy-bom:3.0.17
project :restrict-imports-gradle-plugin > org.codehaus.groovy:groovy-nio:3.0.17
> Module 'org.codehaus.groovy:groovy' has been rejected:
Cannot select module with conflict on capability 'org.codehaus.groovy:groovy:3.0.17' also provided by [org.apache.groovy:groovy:4.0.4(groovyApiElements)]
> Could not resolve org.apache.groovy:groovy:4.0.4.
Required by:
project :restrict-imports-gradle-plugin > org.spockframework:spock-core:2.3-groovy-4.0
project :restrict-imports-gradle-plugin > org.spockframework:spock-core:2.3-groovy-4.0 > org.apache.groovy:groovy:4.0.4 > org.apache.groovy:groovy-bom:4.0.4
> Module 'org.apache.groovy:groovy' has been rejected:
Cannot select module with conflict on capability 'org.codehaus.groovy:groovy:4.0.4' also provided by [org.codehaus.groovy:groovy:3.0.17(compile)]
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Get more help at https://help.gradle.org.
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
For more on this, please refer to https://docs.gradle.org/8.5/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
BUILD FAILED in 43s
87 actionable tasks: 28 executed, 46 from cache, 13 up-to-date
Publishing build scan...
https://gradle.com/s/h4pzj2j5g25xg
Details
- Declarative: Checkout SCM (5 sec)
- Load Gradle Cache from host (1 min 9 sec)
- Quickcheck (48 sec)
Error: script returned exit code 1 - Unit-tests (1.6 sec)
- Func-tests (1.4 sec)
- readme (1.3 sec)
- Declarative: Post Actions (2.9 sec)
Loading