apache / apache/shenyu

[Task] No maven-enforcer-plugin anywhere

Open
#6,602 1 comment 0 reactions 0 assignees View on GitHub
priority: medium type: build
Dominant language
Java
Stars
8.8k
Forks
3.1k
Avg merge
7d 1h
Merged PRs (30d)
85

Description

## Description
No `requireMavenVersion`, `requireJavaVersion`, `dependencyConvergence`, `requireUpperBoundDeps`, or `bannedDependencies` (repo-wide grep: 0 matches).

## Location
```
repo-wide grep (0 matches)
```

## Impact
No build-time guardrail against version/convergence drift. This is why the version-drift and compiler-source findings went undetected.

## Suggested fix
Add enforcer to root `` enforcing Maven 3.6.3+, JDK 17, `dependencyConvergence`, `requireUpperBoundDeps`.

## Related existing issue(s)
None — #6372 is about dependency policy/process, not the missing enforcer mechanism.

_Identified during the 2026-08-02 audit; full list in [`docs/issue-candidates-2026-08-02.md`](docs/issue-candidates-2026-08-02.md)._

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the repository root build configuration and review the existing section; the issue also links docs/issue-candidates-2026-08-02.md for audit context. Add the Maven Enforcer rules listed in the description, then run the project’s Maven build to verify the guardrails work without introducing dependency or version failures.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.