[MPLUGIN-530] Deprecate requirements in plugin descriptor 1.1.0 (#1638)

The replacement for v4 plugins should be Maven DI annotations while for
v3 plugins it is JSR 330 annotations
This commit is contained in:
Konrad Windszus 2024-08-15 14:07:47 +02:00 committed by GitHub
parent 09f3b9f500
commit 1ee18d36ce
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 4 deletions

View File

@ -409,7 +409,7 @@ under the License.
<field xdoc.separator="blank">
<name>requirements</name>
<version>1.0.0/1.1.0</version>
<description></description>
<description>Use Maven 4 Dependency Injection (for v4 plugins) or JSR 330 annotations (for v3 plugins) to inject dependencies instead.</description>
<association>
<type>Requirement</type>
<multiplicity>*</multiplicity>
@ -535,20 +535,17 @@ under the License.
<field>
<name>role</name>
<required>true</required>
<version>1.0.0+</version>
<type>String</type>
<description></description>
</field>
<field xml.tagName="role-hint">
<name>roleHint</name>
<version>1.0.0+</version>
<type>String</type>
<description></description>
</field>
<field xml.tagName="field-name">
<name>fieldName</name>
<required>true</required>
<version>1.0.0+</version>
<type>String</type>
<description>The field name which has this requirement.</description>
</field>