Skip to content

ORC-1955: Make commons-lang3 as a test dependency explicitly - #2327

Closed
dongjoon-hyun wants to merge 1 commit into
apache:mainfrom
dongjoon-hyun:ORC-1955
Closed

dongjoon-hyun wants to merge 1 commit into
apache:mainfrom
dongjoon-hyun:ORC-1955

Conversation

@dongjoon-hyun

@dongjoon-hyun dongjoon-hyun commented Jul 14, 2025 •

Copy link
Copy Markdown
Member

What changes were proposed in this pull request?

This PR aims to make commons-lang3 test dependency

Why are the changes needed?

Since ORC-1791, we remove commons-lang3 dependency requirement. This is only used during testing or bench module.

How was this patch tested?

Pass the CIs.

Was this patch authored or co-authored using generative AI tooling?

No.

@dongjoon-hyun dongjoon-hyun changed the title ORC-1955: Make commons-lang3 test dependency explicitly ORC-1955: Make commons-lang3 as a test dependency explicitly Jul 14, 2025
Comment thread java/pom.xml
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.18.0</version>
<scope>test</scope>

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

orc-core uses this in testing.

java/core/src/test/org/apache/orc/TestColumnStatistics.java:import org.apache.commons.lang3.RandomStringUtils;
java/core/src/test/org/apache/orc/TestColumnStatistics.java:import org.apache.commons.lang3.StringEscapeUtils;
java/core/src/test/org/apache/orc/TestUnicode.java:import org.apache.commons.lang3.StringUtils;

@dongjoon-hyun dongjoon-hyun added this to the 2.2.0 milestone Jul 14, 2025
dongjoon-hyun added a commit that referenced this pull request Jul 14, 2025
### What changes were proposed in this pull request?

This PR aims to make `commons-lang3` test dependency

### Why are the changes needed?

Since ORC-1791, we remove `commons-lang3` dependency requirement. This is only used during testing or `bench` module.
- #2053

### How was this patch tested?

Pass the CIs.

### Was this patch authored or co-authored using generative AI tooling?

No.

Closes #2327 from dongjoon-hyun/ORC-1955.

Authored-by: Dongjoon Hyun <dongjoon@apache.org>
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
(cherry picked from commit 9028888)
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
@dongjoon-hyun

Copy link
Copy Markdown
Member Author

Merged to main/2.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant