Skip to content

Dependency update: Apache Common Lang v2 -> v3 #6070

@poikilotherm

Description

@poikilotherm

This is related to my other dependency housekeeping things. See #5288 and #5360.


While programming unit tests for #6000, I wanted to use org.apache.commons.lang3.RandomStringUtils. In Maven POM I saw that Dataverse is still on org.apache.commons.lang v2.6, which is dead since 2011, when 3.0 was released.
See also: http://www.h-online.com/open/news/item/Apache-Commons-Lang-3-0-makes-a-break-with-the-past-1283761.html

Dataverse uses a lot of Commons Lang stuff. It should be refactored to use v3 of the lib, which gets included anyway, as it is a dep of com.lyncode:xoai-common. (see mvn dependency:tree, grepping for commons-lang). Nothing else is relying on the v2 lib.

Notes about upgrading from upstream project: https://commons.apache.org/proper/commons-lang/article3_0.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions