[ 
https://issues.apache.org/jira/browse/OFBIZ-12743?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17676255#comment-17676255
 ] 

ASF subversion and git services commented on OFBIZ-12743:
---------------------------------------------------------

Commit 0441c0b50c66aec1bfe22b60e3717f177094fbc6 in ofbiz-framework's branch 
refs/heads/release22.01 from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=0441c0b50c ]

Fixed: Fix generateReadmeFiles Gradle Asciidoc task (OFBIZ-12743)

Please refer to
https://docs.gradle.org/7.6/userguide/validation_problems.html#incompatible_annotations
for more details

This fixes it by upgrading Asciidoc and related to what is used in trunk

With few other unrelated changes:
Upgrade of plugins
Link for Javadoc using JDK 17
Java sourceCompatibility & targetCompatibility using JDK 17


> Fix generateReadmeFiles Gradle Asciidoc task
> --------------------------------------------
>
>                 Key: OFBIZ-12743
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-12743
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: Gradle
>    Affects Versions: 22.01.01
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>            Priority: Major
>             Fix For: 22.01.01
>
>
> Only 22.01 is concerned, see this BuildBot log:
> {noformat}
> ./gradlew --no-daemon --stacktrace generateReadmeFiles
>  in dir /home/buildslave/slave/ofbizBranch22FrameworkPlugins/build (timeout 
> 1200 secs)
>  watching logfiles {}
>  argv: [b'./gradlew', b'--no-daemon', b'--stacktrace', b'generateReadmeFiles']
>  environment:
>   HOME=/home/buildslave
>   INVOCATION_ID=e0d0d71a93a74a2594e6a2426cb5fc17
>   JAVA_HOME=/home/buildslave/slave/tools/java/latest17
>   JOURNAL_STREAM=9:28595
>   LANG=en_US.UTF-8
>   LOGNAME=buildslave
>   
> PATH=/home/buildslave/.local/share/virtualenvs/slave-g9q_AAVL/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
>   PIPENV_ACTIVE=1
>   PIP_DISABLE_PIP_VERSION_CHECK=1
>   PIP_PYTHON_PATH=/usr/bin/python3
>   PWD=/home/buildslave/slave/ofbizBranch22FrameworkPlugins/build
>   PYTHONDONTWRITEBYTECODE=1
>   SHELL=/bin/bash
>   USER=buildslave
>   VIRTUAL_ENV=/home/buildslave/.local/share/virtualenvs/slave-g9q_AAVL
>  using PTY: False
> To honour the JVM settings for this build a single-use Daemon process will be 
> forked. See 
> https://docs.gradle.org/7.6/userguide/gradle_daemon.html#sec:disabling_the_daemon.
> Daemon will be stopped at the end of the build 
> > Configure project :
> You are using one or more deprecated Asciidoctor Gradle plugin features. To 
> help with migration run with --warning-mode=all.
> FAILURE: Build failed with an exception.
> * What went wrong:
> A problem was found with the configuration of task ':generateReadmeFiles' 
> (type 'AsciidoctorTask').
>   - In plugin 'org.asciidoctor.convert' type 
> 'org.asciidoctor.gradle.AsciidoctorTask' property 'logDocuments' is annotated 
> with @Optional but that is not allowed for 'Console' properties.
>     
>     Reason: This modifier is used in conjunction with a property of type 
> 'Console' but this doesn't have semantics.
>     
>     Possible solution: Remove the '@Optional' annotation.
>     
>     Please refer to 
> https://docs.gradle.org/7.6/userguide/validation_problems.html#incompatible_annotations
>  for more details about this problem.
> {noformat}



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

Reply via email to