apache / apache/lucene

add validate-maven task to check maven dependencies [LUCENE-4354]

Open
#5,420 49 comments 0 reactions 0 assignees View on GitHub
legacy-jira-priority:Major type:task
Dominant language
Java
Stars
3.6k
Forks
1.4k
Avg merge
2d 11h
Merged PRs (30d)
88

Description

We had a situation where the maven artifacts depended on the wrong version of tika: we should test that the maven dependencies are correct.

An easy way to do this is to force it to download all of its dependencies, and then run our existing license checks over that.

This currently fails: maven is bringing in some extra 3rd party libraries.

---
Migrated from [LUCENE-4354](https://issues.apache.org/jira/browse/LUCENE-4354) by Robert Muir (@rmuir), updated Sep 06 2012
Attachments: [LUCENE-4354_hacked_lucene_only.patch](https://apache.github.io/lucene-jira-archive/attachments/LUCENE-4354/LUCENE-4354_hacked_lucene_only.patch), [LUCENE-4354.patch](https://apache.github.io/lucene-jira-archive/attachments/LUCENE-4354/LUCENE-4354.patch) (versions: 11), [LUCENE-4354-dep-fix.patch](https://apache.github.io/lucene-jira-archive/attachments/LUCENE-4354/LUCENE-4354-dep-fix.patch)

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the existing license checks and the attached LUCENE-4354 patches to locate the Maven build entry points. The task is done when Maven dependencies are fully downloaded, the existing license checks run over them, and incorrect or extra third-party libraries are identified or prevented.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.