Skip to content

Commit 1ee18d3

Browse files
authored
[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
1 parent 09f3b9f commit 1ee18d3

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

api/maven-api-plugin/src/main/mdo/plugin.mdo

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ under the License.
409409
<field xdoc.separator="blank">
410410
<name>requirements</name>
411411
<version>1.0.0/1.1.0</version>
412-
<description></description>
412+
<description>Use Maven 4 Dependency Injection (for v4 plugins) or JSR 330 annotations (for v3 plugins) to inject dependencies instead.</description>
413413
<association>
414414
<type>Requirement</type>
415415
<multiplicity>*</multiplicity>
@@ -535,20 +535,17 @@ under the License.
535535
<field>
536536
<name>role</name>
537537
<required>true</required>
538-
<version>1.0.0+</version>
539538
<type>String</type>
540539
<description></description>
541540
</field>
542541
<field xml.tagName="role-hint">
543542
<name>roleHint</name>
544-
<version>1.0.0+</version>
545543
<type>String</type>
546544
<description></description>
547545
</field>
548546
<field xml.tagName="field-name">
549547
<name>fieldName</name>
550548
<required>true</required>
551-
<version>1.0.0+</version>
552549
<type>String</type>
553550
<description>The field name which has this requirement.</description>
554551
</field>

0 commit comments

Comments
 (0)