Skip to content

Commit

Permalink
[MPLUGIN-530] Deprecate requirements in plugin descriptor 1.1.0 (#1638)
Browse files Browse the repository at this point in the history
The replacement for v4 plugins should be Maven DI annotations while for
v3 plugins it is JSR 330 annotations
  • Loading branch information
kwin authored Aug 15, 2024
1 parent 09f3b9f commit 1ee18d3
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions api/maven-api-plugin/src/main/mdo/plugin.mdo
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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>
Expand Down

0 comments on commit 1ee18d3

Please sign in to comment.