Jacques Le Roux created OFBIZ-12743:
---------------------------------------

             Summary: Fix generateReadmeFiles
                 Key: OFBIZ-12743
                 URL: https://issues.apache.org/jira/browse/OFBIZ-12743
             Project: OFBiz
          Issue Type: Bug
          Components: Gradle
    Affects Versions: 22.01.01
            Reporter: Jacques Le Roux
            Assignee: Jacques Le Roux
             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