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

Mathieu Lirzin commented on OFBIZ-10700:
----------------------------------------

Hello [~jacques.le.roux],

I tried the version proposed by [~shi.jinghai] which fixes the Gradle DSL bug I 
introduced. However I now get the following error when running {{./gradlew 
-PenableOwasp dependencyCheckAnalyze}}:

{code}
> Task :dependencyCheckAnalyze
Verifying dependencies for project ofbiz
Checking for updates and analyzing vulnerabilities for dependencies

IO Exception: Connection reset
IO Exception: Connection reset
IO Exception: Connection reset
IO Exception: Connection reset
IO Exception: Connection reset

> Task :dependencyCheckAnalyze FAILED
Unable to download the NVD CVE data; the results may not include the most 
recent CPE/CVEs from the NVD.
Unable to update Cached Web DataSource, using local data instead. Results may 
not include recent vulnerabilities.
No documents exist

Unable to continue dependency-check analysis.
IO Exception: Connection reset

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':dependencyCheckAnalyze'.
> Analysis failed.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug 
option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 8s
1 actionable task: 1 executed
{code}

Do you get same results?

> Use the Gradle Plugin DSL
> -------------------------
>
>                 Key: OFBIZ-10700
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-10700
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: Trunk
>            Reporter: Mathieu Lirzin
>            Assignee: Mathieu Lirzin
>            Priority: Minor
>             Fix For: Upcoming Branch
>
>         Attachments: OFBIZ-10700_Improved-Use-the-Gradle-Plugin-DSL.patch
>
>
> Since Gradle 2.1 it is recommended to use the {{plugins {}}} block for
> binary plugins instead of the “traditional” {{apply()}} method.  See 
> [here|https://docs.gradle.org/current/userguide/plugins.html] for more 
> details.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to