Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-10213

Update build.gradle to the latest dependencies



    • Type: Task
    • Status: In Progress
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: Trunk
    • Fix Version/s: None
    • Component/s: Gradle
    • Labels:


      This is an umbrella task for its action subtasks, please do not close, thanks.

      We want to check from time to time if we need to update the dependencies.

      It's easily done with the gradle-versions-plugin which analyzes the dependencies and checks if there are newer versions available.

      Running the check with

      gradlew -PenableDependencyUpdates dependencyUpdates -Drevision=release

      We get a list of dependencies to update.

      We have problems with a number of libs. We keep comments in the main build.gradle for special updating issues. For ease of use, you may also refer and update the of libs that can't be updated in their last version. You may try newer version thatn below but most of the time it does not work either.

      at.bxm.svntools:at.bxm.svntools.gradle.plugin [2.2.1 -> 3.0]
      com.lowagie:itext [2.1.7 -> 4.2.2]
      org.apache.derby:derby [ ->]
      org.apache.sshd:sshd-core [1.7.0 -> 2.4.0]
      org.apache.tomcat:tomcat-catalina-ha [9.0.34 -> 10.0.0-M3]
      org.apache.tomcat:tomcat-jasper [9.0.34 -> 10.0.0-M3]
      org.apache.tomcat.embed:tomcat-embed-websocket [9.0.34 -> 10.0.0-M3]
      org.apache.xmlgraphics:fop [2.3 -> 2.4]
      org.codehaus.groovy:groovy-all [2.5.8 -> 3.0.3]
      org.jasig.cas:cas-server-core [3.3.5 -> 4.2.7]
      org.apache.shiro:shiro-core [1.4.1 -> 1.5.3]

      I tried to update Solr and Lucene to 8.7.0 but crossed issues (compilation and Eclipse classpath)

      Same for Jersey with 3.0.0 version

      Also be sure to check the main build.gradle. Some Java classes need internal versions update too:


      Also Solr et Lucene should use the same version, luceneMatchVersion should be updated in solrconfig.xml

      Beware that this may not be as up to date as in the main build.gradle file.


        1. OFBIZ-10213.patch
          1 kB
          Jacques Le Roux
        2. OFBIZ-10213.patch
          1 kB
          Jacques Le Roux
        3. OFBIZ-10213.patch
          1.0 kB
          Jacques Le Roux

          Issue Links



              • Assignee:
                jleroux Jacques Le Roux
                jleroux Jacques Le Roux
              • Votes:
                0 Vote for this issue
                1 Start watching this issue


                • Created: