apache / apache/maven-plugin-tools

[MPLUGIN-532] Fail the build in case JSR330 annotations are used in v4 plugins

Open
#841 1 comment 0 reactions 0 assignees View on GitHub
enhancement priority:major
Dominant language
Java
Stars
64
Forks
71
Avg merge
12h 24m
Merged PRs (30d)
32

Description

**[Konrad Windszus](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=kwin)** opened **[MPLUGIN-532](https://issues.apache.org/jira/browse/MPLUGIN-532?redirect=false)** and commented

JSR 330 annotations are no longer supported for Maven 4 plugins. Instead those only support the Maven 4 DI annotations from https://github.com/apache/maven/tree/master/api/maven-api-di/src/main/java/org/apache/maven/api/di.

Using JSR 330 annotations in Maven 4 plugins should fail the build.

---

**Issue Links:**
- [MPLUGIN-531](https://issues.apache.org/jira/browse/MPLUGIN-531) Fail the build if mixing v3 and v4 annotations and enforce v4 annotations when requiring Maven 4 or above

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.