[jira] [Commented] (OFBIZ-10922) Update build.gradle to the latest dependencies

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-10922) Update build.gradle to the latest dependencies

Nicolas Malin (Jira)

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

Jacques Le Roux commented on OFBIZ-10922:
-----------------------------------------

h2. I did not update:

sshd-core from 1.7.0 to 2.2.0 because of
 > Task :compileJava
 C:\projectsASF\ofbiz\applications\content\src\main\java\org\apache\ofbiz\content\ftp\SshFtpClient.java:31: error: package org.apache.sshd.client.subsystem.sftp does not exist
 import org.apache.sshd.client.subsystem.sftp.SftpClient;
 C:\projectsASF\ofbiz\applications\content\src\main\java\org\apache\ofbiz\content\ftp\SshFtpClient.java:41: error: cannot find symbol
 private SftpClient sftp;

Derby from 10.14.2.0 to 10.15.1.3 because of
 2019-04-15 18:43:52,459 |main |ContainerLoader |I| Started container birt-container
 2019-04-15 18:43:52,664 |OFBiz-JobPoller |DBCPConnectionFactory |E| null
 java.lang.ClassNotFoundException: org.apache.derby.jdbc.EmbeddedDriver
 at java.net.URLClassLoader.findClass(URLClassLoader.java:382) ~[?:1.8.0_202]

groovy-all:2.4.16 to groovy-all:3.0.0-alpha-4 because it's an alpha
 junit:4.12 to junit:4.13-beta-2 because it's a beta
h2. I did update

org.owasp.dependencycheck 3.0.2 to 5.0.0-M2 because we don't use it at runtime and the new versions is doing more things. For instane it told me:
 > Configure project :
 You are using one or more deprecated Asciidoctor task or plugins. These will be removed in a future release. To help you migrate we have compiled some tips for you based upon your current usage:
 # - 'org.asciidoctor.convert' is deprecated. When you have time please switch over to 'org.asciidoctor.jvm.convert'.
 # - jcenter() is no longer added by default. If you relied on this behaviour in the past, please add jcenter() to the repositories block.
 # - You have used 'backends'. When upgrading you will need to: Use outputOptions.setbackends

1. But I did not switch over to 'org.asciidoctor.jvm.convert'; because of
 FAILURE: Build failed with an exception.
 * Where:
 Build file 'C:\projectsASF\ofbiz\build.gradle' line: 233
 * What went wrong:
 A problem occurred evaluating root project 'ofbiz'.
 > Could not find method asciidoctor() for arguments [org.asciidoctor:asciidoctorj-pdf:1.5.0-alpha.16] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.

2. We have jcenter() into the repositories block.
3. I did not improve to Use outputOptions.setbackends

I did not update libs in plugins, because it's much work to check and I hope the plugins maintainers will do it. For that they can check [^report.txt]

> Update build.gradle to the latest dependencies
> ----------------------------------------------
>
>                 Key: OFBIZ-10922
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-10922
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: Gradle
>    Affects Versions: Trunk
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>            Priority: Minor
>             Fix For: Upcoming Branch
>
>         Attachments: OFBIZ-10922.patch, OFBIZ-10922.patch, OFBIZ-10922.patch, report.txt
>
>




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