[ 
https://issues.apache.org/jira/browse/KAFKA-19792?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dejan Stojadinović updated KAFKA-19792:
---------------------------------------
    Description: 
*How to reproduce:* 
 * checkout trunk (Swagger version: 2.2.25)
 * change `swaggerVersion` in `gradle.properties` to some more recent version 
(something in between of 2.2.27 and 2.2.39)
 * execute *./gradlew clean releaseTarGz*
 * build fails with an error _*Cannot set the value of task 
':connect:runtime:genConnectOpenAPIDocs' property 'sortOutput' of type 
java.lang.Boolean using an instance of type java.lang.String.*_
 * see details below
 * (!) note: build works for swagger version 2.2.26 (although reporter had some 
issues once or twice with that particular version, so please keep that on your 
mind)

{code:java}
dejan@dejan-HP-ProBook-450-G7:~/kafka$ ./gradlew clean releaseTarGz 

> Configure project :
Starting build with version 4.2.0-SNAPSHOT (commit id 34581dff) using Gradle 
9.1.0, Java 17 and Scala 2.13.17
Build properties: ignoreFailures=false, maxParallelForks=8, maxScalacThreads=8, 
maxTestRetries=0

[Incubating] Problems report is available at: 
file:///home/dejan/kafka/build/reports/problems/problems-report.html

FAILURE: Build failed with an exception.

* Where:
Build file '/home/dejan/kafka/build.gradle' line: 3728

* What went wrong:
A problem occurred evaluating root project 'kafka'.
> Cannot set the value of task ':connect:runtime:genConnectOpenAPIDocs' 
> property 'sortOutput' of type java.lang.Boolean using an instance of type 
> java.lang.String.

* 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 10.

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/9.1.0/userguide/command_line_interface.html#sec:command_line_warnings
 in the Gradle documentation.

BUILD FAILED in 5s
dejan@dejan-HP-ProBook-450-G7:~/kafka$
{code}

  was:
*How to reproduce:* 
 * checkout trunk (Swagger version: 2.2.25)
 * change `swaggerVersion` in `gradle.properties` to some more recent version 
(something in between of 2.2.27 and 2.2.39)
 * execute *./gradlew clean releaseTarGz*
 * build fails with an error _*Cannot set the value of task 
':connect:runtime:genConnectOpenAPIDocs' property 'sortOutput' of type 
java.lang.Boolean using an instance of type java.lang.String.*_
 * see details below
 * (!) note: build works for swagger version 2.2.26 (although reporter had some 
issues once or twicewith that version and Gradle task mentioned above, so 
please keep that on your mind)

{code:java}
dejan@dejan-HP-ProBook-450-G7:~/kafka$ ./gradlew clean releaseTarGz 

> Configure project :
Starting build with version 4.2.0-SNAPSHOT (commit id 34581dff) using Gradle 
9.1.0, Java 17 and Scala 2.13.17
Build properties: ignoreFailures=false, maxParallelForks=8, maxScalacThreads=8, 
maxTestRetries=0

[Incubating] Problems report is available at: 
file:///home/dejan/kafka/build/reports/problems/problems-report.html

FAILURE: Build failed with an exception.

* Where:
Build file '/home/dejan/kafka/build.gradle' line: 3728

* What went wrong:
A problem occurred evaluating root project 'kafka'.
> Cannot set the value of task ':connect:runtime:genConnectOpenAPIDocs' 
> property 'sortOutput' of type java.lang.Boolean using an instance of type 
> java.lang.String.

* 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 10.

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/9.1.0/userguide/command_line_interface.html#sec:command_line_warnings
 in the Gradle documentation.

BUILD FAILED in 5s
dejan@dejan-HP-ProBook-450-G7:~/kafka$
{code}


> Gradle build fails after Swagger patch version update
> -----------------------------------------------------
>
>                 Key: KAFKA-19792
>                 URL: https://issues.apache.org/jira/browse/KAFKA-19792
>             Project: Kafka
>          Issue Type: Task
>          Components: build
>            Reporter: Dejan Stojadinović
>            Priority: Minor
>              Labels: build-failure, gradle, swagger
>
> *How to reproduce:* 
>  * checkout trunk (Swagger version: 2.2.25)
>  * change `swaggerVersion` in `gradle.properties` to some more recent version 
> (something in between of 2.2.27 and 2.2.39)
>  * execute *./gradlew clean releaseTarGz*
>  * build fails with an error _*Cannot set the value of task 
> ':connect:runtime:genConnectOpenAPIDocs' property 'sortOutput' of type 
> java.lang.Boolean using an instance of type java.lang.String.*_
>  * see details below
>  * (!) note: build works for swagger version 2.2.26 (although reporter had 
> some issues once or twice with that particular version, so please keep that 
> on your mind)
> {code:java}
> dejan@dejan-HP-ProBook-450-G7:~/kafka$ ./gradlew clean releaseTarGz 
> > Configure project :
> Starting build with version 4.2.0-SNAPSHOT (commit id 34581dff) using Gradle 
> 9.1.0, Java 17 and Scala 2.13.17
> Build properties: ignoreFailures=false, maxParallelForks=8, 
> maxScalacThreads=8, maxTestRetries=0
> [Incubating] Problems report is available at: 
> file:///home/dejan/kafka/build/reports/problems/problems-report.html
> FAILURE: Build failed with an exception.
> * Where:
> Build file '/home/dejan/kafka/build.gradle' line: 3728
> * What went wrong:
> A problem occurred evaluating root project 'kafka'.
> > Cannot set the value of task ':connect:runtime:genConnectOpenAPIDocs' 
> > property 'sortOutput' of type java.lang.Boolean using an instance of type 
> > java.lang.String.
> * 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 10.
> 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/9.1.0/userguide/command_line_interface.html#sec:command_line_warnings
>  in the Gradle documentation.
> BUILD FAILED in 5s
> dejan@dejan-HP-ProBook-450-G7:~/kafka$
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to